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,
|
'config'=>$config,
|
||||||
'title'=>'Error',
|
'title'=>'Error',
|
||||||
'subtitle'=>'An error has occured.',
|
'subtitle'=>'An error has occured.',
|
||||||
'body'=>"<center>" .
|
'body'=>'<center>' .
|
||||||
"<h2>$message</h2>" .
|
'<h2>' . _($message) . '</h2>' .
|
||||||
(isset($board) ?
|
(isset($board) ?
|
||||||
"<p><a href=\"" . $config['root'] .
|
"<p><a href=\"" . $config['root'] .
|
||||||
($mod ? $config['file_mod'] . '?/' : '') .
|
($mod ? $config['file_mod'] . '?/' : '') .
|
||||||
$board['dir'] . $config['file_index'] . "\">Go back</a>.</p>" : '') .
|
$board['dir'] . $config['file_index'] . "\">Go back</a>.</p>" : '') .
|
||||||
"</center>"
|
'</center>'
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user