diff --git a/app/locale/zh.json b/app/locale/zh_TW.json similarity index 100% rename from app/locale/zh.json rename to app/locale/zh_TW.json diff --git a/app/ui.js b/app/ui.js index 4e301d4e..5fe9c729 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 9af7bf15..1c713c32 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 similarity index 100% rename from po/zh.po rename to po/zh_TW.po