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