2 * Bootstrap-select v1.10.0 (http://silviomoreto.github.io/bootstrap-select)
4 * Copyright 2013-2016 bootstrap-select
5 * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
8 (function (root, factory) {
9 if (typeof define === 'function' && define.amd) {
10 // AMD. Register as an anonymous module unless amdModuleId is set
11 define(["jquery"], function (a0) {
14 } else if (typeof exports === 'object') {
15 // Node. Does not work with strict CommonJS, but
16 // only CommonJS-like environments that support module.exports,
18 module.exports = factory(require("jquery"));
22 }(this, function (jQuery) {
25 $.fn.selectpicker.defaults = {
26 noneSelectedText: 'Ei valintoja',
27 noneResultsText: 'Ei hakutuloksia {0}',
28 countSelectedText: function (numSelected, numTotal) {
29 return (numSelected == 1) ? "{0} valittu" : "{0} valitut";
31 maxOptionsText: function (numAll, numGroup) {
33 (numAll == 1) ? 'Valintojen maksimimäärä ({n} saavutettu)' : 'Valintojen maksimimäärä ({n} saavutettu)',
34 (numGroup == 1) ? 'Ryhmän maksimimäärä ({n} saavutettu)' : 'Ryhmän maksimimäärä ({n} saavutettu)'
37 selectAllText: 'Valitse kaikki',
38 deselectAllText: 'Poista kaikki',
39 multipleSeparator: ', '