NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
proper belarusian locale support (#24112)
Uladzislaua745070b7627
diff --git a/web/public/locales/en/common.json b/web/public/locales/en/common.jsonindex 272e0f2795..850272e1f1 100644--- a/web/public/locales/en/common.json+++ b/web/public/locales/en/common.json@@ -197,6 +197,7 @@"fa": "فارسی (Persian)","pl": "Polski (Polish)","uk": "Українська (Ukrainian)",+ "be": "Беларуская (Belarusian)","he": "עברית (Hebrew)","el": "Ελληνικά (Greek)","ro": "Română (Romanian)",diff --git a/web/src/hooks/use-date-locale.ts b/web/src/hooks/use-date-locale.tsindex 9cd018c423..5d8f2b7625 100644--- a/web/src/hooks/use-date-locale.ts+++ b/web/src/hooks/use-date-locale.ts@@ -25,6 +25,7 @@ const localeMap: Record<string, () => Promise<Locale>> = {fa: () => import("date-fns/locale/fa-IR").then((module) => module.faIR),pl: () => import("date-fns/locale/pl").then((module) => module.pl),uk: () => import("date-fns/locale/uk").then((module) => module.uk),+ be: () => import("date-fns/locale/be").then((module) => module.be),he: () => import("date-fns/locale/he").then((module) => module.he),el: () => import("date-fns/locale/el").then((module) => module.el),ro: () => import("date-fns/locale/ro").then((module) => module.ro),diff --git a/web/src/lib/const.ts b/web/src/lib/const.tsindex ff1d57a08f..08ae6fd25e 100644--- a/web/src/lib/const.ts+++ b/web/src/lib/const.ts@@ -45,6 +45,7 @@ export const supportedLanguageKeys = ["sl","lt","uk",+ "be","cs","hu",];