1
0
mirror of synced 2024-11-26 23:06:02 +03:00

trivial change: pluralize formatInputTooShort function

This commit is contained in:
tom 2012-10-24 23:48:00 -04:00
parent 4a363c4b30
commit ca98ce5564

View File

@ -2379,7 +2379,7 @@ the specific language governing permissions and limitations under the Apache Lic
}, },
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) { var n = min - input.length; return "Please enter " + n + " more character" + (n == 1? "" : "s"); },
formatSelectionTooBig: function (limit) { return "You can only select " + limit + " item" + (limit == 1 ? "" : "s"); }, 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..."; },