[*] TR : update English translations key for Errors
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16371 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -385,7 +385,7 @@ class AdminOrdersControllerCore extends AdminController
|
||||
$this->errors[] = sprintf(Tools::displayError('field %s is required.'), $field);
|
||||
foreach ($rules['size'] as $field => $maxLength)
|
||||
if (Tools::getValue($field) && Tools::strlen(Tools::getValue($field)) > $maxLength)
|
||||
$this->errors[] = sprintf(Tools::displayError('field %1$s is too long. (%2$d chars max)'), $field, $maxLength);
|
||||
$this->errors[] = sprintf(Tools::displayError('field %1$s is too long (%2$d chars max).'), $field, $maxLength);
|
||||
foreach ($rules['validate'] as $field => $function)
|
||||
if (Tools::getValue($field))
|
||||
if (!Validate::$function(htmlentities(Tools::getValue($field), ENT_COMPAT, 'UTF-8')))
|
||||
|
||||
Reference in New Issue
Block a user