From ba70d79862e7f84eb856f5f336979cee32be121a Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Mon, 1 Nov 2021 22:28:43 +0100 Subject: [PATCH] fix modules id vs name --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 2de519a..7e4a3da 100644 --- a/index.php +++ b/index.php @@ -204,12 +204,12 @@ if (empty($module) && $type != '') { '%s', $core->adminurl->get('translater', ['type' => $module->type, 'module' => $module->id]), html::escapeHTML(sprintf(__('Translate module %s'), __($module->name))), - html::escapeHTML(__($module->id)) + html::escapeHTML($module->id) ); } else { $res .= sprintf( '%s', - html::escapeHTML(__($module->id)) + html::escapeHTML($module->id) ); } $codes = $module->getLangs(); @@ -229,7 +229,7 @@ if (empty($module) && $type != '') { $res .= sprintf( '%s%s%s', implode(', ', $codes), - html::escapeHTML($module->name), + html::escapeHTML(__($module->name)), $module->version ); }