Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | /*! |
| 2 | * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/) |
||
| 3 | * |
||
| 4 | * Copyright 2013-2014 bootstrap-select |
||
| 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) |
||
| 6 | */ |
||
| 7 | (function ($) { |
||
| 8 | $.fn.selectpicker.defaults = { |
||
| 9 | noneSelectedText: 'Aucune sélection', |
||
| 10 | noneResultsText: 'Aucun résultat', |
||
| 11 | countSelectedText: function (numSelected, numTotal) { |
||
| 12 | return (numSelected > 1) ? "{0} éléments sélectionés" : "{0} élément sélectioné"; |
||
| 13 | }, |
||
| 14 | maxOptionsText: function (numAll, numGroup) { |
||
| 15 | var arr = []; |
||
| 16 | |||
| 17 | arr[0] = (numAll > 1) ? 'Limite atteinte ({n} éléments max)' : 'Limite atteinte ({n} élément max)'; |
||
| 18 | arr[1] = (numGroup > 1) ? 'Limite du groupe atteinte ({n} éléments max)' : 'Limite du groupe atteinte ({n} élément max)'; |
||
| 19 | |||
| 20 | return arr; |
||
| 21 | }, |
||
| 22 | multipleSeparator: ', ' |
||
| 23 | }; |
||
| 24 | }(jQuery)); |