aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/select2/select2_locale_is.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/select2/select2_locale_is.js')
-rw-r--r--core/js/select2/select2_locale_is.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/js/select2/select2_locale_is.js b/core/js/select2/select2_locale_is.js
new file mode 100644
index 00000000000..aecc6cd7194
--- /dev/null
+++ b/core/js/select2/select2_locale_is.js
@@ -0,0 +1,15 @@
+/**
+ * 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);