diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-05-11 00:02:40 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-05-11 00:02:40 +0300 |
commit | db40ca25ac5df17fcc8b7c93f12b7e2bffc349d2 (patch) | |
tree | a5059f859eeb6d6678b3e5d8080ded138f5fc7c2 /client | |
parent | 3eef42eee0818d241d5ae004d59af3a46a2b8318 (diff) | |
download | wekan-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.js | 2 | ||||
-rw-r--r-- | client/components/users/userHeader.js | 2 |
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) { |