1
0
mirror of synced 2025-02-04 06:09:23 +03:00

Merge pull request #378 from fusionbox/master

Pluralize 'items' in formatSelectionTooBig
This commit is contained in:
Igor Vaynberg 2012-09-04 17:22:29 -07:00
commit 3254f74f64

View File

@ -2348,7 +2348,7 @@
formatResultCssClass: function(data) {return undefined;}, formatResultCssClass: function(data) {return undefined;},
formatNoMatches: function () { return "No matches found"; }, formatNoMatches: function () { return "No matches found"; },
formatInputTooShort: function (input, min) { return "Please enter " + (min - input.length) + " more characters"; }, 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..."; }, formatLoadMore: function (pageNumber) { return "Loading more results..."; },
formatSearching: function () { return "Searching..."; }, formatSearching: function () { return "Searching..."; },
minimumResultsForSearch: 0, minimumResultsForSearch: 0,