[*] 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)))
|
||||
);
|
||||
}
|
||||
|
||||
@@ -483,14 +483,14 @@ class AuthControllerCore 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)))
|
||||
);
|
||||
}
|
||||
elseif ($country->zip_code_format)
|
||||
$this->errors[] = Tools::displayError('Zip / Postal code is required.');
|
||||
$this->errors[] = Tools::displayError('Zip/Postal code is required.');
|
||||
elseif ($postcode && !preg_match('/^[0-9a-zA-Z -]{4,9}$/ui', $postcode))
|
||||
$this->errors[] = Tools::displayError('Zip / Postal code is invalid.');
|
||||
$this->errors[] = Tools::displayError('Zip/Postal code is invalid.');
|
||||
}
|
||||
|
||||
if ($country->need_identification_number && (!Tools::getValue('dni') || !Validate::isDniLite(Tools::getValue('dni'))))
|
||||
|
||||
@@ -297,7 +297,7 @@ class GetFileControllerCore extends FrontController
|
||||
'This file no longer exists.' => Tools::displayError('This file no longer exists.'),
|
||||
'This product has been refunded.' => Tools::displayError('This product has been refunded.'),
|
||||
'The product deadline is in the past.' => Tools::displayError('The product deadline is in the past.'),
|
||||
'Expiration date exceeded' => Tools::displayError('Expiration date exceeded'),
|
||||
'Expiration date exceeded' => Tools::displayError('Expiration date has passed, you cannot download this product'),
|
||||
'You have reached the maximum number of allowed downloads.' => Tools::displayError('You have reached the maximum number of allowed downloads.'));
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
|
||||
@@ -64,7 +64,7 @@ class GuestTrackingControllerCore extends FrontController
|
||||
else if (Customer::customerExists($email, false, true))
|
||||
{
|
||||
$this->errors[] = Tools::displayError('Your guest account has already been transformed into a customer account.').' '.
|
||||
Tools::displayError('Please log-in to your customer account to view this order, this section is reserved for guest accounts');
|
||||
Tools::displayError('Please login to your customer account to view this order, this section is reserved for guest accounts');
|
||||
$this->context->smarty->assign('show_login_link', true);
|
||||
}
|
||||
else if (!Validate::isLoadedObject($order))
|
||||
|
||||
Reference in New Issue
Block a user