mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-11 08:00:26 +00:00
25 lines
1006 B
JavaScript
25 lines
1006 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: 'Aucune sélection',
|
||
|
noneResultsText: 'Aucun résultat',
|
||
|
countSelectedText: function (numSelected, numTotal) {
|
||
|
return (numSelected > 1) ? "{0} éléments sélectionés" : "{0} élément sélectioné";
|
||
|
},
|
||
|
maxOptionsText: function (numAll, numGroup) {
|
||
|
var arr = [];
|
||
|
|
||
|
arr[0] = (numAll > 1) ? 'Limite atteinte ({n} éléments max)' : 'Limite atteinte ({n} élément max)';
|
||
|
arr[1] = (numGroup > 1) ? 'Limite du groupe atteinte ({n} éléments max)' : 'Limite du groupe atteinte ({n} élément max)';
|
||
|
|
||
|
return arr;
|
||
|
},
|
||
|
multipleSeparator: ', '
|
||
|
};
|
||
|
}(jQuery));
|