From 3a9896dc4bfc9cb14892edfcfe09bf7bb1bae281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Johansen?= Date: Wed, 29 Oct 2014 22:13:48 +0100 Subject: [PATCH] =?UTF-8?q?Replaced=20nonexistent=20locale=20"no"=20with?= =?UTF-8?q?=20"nb"=20(Norwegian=20Bokm=C3=A5l).=20Added=20space=20before?= =?UTF-8?q?=20ellipsis=20for=20correct=20punctuation.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- select2_locale_no.js => select2_locale_nb.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) rename select2_locale_no.js => select2_locale_nb.js (76%) diff --git a/select2_locale_no.js b/select2_locale_nb.js similarity index 76% rename from select2_locale_no.js rename to select2_locale_nb.js index e00408cf..89004485 100644 --- a/select2_locale_no.js +++ b/select2_locale_nb.js @@ -1,18 +1,19 @@ /** - * Select2 Norwegian translation. + * Select2 Norwegian Bokmål translation. * * Author: Torgeir Veimo + * Author: Bjørn Johansen */ (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"; }, formatSelectionTooBig: function (limit) { return "Du kan velge maks " + limit + " elementer"; }, - formatLoadMore: function (pageNumber) { return "Laster flere resultater…"; }, - formatSearching: function () { return "Søker…"; } + formatLoadMore: function (pageNumber) { return "Laster flere resultater …"; }, + formatSearching: function () { return "Søker …"; } }; $.extend($.fn.select2.defaults, $.fn.select2.locales['no']);