summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-01-28 21:01:22 +0200
committerLauri Ojansivu <x@xet7.org>2018-01-28 21:01:22 +0200
commit9d7ff75d3fed1285273245fbe6f6a757b6180039 (patch)
tree26e14c8f517286219ea7d1796b6f01de1f8bf07d
parent1ef5b8efe1bb76587359d3a0e3bf59c0a8ae6efd (diff)
downloadwekan-9d7ff75d3fed1285273245fbe6f6a757b6180039.tar.gz
wekan-9d7ff75d3fed1285273245fbe6f6a757b6180039.tar.bz2
wekan-9d7ff75d3fed1285273245fbe6f6a757b6180039.zip
Fix Igbo language at menu.
-rw-r--r--.tx/config2
-rw-r--r--client/components/main/layouts.js2
-rw-r--r--client/components/users/userHeader.js2
-rw-r--r--i18n/ig.i18n.json (renamed from i18n/ibo.i18n.json)0
4 files changed, 3 insertions, 3 deletions
diff --git a/.tx/config b/.tx/config
index 61beba64..bcbf0e91 100644
--- a/.tx/config
+++ b/.tx/config
@@ -39,7 +39,7 @@ host = https://www.transifex.com
# tap:i18n requires us to use `-` separator in the language identifiers whereas
# Transifex uses a `_` separator, without an option to customize it on one side
# or the other, so we need to do a Manual mapping.
-lang_map = en_GB:en-GB, es_AR:es-AR, el_GR:el, fa_IR:fa, fi_FI:fi, ig:ibo, hu_HU:hu, id_ID:id, mn_MN:mn, no:nb, lv_LV:lv, pt_BR:pt-BR, ro_RO:ro, zh_CN:zh-CN, zh_TW:zh-TW
+lang_map = en_GB:en-GB, es_AR:es-AR, el_GR:el, fa_IR:fa, fi_FI:fi, hu_HU:hu, id_ID:id, mn_MN:mn, no:nb, lv_LV:lv, pt_BR:pt-BR, ro_RO:ro, zh_CN:zh-CN, zh_TW:zh-TW
[wekan.application]
file_filter = i18n/<lang>.i18n.json
diff --git a/client/components/main/layouts.js b/client/components/main/layouts.js
index 04a22624..df22fc14 100644
--- a/client/components/main/layouts.js
+++ b/client/components/main/layouts.js
@@ -19,7 +19,7 @@ Template.userFormsLayout.helpers({
return _.map(TAPi18n.getLanguages(), (lang, code) => {
return {
tag: code,
- name: lang.name === 'br' ? 'Brezhoneg' : lang.name,
+ name: lang.name === 'br' ? 'Brezhoneg' : lang.name === 'ig' ? 'Igbo' : lang.name,
};
}).sort(function(a, b) {
if (a.name === b.name) {
diff --git a/client/components/users/userHeader.js b/client/components/users/userHeader.js
index f8a1c8b7..96c8c95e 100644
--- a/client/components/users/userHeader.js
+++ b/client/components/users/userHeader.js
@@ -116,7 +116,7 @@ Template.changeLanguagePopup.helpers({
return _.map(TAPi18n.getLanguages(), (lang, code) => {
return {
tag: code,
- name: lang.name === 'br' ? 'Brezhoneg' : lang.name,
+ name: lang.name === 'br' ? 'Brezhoneg' : lang.name === 'ig' ? 'Igbo' : lang.name,
};
}).sort(function (a, b) {
if (a.name === b.name) {
diff --git a/i18n/ibo.i18n.json b/i18n/ig.i18n.json
index 2844c99e..2844c99e 100644
--- a/i18n/ibo.i18n.json
+++ b/i18n/ig.i18n.json