mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-02-27 04:45:22 +00:00
chore: added Norwegian translation, added missing references.
This commit is contained in:
@@ -26,6 +26,7 @@ const allLocales = [
|
|||||||
["id", "id-ID"],
|
["id", "id-ID"],
|
||||||
["tr", "tr-TR"],
|
["tr", "tr-TR"],
|
||||||
["hu", "hu-HU"],
|
["hu", "hu-HU"],
|
||||||
|
["no", "no-NO"],
|
||||||
];
|
];
|
||||||
|
|
||||||
const ignoreUnused = [/^.*$/];
|
const ignoreUnused = [/^.*$/];
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ import langVi from "./lang/vi.json";
|
|||||||
import langZh from "./lang/zh.json";
|
import langZh from "./lang/zh.json";
|
||||||
import langTr from "./lang/tr.json";
|
import langTr from "./lang/tr.json";
|
||||||
import langHu from "./lang/hu.json";
|
import langHu from "./lang/hu.json";
|
||||||
|
import langNO from "./lang/no.json";
|
||||||
import langList from "./lang/lang-list.json";
|
import langList from "./lang/lang-list.json";
|
||||||
|
|
||||||
// first item of each array should be the language code,
|
// first item of each array should be the language code,
|
||||||
@@ -45,6 +46,7 @@ const localeOptions = [
|
|||||||
["id", "id-ID", langId],
|
["id", "id-ID", langId],
|
||||||
["tr", "tr-TR", langTr],
|
["tr", "tr-TR", langTr],
|
||||||
["hu", "hu-HU", langHu],
|
["hu", "hu-HU", langHu],
|
||||||
|
["no", "no-NO", langNO],
|
||||||
];
|
];
|
||||||
|
|
||||||
const loadMessages = (locale?: string): typeof langList & typeof langEn => {
|
const loadMessages = (locale?: string): typeof langList & typeof langEn => {
|
||||||
|
|||||||
Reference in New Issue
Block a user