summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-08-01 01:47:15 -0400
committerczaks <marcin@6irc.net>2013-08-01 01:47:15 -0400
commita1e105a470d3f049b666abaf5cf3ccaef48d6bc8 (patch)
treeed84b2ad4fe41679d6435ae9490a654a98643e07 /inc
parent47647648852af9ab5d7541589e2ad08a57e13059 (diff)
i18n strings in inc/display.php
Diffstat (limited to 'inc')
-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>'
)));
}