// sprintf & English

This commit is contained in:
fram
2013-11-08 11:39:59 +01:00
parent 42af175d22
commit be38a438e2
3 changed files with 8 additions and 3 deletions
@@ -340,7 +340,7 @@ class AdminCurrenciesControllerCore extends AdminController
if (Tools::isSubmit('submitAddcurrency') && !Tools::getValue('id_currency') && Currency::exists(Tools::getValue('iso_code'), Tools::getValue('iso_code_num')))
$this->errors[] = Tools::displayError('This currency already exists.');
if (Tools::isSubmit('submitAddcurrency') && (float)Tools::getValue('conversion_rate') <= 0)
$this->errors[] = Tools::displayError('This currency conversion rate can not be equal to 0.');
$this->errors[] = Tools::displayError('The currency conversion rate can not be equal to 0.');
parent::initProcess();
}