1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-16 20:28:28 +01:00

Fixes #3438 - Remove duplicate LAN_ERROR_*

This commit is contained in:
Moc 2023-11-30 20:47:01 +01:00
parent dbcc26544a
commit ea8d8084d1
No known key found for this signature in database
GPG Key ID: AAEA3CC2C5A308F2
2 changed files with 8 additions and 8 deletions

View File

@ -127,7 +127,7 @@ class error_page
$this->template = 403;
$this->title = LAN_ERROR_4;
$this->caption = LAN_ERROR_45;
$this->content = LAN_ERROR_5 . '<br/>' . LAN_ERROR_6 . '<br/><br/>' . LAN_ERROR_2;
$this->content = LAN_ERROR_5 . '<br/>' . LAN_ERROR_3 . '<br/><br/>' . LAN_ERROR_2;
}
/**
@ -140,7 +140,7 @@ class error_page
$this->template = 404;
$this->title = LAN_ERROR_7;
$this->caption = LAN_ERROR_45;
$this->content = LAN_ERROR_21 . '<br/>' . LAN_ERROR_9;
$this->content = LAN_ERROR_21 . '<br/>' . LAN_ERROR_3;
}
/**
@ -153,7 +153,7 @@ class error_page
$this->template = 500;
$this->title = LAN_ERROR_10;
$this->caption = LAN_ERROR_14;
$this->content = LAN_ERROR_11 . '<br/>' . LAN_ERROR_12;
$this->content = LAN_ERROR_11 . '<br/>' . LAN_ERROR_3;
}
/**
@ -168,7 +168,7 @@ class error_page
$this->template = 'DEFAULT';
$this->title = LAN_ERROR_13 . ' (' . $errorQuery . ')';
$this->caption = LAN_ERROR_14;
$this->content = LAN_ERROR_15;
$this->content = LAN_ERROR_3;
}
/**

View File

@ -21,16 +21,16 @@ define("LAN_ERROR_3", "Please inform the administrator of the referring page if
define("LAN_ERROR_4", "Error 403 - Access forbidden");
define("LAN_ERROR_5", "You are not permitted to retrieve the document or page you requested.");
define("LAN_ERROR_6", "Please inform the administrator of the referring page if you think this error page has been shown by mistake.");
//define("LAN_ERROR_6", "Please inform the administrator of the referring page if you think this error page has been shown by mistake."); // use LAN_ERROR_3
define("LAN_ERROR_7", "Error 404 - Document Not Found");
define("LAN_ERROR_9", "Please inform the administrator of the referring page if you think this error message has been shown by mistake.");
//define("LAN_ERROR_9", "Please inform the administrator of the referring page if you think this error message has been shown by mistake."); // use LAN_ERROR_3
define("LAN_ERROR_10", "Error 500 - Internal server error");
define("LAN_ERROR_11", "The server encountered an internal error or misconfiguration and was unable to complete your request");
define("LAN_ERROR_12", "Please inform the administrator of the referring page if you think this error page has been shown by mistake.");
//define("LAN_ERROR_12", "Please inform the administrator of the referring page if you think this error page has been shown by mistake."); // use LAN_ERROR_3
define("LAN_ERROR_13", "Error - Unknown");
define("LAN_ERROR_14", "The server encountered an error");
define("LAN_ERROR_15", "Please inform the administrator of the referring page if you think this error page has been shown by mistake.");
//define("LAN_ERROR_15", "Please inform the administrator of the referring page if you think this error page has been shown by mistake."); // use LAN_ERROR_3
define("LAN_ERROR_16", "Your unsuccessful attempt to access");
define("LAN_ERROR_17", "has been recorded.");
define("LAN_ERROR_18", "Apparently, you were referred here by");