mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-09 21:49:43 -05:00
noVNC language is now sync'ed with MeshCentral.
This commit is contained in:
@@ -1658,7 +1658,8 @@ const UI = {
|
||||
|
||||
// Set up translations
|
||||
const LINGUAS = ["cs", "de", "el", "es", "ko", "nl", "pl", "ru", "sv", "tr", "zh_CN", "zh_TW"];
|
||||
l10n.setup(LINGUAS);
|
||||
if (urlargs.l == "zh-chs") { urlargs.l = "zh_CN"; }
|
||||
l10n.setup(LINGUAS, urlargs.l);
|
||||
if (l10n.language === "en" || l10n.dictionary !== undefined) {
|
||||
UI.prime();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user