Browse Source

Fixed Norwegian `inputTooShort` message (#4896)

alexweissman 7 năm trước cách đây
mục cha
commit
1afea17194
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      src/js/select2/i18n/nb.js

+ 3 - 3
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…';