Fixed translation
This commit is contained in:
@@ -843,7 +843,7 @@ class CustomerCore extends ObjectModel
|
||||
$nationalities = Country::getCountries((int) $id_lang);
|
||||
$nationalities[-1] = array(
|
||||
'id_country' => -1,
|
||||
'name' => Translate::getAdminTranslation('Other', 'AdminCustomersController'),
|
||||
'name' => Translate::getAdminTranslation('Other', 'AdminCustomers'),
|
||||
);
|
||||
|
||||
return $nationalities;
|
||||
|
||||
@@ -1000,7 +1000,7 @@ class AdminCustomersControllerCore extends AdminController
|
||||
|
||||
$nationality = '';
|
||||
if ($customer->id_country == -1) {
|
||||
$nationality = Translate::getAdminTranslation('Other', 'AdminCustomersController');
|
||||
$nationality = Translate::getAdminTranslation('Other', 'AdminCustomers');
|
||||
} elseif ($customer->id_country) {
|
||||
$nationalityCountry = new Country($customer->id_country, $this->context->language->id);
|
||||
if (Validate::isLoadedObject($nationalityCountry)) {
|
||||
|
||||
Reference in New Issue
Block a user