[*] TR : update English translations key for Errors

This commit is contained in:
lLefevre
2012-07-12 10:14:41 +00:00
parent 46b391114b
commit f30f3e258b
17 changed files with 64 additions and 765 deletions
+3 -3
View File
@@ -367,7 +367,7 @@ class AdminStoresControllerCore extends AdminController
$zip_regexp = str_replace('L', '[a-zA-Z]', $zip_regexp);
$zip_regexp = str_replace('C', $country->iso_code, $zip_regexp);
if (!preg_match($zip_regexp, $postcode))
$this->errors[] = Tools::displayError('Your Postcode / Zip code code is incorrect.').'<br />'.Tools::displayError('Must be typed as follows:').' '.
$this->errors[] = Tools::displayError('Your Postal Code/Zip Code is incorrect.').'<br />'.Tools::displayError('Must be typed as follows:').' '.
str_replace(
'C',
$country->iso_code,
@@ -383,9 +383,9 @@ class AdminStoresControllerCore extends AdminController
);
}
else if ($zip_code_format)
$this->errors[] = Tools::displayError('Postcode / Zip code required.');
$this->errors[] = Tools::displayError('Postal Code/Zip Code required.');
else if ($postcode && !preg_match('/^[0-9a-zA-Z -]{4,9}$/ui', $postcode))
$this->errors[] = Tools::displayError('Your Postcode / Zip code code is incorrect.');
$this->errors[] = Tools::displayError('Your Postal Code/Zip Code is incorrect.');
}
/* Store hours */