summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/display.php')
-rw-r--r--inc/display.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/display.php b/inc/display.php
index 3ce8eced..1dcb60fb 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -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>'
)));
}