1
0
mirror of synced 2025-02-04 06:09:23 +03:00

Replaced nonexistent locale "no" with "nb" (Norwegian Bokmål). Added space before ellipsis for correct punctuation.

This commit is contained in:
Bjørn Johansen 2014-10-29 22:13:48 +01:00
parent dd323687f3
commit 3a9896dc4b

View File

@ -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"; },