summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-05-11 00:02:40 +0300
committerLauri Ojansivu <x@xet7.org>2019-05-11 00:02:40 +0300
commitdb40ca25ac5df17fcc8b7c93f12b7e2bffc349d2 (patch)
treea5059f859eeb6d6678b3e5d8080ded138f5fc7c2 /client
parent3eef42eee0818d241d5ae004d59af3a46a2b8318 (diff)
downloadwekan-db40ca25ac5df17fcc8b7c93f12b7e2bffc349d2.tar.gz
wekan-db40ca25ac5df17fcc8b7c93f12b7e2bffc349d2.tar.bz2
wekan-db40ca25ac5df17fcc8b7c93f12b7e2bffc349d2.zip
- Fix translation name in Wekan menu: oc to Occitan.
Thanks to xet7 !
Diffstat (limited to 'client')
-rw-r--r--client/components/main/layouts.js2
-rw-r--r--client/components/users/userHeader.js2
2 files changed, 4 insertions, 0 deletions
diff --git a/client/components/main/layouts.js b/client/components/main/layouts.js
index d5113a25..fe51a7d6 100644
--- a/client/components/main/layouts.js
+++ b/client/components/main/layouts.js
@@ -68,6 +68,8 @@ Template.userFormsLayout.helpers({
name = 'Brezhoneg';
} else if (lang.name === 'ig') {
name = 'Igbo';
+ } else if (lang.name === 'oc') {
+ name = 'Occitan';
}
return { tag, name };
}).sort(function(a, b) {
diff --git a/client/components/users/userHeader.js b/client/components/users/userHeader.js
index 869c9d15..d5353152 100644
--- a/client/components/users/userHeader.js
+++ b/client/components/users/userHeader.js
@@ -119,6 +119,8 @@ Template.changeLanguagePopup.helpers({
name = 'Brezhoneg';
} else if (lang.name === 'ig') {
name = 'Igbo';
+ } else if (lang.name === 'oc') {
+ name = 'Occitan';
}
return { tag, name };
}).sort(function (a, b) {