summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-04-03 14:51:12 +0200
committerPierre Ossman <ossman@cendio.se>2018-04-03 14:51:12 +0200
commit3328675b448fa06c1e729be49e210cce79e0c8a2 (patch)
tree5aa7287e90f7280073054a6d13f0d126932e141e
parent7d60e97cc98ed9462f1ae4da5b6c3f3a85cf981b (diff)
downloadnovnc-3328675b448fa06c1e729be49e210cce79e0c8a2.tar.gz
Clarify which Chinese translation we have
Chinese has several writing systems so we need to be clear which one our translation covers. The one we currently have is for Traditional Chinese so make sure it uses the matching language tag.
-rw-r--r--app/locale/zh_TW.json (renamed from app/locale/zh.json)0
-rw-r--r--app/ui.js2
-rw-r--r--po/Makefile2
-rw-r--r--po/zh_TW.po (renamed from po/zh.po)0
4 files changed, 2 insertions, 2 deletions
diff --git a/app/locale/zh.json b/app/locale/zh_TW.json
index 8ddf813..8ddf813 100644
--- a/app/locale/zh.json
+++ b/app/locale/zh_TW.json
diff --git a/app/ui.js b/app/ui.js
index 4e301d4..5fe9c72 100644
--- a/app/ui.js
+++ b/app/ui.js
@@ -1651,7 +1651,7 @@ var UI = {
};
// Set up translations
-var LINGUAS = ["de", "el", "es", "nl", "pl", "sv", "tr", "zh"];
+var LINGUAS = ["de", "el", "es", "nl", "pl", "sv", "tr", "zh_TW"];
l10n.setup(LINGUAS);
if (l10n.language !== "en" && l10n.dictionary === undefined) {
WebUtil.fetchJSON('app/locale/' + l10n.language + '.json', function (translations) {
diff --git a/po/Makefile b/po/Makefile
index 9af7bf1..1c713c3 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -1,7 +1,7 @@
all:
.PHONY: update-po update-js update-pot
-LINGUAS := de el es nl pl sv tr zh
+LINGUAS := de el es nl pl sv tr zh_TW
VERSION := $(shell grep '"version"' ../package.json | cut -d '"' -f 4)
diff --git a/po/zh.po b/po/zh_TW.po
index e01d59d..e01d59d 100644
--- a/po/zh.po
+++ b/po/zh_TW.po