summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-08-01 01:47:15 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-08-01 01:53:13 -0400
commitb9769d0cea205e4ddf831f374901ec8d220ecc7a (patch)
treec200c14b10ffa6a8007cfee7532f1fbbc30460e9 /inc/display.php
parente109d8179fa0e4e34d0191b287b31cbb40414e02 (diff)
i18n strings in inc/display.php
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 94f8e8cd..c68af9d6 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>'
)));
}