Replaced nonexistent locale "no" with "nb" (Norwegian Bokmål). Added space before ellipsis for correct punctuation.
This commit is contained in:
parent
dd323687f3
commit
3a9896dc4b
@ -1,12 +1,13 @@
|
||||
/**
|
||||
* Select2 Norwegian translation.
|
||||
* Select2 Norwegian Bokmål translation.
|
||||
*
|
||||
* Author: Torgeir Veimo <torgeir.veimo@gmail.com>
|
||||
* Author: Bjørn Johansen <post@bjornjohansen.no>
|
||||
*/
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$.fn.select2.locales['no'] = {
|
||||
$.fn.select2.locales['nb'] = {
|
||||
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"; },
|
Loading…
x
Reference in New Issue
Block a user