- Added translation: español de América Latina

- Some lint fixes

Thanks to translators!
This commit is contained in:
Lauri Ojansivu 2021-03-25 12:18:33 +02:00
parent 2ebc34e901
commit ccc9efb270
67 changed files with 60056 additions and 58996 deletions

View file

@ -54,9 +54,9 @@ Template.boardChangeTitlePopup.events({
});
BlazeComponent.extendComponent({
onCreated(){
onCreated() {
// set sort to default
Session.set('sortBy','')
Session.set('sortBy', '');
},
watchLevel() {
const currentBoard = Boards.findOne(Session.get('currentBoard'));
@ -134,7 +134,7 @@ BlazeComponent.extendComponent({
Filter.reset();
},
'click .js-sort-reset'() {
Session.set('sortBy','')
Session.set('sortBy', '');
},
'click .js-open-search-view'() {
Sidebar.setView('search');
@ -169,9 +169,9 @@ Template.boardHeaderBar.helpers({
boardView() {
return Utils.boardView();
},
isSortActive(){
isSortActive() {
return Session.get('sortBy') ? true : false;
}
},
});
Template.boardChangeViewPopup.events({
@ -416,7 +416,7 @@ BlazeComponent.extendComponent({
Session.set('sortBy', sortBy);
sortCardsBy.set(TAPi18n.__('date-created-oldest-first'));
Popup.close();
}
},
},
];
},

View file

@ -77,8 +77,6 @@ Template.userFormsLayout.helpers({
} else if (lang.name === 'ar-EG') {
// ar-EG = Arabic (Egypt), simply Masri (مَصرى, [ˈmɑsˤɾi], Egyptian, Masr refers to Cairo)
name = 'مَصرى';
} else if (lang.name === 'es-PY') {
name = 'Español de Paraguayo';
} else if (lang.name === 'fa-IR') {
// fa-IR = Persian (Iran)
name = 'فارسی/پارسی (ایران‎)';
@ -94,6 +92,14 @@ Template.userFormsLayout.helpers({
name = 'Latviešu';
} else if (lang.name === 'Español') {
name = 'español';
} else if (lang.name === 'es_419') {
name = 'español de América Latina';
} else if (lang.name === 'es-419') {
name = 'español de América Latina';
} else if (lang.name === 'Español de América Latina') {
name = 'español de América Latina';
} else if (lang.name === 'es-LA') {
name = 'español de América Latina';
} else if (lang.name === 'Español de Argentina') {
name = 'español de Argentina';
} else if (lang.name === 'Español de Chile') {
@ -103,7 +109,7 @@ Template.userFormsLayout.helpers({
} else if (lang.name === 'Español de México') {
name = 'español de México';
} else if (lang.name === 'es-PY') {
name = 'español de Paraguayo';
name = 'Español de Paraguayo';
} else if (lang.name === 'Español de Perú') {
name = 'español de Perú';
} else if (lang.name === 'Español de Puerto Rico') {

View file

@ -171,8 +171,6 @@ Template.changeLanguagePopup.helpers({
} else if (lang.name === 'ar-EG') {
// ar-EG = Arabic (Egypt), simply Masri (مَصرى, [ˈmɑsˤɾi], Egyptian, Masr refers to Cairo)
name = 'مَصرى';
} else if (lang.name === 'es-PY') {
name = 'Español de Paraguayo';
} else if (lang.name === 'fa-IR') {
// fa-IR = Persian (Iran)
name = 'فارسی/پارسی (ایران‎)';
@ -188,6 +186,14 @@ Template.changeLanguagePopup.helpers({
name = 'Latviešu';
} else if (lang.name === 'Español') {
name = 'español';
} else if (lang.name === 'es_419') {
name = 'español de América Latina';
} else if (lang.name === 'es-419') {
name = 'español de América Latina';
} else if (lang.name === 'Español de América Latina') {
name = 'español de América Latina';
} else if (lang.name === 'es-LA') {
name = 'español de América Latina';
} else if (lang.name === 'Español de Argentina') {
name = 'español de Argentina';
} else if (lang.name === 'Español de Chile') {