From a86e209a75292220d148ed896cc882a1b14ba1a0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 9 Jun 2020 22:43:37 +0200 Subject: [PATCH] Fix message --- htdocs/core/website.inc.php | 2 +- htdocs/langs/en_US/website.lang | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/website.inc.php b/htdocs/core/website.inc.php index 19ccc285abf..31d4d45723f 100644 --- a/htdocs/core/website.inc.php +++ b/htdocs/core/website.inc.php @@ -75,7 +75,7 @@ if ($pageid > 0) { $weblangs->load("website"); http_response_code(404); - print '


'.$weblangs->trans("YouTryToAccessToAFileThatIsNotAWebsitePage").'
'; + print '


'.$weblangs->trans("YouTryToAccessToAFileThatIsNotAWebsitePage", $websitepage->pageurl, $websitepage->type_container, $websitepage->status).'
'; exit; } } diff --git a/htdocs/langs/en_US/website.lang b/htdocs/langs/en_US/website.lang index 4f07b0ca9fb..2d14dfba00c 100644 --- a/htdocs/langs/en_US/website.lang +++ b/htdocs/langs/en_US/website.lang @@ -121,7 +121,7 @@ ShowSubContainersOnOff=Mode to execute 'dynamic content' is %s GlobalCSSorJS=Global CSS/JS/Header file of web site BackToHomePage=Back to home page... TranslationLinks=Translation links -YouTryToAccessToAFileThatIsNotAWebsitePage=You try to access to a page that is not a website page +YouTryToAccessToAFileThatIsNotAWebsitePage=You try to access to a page (ref=%s, type=%s, status=%s) that is not available. UseTextBetween5And70Chars=For good SEO practices, use a text between 5 and 70 characters MainLanguage=Main language OtherLanguages=Other languages