add vi (vietnamese) translation, #222

This commit is contained in:
Martin Zimmermann 2016-01-08 22:47:13 +01:00
parent dd9ebdc46b
commit 1f86fa897e

View File

@ -1,8 +1,8 @@
define(["app/config", "app/i18n/cs", "app/i18n/de", "app/i18n/en", define(["app/config", "app/i18n/cs", "app/i18n/de", "app/i18n/en",
"app/i18n/fr", "app/i18n/hr", "app/i18n/ru", "app/i18n/it", "app/i18n/fr", "app/i18n/hr", "app/i18n/ru", "app/i18n/it",
"app/i18n/eo", "app/i18n/sv", "app/i18n/nl", "app/i18n/el_GR", "app/i18n/eo", "app/i18n/sv", "app/i18n/nl", "app/i18n/el_GR",
"app/i18n/es", "app/i18n/zh_CN"], "app/i18n/es", "app/i18n/vi", "app/i18n/zh_CN"],
function(config, cs, de, en, fr, hr, ru, it, eo, sv, nl, el, es, zh) { function(config, cs, de, en, fr, hr, ru, it, eo, sv, nl, el, es, vi, zh) {
"use strict"; "use strict";
@ -18,6 +18,7 @@ define(["app/config", "app/i18n/cs", "app/i18n/de", "app/i18n/en",
case "it": case "it":
case "sv": case "sv":
case "nl": case "nl":
case "vi":
case "zh": case "zh":
return function(msgs, n) { return function(msgs, n) {
return msgs[n === 1 ? 0 : 1]; return msgs[n === 1 ? 0 : 1];
@ -55,14 +56,15 @@ define(["app/config", "app/i18n/cs", "app/i18n/de", "app/i18n/en",
el: el, el: el,
en: en, en: en,
eo: eo, eo: eo,
es: es,
fr: fr, fr: fr,
it: it, it: it,
hr: hr, hr: hr,
ru: ru, ru: ru,
sv: sv, sv: sv,
nl: nl, nl: nl,
zh: zh, vi: vi,
es: es zh: zh
}; };
var plural = pluralforms(lang); var plural = pluralforms(lang);