From 9b071a515346c38975f8d7d4fb71b3175432751e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Thu, 31 Jul 2025 21:55:47 +0200 Subject: [PATCH] translation (#34832) --- htdocs/document.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/document.php b/htdocs/document.php index 1554e3da5dc..9cf9034d7bb 100644 --- a/htdocs/document.php +++ b/htdocs/document.php @@ -326,7 +326,7 @@ $fullpath_original_file_osencoded = dol_osencode($fullpath_original_file); // Ne // This test if file exists should be useless. We keep it to find bug more easily if (!file_exists($fullpath_original_file_osencoded)) { dol_syslog("ErrorFileDoesNotExists: ".$fullpath_original_file); - print "ErrorFileDoesNotExists: ".dol_escape_htmltag($original_file); + print $langs->trans("ErrorFileDoesNotExists") . ' : ' . dol_escape_htmltag($original_file); exit; }