diff options
| author | czaks <marcin@6irc.net> | 2013-08-01 01:47:15 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-08-01 01:47:15 -0400 |
| commit | a1e105a470d3f049b666abaf5cf3ccaef48d6bc8 (patch) | |
| tree | ed84b2ad4fe41679d6435ae9490a654a98643e07 /inc/display.php | |
| parent | 47647648852af9ab5d7541589e2ad08a57e13059 (diff) | |
i18n strings in inc/display.php
Diffstat (limited to 'inc/display.php')
| -rw-r--r-- | inc/display.php | 6 |
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>' ))); } |
