[*] 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:
@@ -151,15 +151,15 @@ class AddressControllerCore extends FrontController
|
||||
{
|
||||
if (!$country->checkZipCode($postcode))
|
||||
$this->errors[] = sprintf(
|
||||
Tools::displayError('Zip / Postal code is invalid. Must be typed as follows: %s'),
|
||||
Tools::displayError('Zip/Postal code is invalid. Must be typed as follows: %s'),
|
||||
str_replace('C', $country->iso_code, str_replace('N', '0', str_replace('L', 'A', $country->zip_code_format)))
|
||||
);
|
||||
}
|
||||
else if ($zip_code_format)
|
||||
$this->errors[] = Tools::displayError('Zip / Postal code is required.');
|
||||
$this->errors[] = Tools::displayError('Zip/Postal code is required.');
|
||||
else if ($postcode && !preg_match('/^[0-9a-zA-Z -]{4,9}$/ui', $postcode))
|
||||
$this->errors[] = sprintf(
|
||||
Tools::displayError('Zip / Postal code is invalid. Must be typed as follows: %s'),
|
||||
Tools::displayError('Zip/Postal code is invalid. Must be typed as follows: %s'),
|
||||
str_replace('C', $country->iso_code, str_replace('N', '0', str_replace('L', 'A', $country->zip_code_format)))
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user