diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php index 87311ce1259..16464caa03a 100644 --- a/htdocs/modulebuilder/index.php +++ b/htdocs/modulebuilder/index.php @@ -1005,7 +1005,7 @@ if ($dirins && $action == 'confirm_removefile' && !empty($module)) { $check = dolReplaceInFile($file_api, array($allContent => '')); if ($check) { dolReplaceInFile($file_api, array($begin => '', $end => '')); - setEventMessages($langs->trans("ApiObjectDeleted"), null); + setEventMessages($langs->trans("ApiObjectDeleted", $langs->transnoentities($objectname)), null); } fclose($handle); }