diff options
Diffstat (limited to 'apps/files_external/3rdparty/select2/select2_locale_en.js.template')
-rw-r--r-- | apps/files_external/3rdparty/select2/select2_locale_en.js.template | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/files_external/3rdparty/select2/select2_locale_en.js.template b/apps/files_external/3rdparty/select2/select2_locale_en.js.template new file mode 100644 index 00000000000..f66bcc844db --- /dev/null +++ b/apps/files_external/3rdparty/select2/select2_locale_en.js.template @@ -0,0 +1,18 @@ +/** + * Select2 <Language> translation. + * + * Author: Your Name <your@email> + */ +(function ($) { + "use strict"; + + $.extend($.fn.select2.defaults, { + formatMatches: function (matches) { return matches + " results are available, use up and down arrow keys to navigate."; }, + 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 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…"; } + }); +})(jQuery); |