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.
This commit is contained in:
Pierre Ossman 2018-04-03 14:51:12 +02:00
parent 7d60e97cc9
commit 3328675b44
4 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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)