mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 07:30:10 +01:00
ability to translate error messages
This commit is contained in:
parent
c1be29ce35
commit
3979d9a740
@ -79,13 +79,13 @@
|
||||
'config'=>$config,
|
||||
'title'=>'Error',
|
||||
'subtitle'=>'An error has occured.',
|
||||
'body'=>"<center>" .
|
||||
"<h2>$message</h2>" .
|
||||
'body'=>'<center>' .
|
||||
'<h2>' . _($message) . '</h2>' .
|
||||
(isset($board) ?
|
||||
"<p><a href=\"" . $config['root'] .
|
||||
($mod ? $config['file_mod'] . '?/' : '') .
|
||||
$board['dir'] . $config['file_index'] . "\">Go back</a>.</p>" : '').
|
||||
"</center>"
|
||||
$board['dir'] . $config['file_index'] . "\">Go back</a>.</p>" : '') .
|
||||
'</center>'
|
||||
)));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user