From f38d84df715ad83b927200e7fc2a9063a365d713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederic=20G=2E=20=C3=98stby?= Date: Fri, 5 May 2017 13:02:43 +0200 Subject: [PATCH] Fixed norwegian `inputTooShort` message. --- src/js/select2/i18n/nb.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/select2/i18n/nb.js b/src/js/select2/i18n/nb.js index 2b7fe16f..da403589 100644 --- a/src/js/select2/i18n/nb.js +++ b/src/js/select2/i18n/nb.js @@ -15,12 +15,12 @@ define(function () { var message = 'Vennligst skriv inn '; if (remainingChars > 1) { - message += ' flere tegn'; + message += remainingChars; } else { - message += ' tegn til'; + message += 'ett'; } - return message; + return message + ' tegn til'; }, loadingMore: function () { return 'Laster flere resultater…';