// changed English strings, especially focusing on colons harmonization

This commit is contained in:
fram
2013-03-12 19:39:30 +01:00
parent 09afe53452
commit 77efe4c04e
590 changed files with 6160 additions and 7064 deletions
@@ -119,13 +119,13 @@ class AdminCartRulesControllerCore extends AdminController
// Idiot-proof control
if (strtotime(Tools::getValue('date_from')) > strtotime(Tools::getValue('date_to')))
$this->errors[] = Tools::displayError('The voucher cannot end before it begins');
$this->errors[] = Tools::displayError('The voucher cannot end before it begins.');
if ((int)Tools::getValue('minimum_amount') < 0)
$this->errors[] = Tools::displayError('Minimum amount cannot be lower than 0');
$this->errors[] = Tools::displayError('The minimum amount cannot be lower than zero.');
if ((float)Tools::getValue('reduction_percent') < 0 || (float)Tools::getValue('reduction_percent') > 100)
$this->errors[] = Tools::displayError('Reduction percent must be between 0% and 100%');
if ((int)Tools::getValue('reduction_amount') < 0)
$this->errors[] = Tools::displayError('Reduction amount cannot be lower than 0');
$this->errors[] = Tools::displayError('Reduction amount cannot be lower than zero.');
if (Tools::getValue('code') && ($same_code = (int)CartRule::getIdByCode(Tools::getValue('code'))) && $same_code != Tools::getValue('id_cart_rule'))
$this->errors[] = sprintf(Tools::displayError('This cart rule code is already used (conflict with cart rule %d)'), $same_code);
}
@@ -451,7 +451,7 @@ class AdminCartRulesControllerCore extends AdminController
);
}
else
return array('found' => false, 'notfound' => Tools::displayError('No product found'));
return array('found' => false, 'notfound' => Tools::displayError('No product has been found.'));
}
public function ajaxProcessSearchProducts()