From c1bc471dacd9cc1d79f090ecd61c1009b63ba92c Mon Sep 17 00:00:00 2001 From: Birger Date: Wed, 18 Feb 2026 12:23:08 +0100 Subject: [PATCH] chore: added Norwegian translation, added missing references. --- frontend/check-locales.cjs | 1 + frontend/src/locale/IntlProvider.tsx | 2 ++ 2 files changed, 3 insertions(+) diff --git a/frontend/check-locales.cjs b/frontend/check-locales.cjs index 135dab10..69fd59dd 100755 --- a/frontend/check-locales.cjs +++ b/frontend/check-locales.cjs @@ -26,6 +26,7 @@ const allLocales = [ ["id", "id-ID"], ["tr", "tr-TR"], ["hu", "hu-HU"], + ["no", "no-NO"], ]; const ignoreUnused = [/^.*$/]; diff --git a/frontend/src/locale/IntlProvider.tsx b/frontend/src/locale/IntlProvider.tsx index 8e65546a..424b2965 100755 --- a/frontend/src/locale/IntlProvider.tsx +++ b/frontend/src/locale/IntlProvider.tsx @@ -19,6 +19,7 @@ import langVi from "./lang/vi.json"; import langZh from "./lang/zh.json"; import langTr from "./lang/tr.json"; import langHu from "./lang/hu.json"; +import langNO from "./lang/no.json"; import langList from "./lang/lang-list.json"; // first item of each array should be the language code, @@ -45,6 +46,7 @@ const localeOptions = [ ["id", "id-ID", langId], ["tr", "tr-TR", langTr], ["hu", "hu-HU", langHu], + ["no", "no-NO", langNO], ]; const loadMessages = (locale?: string): typeof langList & typeof langEn => {