From b7be5e149844925496cd136ccaf3f7872aed35c7 Mon Sep 17 00:00:00 2001 From: azhar bhat Date: Thu, 27 Aug 2026 11:57:12 +0530 Subject: [PATCH] Fixed translation --- classes/Customer.php | 2 +- controllers/admin/AdminCustomersController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/Customer.php b/classes/Customer.php index f67ad0c57..007f3215d 100644 --- a/classes/Customer.php +++ b/classes/Customer.php @@ -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; diff --git a/controllers/admin/AdminCustomersController.php b/controllers/admin/AdminCustomersController.php index b2589f681..4346617cf 100644 --- a/controllers/admin/AdminCustomersController.php +++ b/controllers/admin/AdminCustomersController.php @@ -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)) {