Permalink
Browse files

Merge pull request #378 from fusionbox/master

Pluralize 'items' in formatSelectionTooBig
  • Loading branch information...
2 parents 222fa7e + 1b2765f commit 3254f74f64d0781de3d3e12fa9ee6b86fadfb8bd @ivaynberg ivaynberg committed Sep 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 select2.js
View
@@ -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 3254f74

Please sign in to comment.