diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-12-02 19:42:51 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-12-02 19:42:51 +1100 |
| commit | 3979d9a7406976c0492cdc4c04dca06bfcde73aa (patch) | |
| tree | 1a3c7e6bc907b73639b1e625bbd99c782ddbc4d9 | |
| parent | c1be29ce359d054fa273fd56661d9900f88fa491 (diff) | |
ability to translate error messages
| -rw-r--r-- | inc/display.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/display.php b/inc/display.php index c67a52ff..3d1d6c99 100644 --- a/inc/display.php +++ b/inc/display.php @@ -79,13 +79,13 @@ 'config'=>$config, 'title'=>'Error', 'subtitle'=>'An error has occured.', - 'body'=>"<center>" . - "<h2>$message</h2>" . + '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>" : ''). - "</center>" + $board['dir'] . $config['file_index'] . "\">Go back</a>.</p>" : '') . + '</center>' ))); } |
