From 834601e70b228df9c5e9409d9ebee19605f121dd Mon Sep 17 00:00:00 2001 From: dshoulders Date: Fri, 10 May 2013 16:27:37 +0200 Subject: [PATCH] Create select2_locale_is.js Icelandic translation --- select2_locale_is.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 select2_locale_is.js diff --git a/select2_locale_is.js b/select2_locale_is.js new file mode 100644 index 00000000..b10073b5 --- /dev/null +++ b/select2_locale_is.js @@ -0,0 +1,16 @@ +/** + * Select2 Icelandic translation. + * + */ +(function ($) { + "use strict"; + + $.extend($.fn.select2.defaults, { + formatNoMatches: function () { return "Ekkert fannst"; }, + formatInputTooShort: function (input, min) { var n = min - input.length; return "Vinsamlegast skrifið " + n + " staf" + (n == 1 ? "" : "i") + " í viðbót"; }, + formatInputTooLong: function (input, max) { var n = input.length - max; return "Vinsamlegast styttið texta um " + n + " staf" + (n == 1 ? "" : "i"); }, + formatSelectionTooBig: function (limit) { return "Þú getur aðeins valið " + limit + " atriði"; }, + formatLoadMore: function (pageNumber) { return "Sæki fleiri niðurstöður..."; }, + formatSearching: function () { return "Leita..."; } + }); +})(jQuery);