Skip to content

Commit

Permalink
Merge pull request #1557 from damiarita/patch-1
Browse files Browse the repository at this point in the history
select text addition and logic to countselected (#1529)
  • Loading branch information
caseyjhol committed Nov 16, 2016
2 parents a6561b1 + 903fedb commit 164ea2a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions js/i18n/defaults-it_IT.js
Expand Up @@ -8,8 +8,12 @@
$.fn.selectpicker.defaults = {
noneSelectedText: 'Nessuna selezione',
noneResultsText: 'Nessun risultato per {0}',
countSelectedText: 'Selezionati {0} di {1}',
countSelectedText: function (numSelected, numTotal){
return (numSelected == 1) ? 'Selezionato {0} di {1}' : 'Selezionati {0} di {1}';
},
maxOptionsText: ['Limite raggiunto ({n} {var} max)', 'Limite del gruppo raggiunto ({n} {var} max)', ['elementi', 'elemento']],
multipleSeparator: ', '
multipleSeparator: ', ',
selectAllText: 'Seleziona Tutto',
deselectAllText: 'Deseleziona Tutto',
};
})(jQuery);

0 comments on commit 164ea2a

Please sign in to comment.