Permalink
Browse files

bug #4056 Language: Vague error message when adding a varchar field

  • Loading branch information...
1 parent 15de2de commit 3df8d3db6ba10c3ad7675727a750f2ba74a41d51 @lem9 lem9 committed Aug 18, 2013
Showing with 5 additions and 3 deletions.
  1. +1 −0 ChangeLog
  2. +2 −2 js/functions.js
  3. +2 −1 js/messages.php
View
@@ -33,6 +33,7 @@ phpMyAdmin - ChangeLog
+ Dropped configuration directive: SQP
+ Dropped configuration directive: MySQLManual*
+ rfe #1041 and bug #2954 Improved support for SSL connections between MySQL and phpMyAdmin
+- bug #4056 Language: Vague error message when adding a varchar field
4.0.6.0 (not yet released)
- bug #4036 Call to undefined function mb_detect_encoding (clarify the doc)
View
@@ -478,7 +478,7 @@ function checkFormElementInRange(theForm, theFieldName, message, min, max)
// It's not a number
if (isNaN(val)) {
theField.select();
- alert(PMA_messages.strNotNumber);
+ alert(PMA_messages.strEnterValidNumber);
theField.focus();
return false;
}
@@ -516,7 +516,7 @@ function checkTableEditForm(theForm, fieldsCnt)
elm3 = $("#field_" + i + "_1");
if (isNaN(val) && elm3.val() !== "") {
elm2.select();
- alert(PMA_messages.strNotNumber);
+ alert(PMA_messages.strEnterValidLength);
elm2.focus();
return false;
}
View
@@ -45,7 +45,8 @@
/* For indexes */
$js_messages['strFormEmpty'] = __('Missing value in the form!');
-$js_messages['strNotNumber'] = __('This is not a number!');
+$js_messages['strEnterValidNumber'] = __('Please enter a valid number');
+$js_messages['strEnterValidLength'] = __('Please enter a valid length');
$js_messages['strAddIndex'] = __('Add Index');
$js_messages['strEditIndex'] = __('Edit Index');
$js_messages['strAddToIndex'] = __('Add %s column(s) to index');

0 comments on commit 3df8d3d

Please sign in to comment.