Fix message

This commit is contained in:
Laurent Destailleur 2020-06-09 22:43:37 +02:00
parent c175fbd697
commit a86e209a75
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ if ($pageid > 0)
{
$weblangs->load("website");
http_response_code(404);
print '<center><br><br>'.$weblangs->trans("YouTryToAccessToAFileThatIsNotAWebsitePage").'</center>';
print '<center><br><br>'.$weblangs->trans("YouTryToAccessToAFileThatIsNotAWebsitePage", $websitepage->pageurl, $websitepage->type_container, $websitepage->status).'</center>';
exit;
}
}

View File

@ -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