diff options
author | Pierre Ossman <ossman@cendio.se> | 2018-04-03 14:51:12 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2018-04-03 14:51:12 +0200 |
commit | 3328675b448fa06c1e729be49e210cce79e0c8a2 (patch) | |
tree | 5aa7287e90f7280073054a6d13f0d126932e141e | |
parent | 7d60e97cc98ed9462f1ae4da5b6c3f3a85cf981b (diff) | |
download | novnc-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.js | 2 | ||||
-rw-r--r-- | po/Makefile | 2 | ||||
-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 @@ -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) |