From 42075c62334e7f8d28bb833c8a442a92aa26cf9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aitor=20Garc=C3=ADa=20Rey?= Date: Mon, 27 Apr 2015 17:20:03 +0000 Subject: [PATCH] Swap inputTooLong and inputTooShort error messages "Engada" in galician is "to add" and therefore should be the base text used for the inputTooShort method, asking the use to add more chars. It seems to be mistakenly defined exactly the opposite it should be (as inputTooLong was containing the right text). --- src/js/select2/i18n/gl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/select2/i18n/gl.js b/src/js/select2/i18n/gl.js index 5077042b..1d89f0a0 100644 --- a/src/js/select2/i18n/gl.js +++ b/src/js/select2/i18n/gl.js @@ -4,7 +4,7 @@ define(function () { inputTooLong: function (args) { var overChars = args.input.length - args.maximum; - var message = 'Engada '; + var message = 'Elimine '; if (overChars === 1) { message += 'un carácter'; @@ -17,7 +17,7 @@ define(function () { inputTooShort: function (args) { var remainingChars = args.minimum - args.input.length; - var message = 'Elimine '; + var message = 'Engada '; if (remainingChars === 1) { message += 'un carácter';