// changed English strings, especially focusing on colons harmonization
This commit is contained in:
@@ -87,12 +87,12 @@ class AdminGeolocationControllerCore extends AdminController
|
||||
Configuration::updateValue('PS_GEOLOCATION_ENABLED', (int)Tools::getValue('PS_GEOLOCATION_ENABLED'));
|
||||
// stop processing if geolocation is set to yes but geolite pack is not available
|
||||
elseif (Tools::getValue('PS_GEOLOCATION_ENABLED'))
|
||||
$this->errors[] = Tools::displayError('Geolocation database is unavailable.');
|
||||
$this->errors[] = Tools::displayError('The geolocation database is unavailable.');
|
||||
|
||||
if (empty($this->errors))
|
||||
{
|
||||
if (!is_array(Tools::getValue('countries')) || !count(Tools::getValue('countries')))
|
||||
$this->errors[] = Tools::displayError('Country selection is invalid');
|
||||
$this->errors[] = Tools::displayError('Country selection is invalid.');
|
||||
else
|
||||
{
|
||||
Configuration::updateValue(
|
||||
@@ -121,7 +121,7 @@ class AdminGeolocationControllerCore extends AdminController
|
||||
{
|
||||
// This field is not declared in class constructor because we want it to be manually post processed
|
||||
$this->fields_options['geolocationCountries']['fields']['countries'] = array(
|
||||
'title' => $this->l('Select countries that can access your store:'),
|
||||
'title' => $this->l('Select the countries from which your store is accessible'),
|
||||
'type' => 'checkbox_table',
|
||||
'identifier' => 'iso_code',
|
||||
'list' => Country::getCountries($this->context->language->id),
|
||||
|
||||
Reference in New Issue
Block a user