Skip to content

Commit

Permalink
Merge pull request #2121 from jurisvaldovskis/master
Browse files Browse the repository at this point in the history
Added Latvian translation
  • Loading branch information
caseyjhol committed Oct 25, 2018
1 parent 7134afe commit 83a8910
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions js/i18n/defaults-lv_LV.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Translated default messages for bootstrap-select.
* Locale: LV (Latvian)
* Region: LV (Latvia)
*/
(function ($) {
$.fn.selectpicker.defaults = {
noneSelectedText: 'Nekas nav atzīmēts',
noneResultsText: 'Nav neviena rezultāta {0}',
countSelectedText: function (numSelected, numTotal) {
return (numSelected == 1) ? "{0} ieraksts atzīmēts" : "{0} ieraksti atzīmēts";
},
maxOptionsText: function (numAll, numGroup) {
return [
(numAll == 1) ? 'Sasniegts limits ({n} ieraksts maksimums)' :'Sasniegts limits ({n} ieraksti maksimums)',
(numGroup == 1) ? 'Sasniegts grupas limits ({n} ieraksts maksimums)' : 'Sasniegts grupas limits ({n} ieraksti maksimums)'
];
},
selectAllText: 'Atzīmēt visu',
deselectAllText: 'Neatzīmēt nevienu',
multipleSeparator: ', '
};
})(jQuery);

0 comments on commit 83a8910

Please sign in to comment.