mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-14 09:30:27 +00:00
27 lines
916 B
JavaScript
27 lines
916 B
JavaScript
/*!
|
|
* Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
|
|
*
|
|
* Copyright 2013-2014 bootstrap-select
|
|
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
|
|
*/
|
|
(function ($) {
|
|
$.fn.selectpicker.defaults = {
|
|
noneSelectedText: 'Nothing selected',
|
|
noneResultsText: 'No results match',
|
|
countSelectedText: function (numSelected, numTotal) {
|
|
return (numSelected == 1) ? "{0} item selected" : "{0} items selected";
|
|
},
|
|
maxOptionsText: function (numAll, numGroup) {
|
|
var arr = [];
|
|
|
|
arr[0] = (numAll == 1) ? 'Limit reached ({n} item max)' : 'Limit reached ({n} items max)';
|
|
arr[1] = (numGroup == 1) ? 'Group limit reached ({n} item max)' : 'Group limit reached ({n} items max)';
|
|
|
|
return arr;
|
|
},
|
|
selectAllText: 'Select All',
|
|
deselectAllText: 'Deselect All',
|
|
multipleSeparator: ', '
|
|
};
|
|
}(jQuery));
|