// changed English strings, especially focusing on colons harmonization
This commit is contained in:
@@ -85,7 +85,7 @@ class AdminAttributeGeneratorControllerCore extends AdminController
|
||||
if ($this->tabAccess['edit'] === '1')
|
||||
$this->action = 'generate';
|
||||
else
|
||||
$this->errors[] = Tools::displayError('You do not have permission to add here.');
|
||||
$this->errors[] = Tools::displayError('You do not have permission to add this.');
|
||||
}
|
||||
parent::initProcess();
|
||||
}
|
||||
@@ -100,7 +100,7 @@ class AdminAttributeGeneratorControllerCore extends AdminController
|
||||
public function processGenerate()
|
||||
{
|
||||
if (!is_array(Tools::getValue('options')))
|
||||
$this->errors[] = Tools::displayError('Please choose at least 1 attribute.');
|
||||
$this->errors[] = Tools::displayError('Please select at least one attribute.');
|
||||
else
|
||||
{
|
||||
$tab = array_values(Tools::getValue('options'));
|
||||
@@ -134,7 +134,7 @@ class AdminAttributeGeneratorControllerCore extends AdminController
|
||||
Tools::redirectAdmin($this->context->link->getAdminLink('AdminProducts').'&id_product='.(int)Tools::getValue('id_product').'&addproduct&key_tab=Combinations&conf=4');
|
||||
}
|
||||
else
|
||||
$this->errors[] = Tools::displayError('Unable to initialize parameters, combination is missing or object cannot be loaded.');
|
||||
$this->errors[] = Tools::displayError('Unable to initialize these parameters. A combination is missing or an object cannot be loaded.');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user