24 lines
782 B
JavaScript
24 lines
782 B
JavaScript
|
/*
|
||
|
* Translated default messages for bootstrap-select.
|
||
|
* Locale: EN (English)
|
||
|
* Region: US (United States)
|
||
|
*/
|
||
|
(function ($) {
|
||
|
$.fn.selectpicker.defaults = {
|
||
|
noneSelectedText: 'Nothing selected',
|
||
|
noneResultsText: 'No results match {0}',
|
||
|
countSelectedText: function (numSelected, numTotal) {
|
||
|
return (numSelected == 1) ? '{0} item selected' : '{0} items selected';
|
||
|
},
|
||
|
maxOptionsText: function (numAll, numGroup) {
|
||
|
return [
|
||
|
(numAll == 1) ? 'Limit reached ({n} item max)' : 'Limit reached ({n} items max)',
|
||
|
(numGroup == 1) ? 'Group limit reached ({n} item max)' : 'Group limit reached ({n} items max)'
|
||
|
];
|
||
|
},
|
||
|
selectAllText: 'Select All',
|
||
|
deselectAllText: 'Deselect All',
|
||
|
multipleSeparator: ', '
|
||
|
};
|
||
|
})(jQuery);
|