Permalink
Browse files

Pluralize 'items' in formatSelectionTooBig

  • Loading branch information...
1 parent 222fa7e commit 1b2765fcede633bdf3f6007a95f94be7aabf4c60 @gavinwahl gavinwahl committed Sep 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 select2.js
View
2 select2.js
@@ -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,

0 comments on commit 1b2765f

Please sign in to comment.