Skip to content

Commit d1c19eb

Browse files
committed
Added the formatMatches string
1 parent 3a9896d commit d1c19eb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

select2_locale_nb.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"use strict";
99

1010
$.fn.select2.locales['nb'] = {
11+
formatMatches: function (matches) { if (matches === 1) { return "Ett resultat er tilgjengelig, trykk enter for å velge det."; } return matches + " resultater er tilgjengelig. Bruk piltastene opp og ned for å navigere."; },
1112
formatNoMatches: function () { return "Ingen treff"; },
1213
formatInputTooShort: function (input, min) { var n = min - input.length; return "Vennligst skriv inn " + n + (n>1 ? " flere tegn" : " tegn til"); },
1314
formatInputTooLong: function (input, max) { var n = input.length - max; return "Vennligst fjern " + n + " tegn"; },

0 commit comments

Comments
 (0)