Merge branch 'GhassenRjab-add-breton-label' into devel

Add Breton language name. Thanks to GhassenRjab ! Closes #1002
This commit is contained in:
Lauri Ojansivu 2017-06-19 10:06:20 +03:00
commit b61034048f
3 changed files with 4 additions and 3 deletions

View file

@ -6,7 +6,8 @@ This release adds the following new features:
[missing undo button](https://github.com/wekan/wekan/issues/1023);
* [When deleting list, delete list's cards too](https://github.com/wekan/wekan/pull/1054);
* [Re-enable Export Wekan Board](https://github.com/wekan/wekan/pull/1059);
* [Sort languages by their translated names](https://github.com/wekan/wekan/pull/1070).
* [Sort languages by their translated names](https://github.com/wekan/wekan/pull/1070);
* [Add Breton language name](https://github.com/wekan/wekan/pull/1071).
and fixes the following bugs:

View file

@ -23,7 +23,7 @@ Template.userFormsLayout.helpers({
return _.map(TAPi18n.getLanguages(), (lang, code) => {
return {
tag: code,
name: lang.name,
name: lang.name === 'br' ? 'Brezhoneg' : lang.name,
};
}).sort(function(a, b) {
if (a.name === b.name) {

View file

@ -75,7 +75,7 @@ Template.changeLanguagePopup.helpers({
return _.map(TAPi18n.getLanguages(), (lang, code) => {
return {
tag: code,
name: lang.name,
name: lang.name === 'br' ? 'Brezhoneg' : lang.name,
};
}).sort(function(a, b) {
if (a.name === b.name) {