Enabled frontend-side translation of 500 error page

This commit is contained in:
Veloman Yunkan
2024-01-17 16:49:02 +04:00
committed by Matthieu Gautier
parent bb1a730253
commit 13a6863183
3 changed files with 9 additions and 2 deletions

View File

@ -431,7 +431,9 @@ HTTP500Response::HTTP500Response(const RequestContext& request)
: HTTPErrorResponse(request,
MHD_HTTP_INTERNAL_SERVER_ERROR,
"500-page-title",
"500-page-heading")
"500-page-heading",
std::string(),
/*includeKiwixResponseData=*/true)
{
*this += nonParameterizedMessage("500-page-text");
}