2021-06-18 10:37:33 +02:00

24 lines
693 B
JavaScript

/*
* Translated default messages for bootstrap-select.
* Locale: SV (Swedish)
* Region: SE (Sweden)
*/
(function ($) {
$.fn.selectpicker.defaults = {
noneSelectedText: 'Inget valt',
noneResultsText: 'Inget sökresultat matchar {0}',
countSelectedText: function (numSelected, numTotal) {
return (numSelected === 1) ? '{0} alternativ valt' : '{0} alternativ valda';
},
maxOptionsText: function (numAll, numGroup) {
return [
'Gräns uppnåd (max {n} alternativ)',
'Gräns uppnåd (max {n} gruppalternativ)'
];
},
selectAllText: 'Markera alla',
deselectAllText: 'Avmarkera alla',
multipleSeparator: ', '
};
})(jQuery);