From 1f86fa897e9957bce3ffd6a50b6ac672113a0fab Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Fri, 8 Jan 2016 22:47:13 +0100 Subject: [PATCH] add vi (vietnamese) translation, #222 --- isso/js/app/i18n.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/isso/js/app/i18n.js b/isso/js/app/i18n.js index 6d6e2af..2c1c756 100644 --- a/isso/js/app/i18n.js +++ b/isso/js/app/i18n.js @@ -1,8 +1,8 @@ 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/eo", "app/i18n/sv", "app/i18n/nl", "app/i18n/el_GR", - "app/i18n/es", "app/i18n/zh_CN"], - function(config, cs, de, en, fr, hr, ru, it, eo, sv, nl, el, es, zh) { + "app/i18n/es", "app/i18n/vi", "app/i18n/zh_CN"], + function(config, cs, de, en, fr, hr, ru, it, eo, sv, nl, el, es, vi, zh) { "use strict"; @@ -18,6 +18,7 @@ define(["app/config", "app/i18n/cs", "app/i18n/de", "app/i18n/en", case "it": case "sv": case "nl": + case "vi": case "zh": return function(msgs, n) { return msgs[n === 1 ? 0 : 1]; @@ -55,14 +56,15 @@ define(["app/config", "app/i18n/cs", "app/i18n/de", "app/i18n/en", el: el, en: en, eo: eo, + es: es, fr: fr, it: it, hr: hr, ru: ru, sv: sv, nl: nl, - zh: zh, - es: es + vi: vi, + zh: zh }; var plural = pluralforms(lang);