chore: added Norwegian translation, added missing references.

This commit is contained in:
Birger
2026-02-18 12:23:08 +01:00
parent 608dc0b6bf
commit c1bc471dac
2 changed files with 3 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ const allLocales = [
["id", "id-ID"],
["tr", "tr-TR"],
["hu", "hu-HU"],
["no", "no-NO"],
];
const ignoreUnused = [/^.*$/];

View File

@@ -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 => {