Skip to content

Commit 49c05d3

Browse files
committed
norvegian locale
1 parent 11c08ca commit 49c05d3

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

select2_locale_no.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* Select2 Norwegian translation.
3+
*
4+
* Author: Torgeir Veimo <torgeir.veimo@gmail.com>
5+
*/
6+
(function ($) {
7+
"use strict";
8+
9+
$.extend($.fn.select2.defaults, {
10+
formatNoMatches: function () { return "Ingen treff"; },
11+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Vennligst skriv inn " + n + (n>1 ? " flere tegn" : " tegn til"); },
12+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Vennligst fjern " + n + " tegn"; },
13+
formatSelectionTooBig: function (limit) { return "Du kan velge maks " + limit + " elementer"; },
14+
formatLoadMore: function (pageNumber) { return "Laster flere resultater..."; },
15+
formatSearching: function () { return "Søker..."; }
16+
});
17+
})(jQuery);
18+

0 commit comments

Comments
 (0)