mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-14 19:07:39 +01:00
i18n strings in inc/display.php
This commit is contained in:
parent
4764764885
commit
a1e105a470
@ -72,14 +72,14 @@ function error($message, $priority = true) {
|
||||
|
||||
die(Element('page.html', array(
|
||||
'config'=>$config,
|
||||
'title'=>'Error',
|
||||
'subtitle'=>'An error has occured.',
|
||||
'title'=>_('Error'),
|
||||
'subtitle'=>_('An error has occured.'),
|
||||
'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>" : '') .
|
||||
$board['dir'] . $config['file_index'] . "\">"._("Go back")."</a>.</p>" : '') .
|
||||
'</center>'
|
||||
)));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user