Skip to content

Commit b0ffea8

Browse files
committed
Sync translation template with source
This change syncs the translation template with the actual string used for `$.fn.select2.defaults.formatInputTooLong`. The source was changed by 5193dc4.
1 parent 70f1b29 commit b0ffea8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2_locale_en.js.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
$.extend($.fn.select2.defaults, {
1010
formatNoMatches: function () { return "No matches found"; },
1111
formatInputTooShort: function (input, min) { var n = min - input.length; return "Please enter " + n + " more character" + (n == 1 ? "" : "s"); },
12-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Please enter " + n + " less character" + (n == 1? "" : "s"); },
12+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Please delete " + n + " character" + (n == 1 ? "" : "s"); },
1313
formatSelectionTooBig: function (limit) { return "You can only select " + limit + " item" + (limit == 1 ? "" : "s"); },
1414
formatLoadMore: function (pageNumber) { return "Loading more results..."; },
1515
formatSearching: function () { return "Searching..."; }

0 commit comments

Comments
 (0)