From 5193dc40b95c0b11f09aad64f08634ae0c3efea6 Mon Sep 17 00:00:00 2001 From: Jens Rantil Date: Wed, 13 Mar 2013 17:38:34 +0100 Subject: [PATCH] Fixing grammar I find it hard to "type" less characters. It's sort of unintuitive. --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index fd3b8093..d8d78f23 100644 --- a/select2.js +++ b/select2.js @@ -2695,7 +2695,7 @@ the specific language governing permissions and limitations under the Apache Lic formatResultCssClass: function(data) {return undefined;}, formatNoMatches: function () { return "No matches found"; }, formatInputTooShort: function (input, min) { var n = min - input.length; return "Please enter " + n + " more character" + (n == 1? "" : "s"); }, - formatInputTooLong: function (input, max) { var n = input.length - max; return "Please enter " + n + " less character" + (n == 1? "" : "s"); }, + formatInputTooLong: function (input, max) { var n = input.length - max; return "Please delete " + n + " character" + (n == 1? "" : "s"); }, formatSelectionTooBig: function (limit) { return "You can only select " + limit + " item" + (limit == 1 ? "" : "s"); }, formatLoadMore: function (pageNumber) { return "Loading more results..."; }, formatSearching: function () { return "Searching..."; },