From 946149277e71f0b5d4437f72fc946036e984fb4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=B8rge=20Antonsen?= Date: Thu, 2 Mar 2017 10:13:57 +0100 Subject: [PATCH] Simplified Norwegian(nb) translation to a more correct text --- src/js/select2/i18n/nb.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/js/select2/i18n/nb.js b/src/js/select2/i18n/nb.js index 2b7fe16f..a55b8d55 100644 --- a/src/js/select2/i18n/nb.js +++ b/src/js/select2/i18n/nb.js @@ -12,13 +12,7 @@ define(function () { inputTooShort: function (args) { var remainingChars = args.minimum - args.input.length; - var message = 'Vennligst skriv inn '; - - if (remainingChars > 1) { - message += ' flere tegn'; - } else { - message += ' tegn til'; - } + var message = 'Vennligst skriv inn ' + remainingChars + ' tegn til'; return message; },