2013-05-09 19:20:35 +04:00
|
|
|
/**
|
|
|
|
* Select2 Norwegian translation.
|
|
|
|
*
|
|
|
|
* Author: Torgeir Veimo <torgeir.veimo@gmail.com>
|
|
|
|
*/
|
|
|
|
(function ($) {
|
|
|
|
"use strict";
|
|
|
|
|
2014-04-15 11:20:22 +04:00
|
|
|
$.fn.select2.locales['no'] = {
|
2013-05-09 19:20:35 +04:00
|
|
|
formatNoMatches: function () { return "Ingen treff"; },
|
|
|
|
formatInputTooShort: function (input, min) { var n = min - input.length; return "Vennligst skriv inn " + n + (n>1 ? " flere tegn" : " tegn til"); },
|
|
|
|
formatInputTooLong: function (input, max) { var n = input.length - max; return "Vennligst fjern " + n + " tegn"; },
|
|
|
|
formatSelectionTooBig: function (limit) { return "Du kan velge maks " + limit + " elementer"; },
|
2014-01-08 13:35:47 +04:00
|
|
|
formatLoadMore: function (pageNumber) { return "Laster flere resultater…"; },
|
|
|
|
formatSearching: function () { return "Søker…"; }
|
2014-05-15 14:55:44 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
$.extend($.fn.select2.defaults, $.fn.select2.locales['no']);
|
|
|
|
);
|
2013-05-09 19:20:35 +04:00
|
|
|
})(jQuery);
|
|
|
|
|