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
+1 -1
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) {