Skip to content

Commit

Permalink
Merge pull request #378 from fusionbox/master
Browse files Browse the repository at this point in the history
Pluralize 'items' in formatSelectionTooBig
  • Loading branch information
ivaynberg committed Sep 5, 2012
2 parents 222fa7e + 1b2765f commit 3254f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion select2.js
Expand Up @@ -2348,7 +2348,7 @@
formatResultCssClass: function(data) {return undefined;},
formatNoMatches: function () { return "No matches found"; },
formatInputTooShort: function (input, min) { return "Please enter " + (min - input.length) + " more characters"; },
formatSelectionTooBig: function (limit) { return "You can only select " + limit + " items"; },
formatSelectionTooBig: function (limit) { return "You can only select " + limit + " item" + (limit == 1 ? "" : "s"); },
formatLoadMore: function (pageNumber) { return "Loading more results..."; },
formatSearching: function () { return "Searching..."; },
minimumResultsForSearch: 0,
Expand Down

0 comments on commit 3254f74

Please sign in to comment.