Skip to content

Commit 3a9896d

Browse files
committed
Replaced nonexistent locale "no" with "nb" (Norwegian Bokmål). Added space before ellipsis for correct punctuation.
1 parent dd32368 commit 3a9896d

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
/**
2-
* Select2 Norwegian translation.
2+
* Select2 Norwegian Bokmål translation.
33
*
44
* Author: Torgeir Veimo <torgeir.veimo@gmail.com>
5+
* Author: Bjørn Johansen <post@bjornjohansen.no>
56
*/
67
(function ($) {
78
"use strict";
89

9-
$.fn.select2.locales['no'] = {
10+
$.fn.select2.locales['nb'] = {
1011
formatNoMatches: function () { return "Ingen treff"; },
1112
formatInputTooShort: function (input, min) { var n = min - input.length; return "Vennligst skriv inn " + n + (n>1 ? " flere tegn" : " tegn til"); },
1213
formatInputTooLong: function (input, max) { var n = input.length - max; return "Vennligst fjern " + n + " tegn"; },
1314
formatSelectionTooBig: function (limit) { return "Du kan velge maks " + limit + " elementer"; },
14-
formatLoadMore: function (pageNumber) { return "Laster flere resultater…"; },
15-
formatSearching: function () { return "Søker…"; }
15+
formatLoadMore: function (pageNumber) { return "Laster flere resultater …"; },
16+
formatSearching: function () { return "Søker …"; }
1617
};
1718

1819
$.extend($.fn.select2.defaults, $.fn.select2.locales['no']);

0 commit comments

Comments
 (0)