Skip to content

Commit 834601e

Browse files
committed
Create select2_locale_is.js
Icelandic translation
1 parent 4e1873f commit 834601e

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

select2_locale_is.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* Select2 Icelandic translation.
3+
*
4+
*/
5+
(function ($) {
6+
"use strict";
7+
8+
$.extend($.fn.select2.defaults, {
9+
formatNoMatches: function () { return "Ekkert fannst"; },
10+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Vinsamlegast skrifið " + n + " staf" + (n == 1 ? "" : "i") + " í viðbót"; },
11+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Vinsamlegast styttið texta um " + n + " staf" + (n == 1 ? "" : "i"); },
12+
formatSelectionTooBig: function (limit) { return "Þú getur aðeins valið " + limit + " atriði"; },
13+
formatLoadMore: function (pageNumber) { return "Sæki fleiri niðurstöður..."; },
14+
formatSearching: function () { return "Leita..."; }
15+
});
16+
})(jQuery);

0 commit comments

Comments
 (0)