Skip to content

Commit

Permalink
Clarify which Chinese translation we have
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
CendioOssman committed Apr 3, 2018
1 parent 7d60e97 commit 3328675
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion app/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion po/Makefile
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
File renamed without changes.

0 comments on commit 3328675

Please sign in to comment.