From 3979d9a7406976c0492cdc4c04dca06bfcde73aa Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Fri, 2 Dec 2011 19:42:51 +1100 Subject: [PATCH] ability to translate error messages --- inc/display.php | 8 ++++---- 1 file 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'=>"
" . - "

$message

" . + 'body'=>'
' . + '

' . _($message) . '

' . (isset($board) ? "

Go back.

" : ''). - "
" + $board['dir'] . $config['file_index'] . "\">Go back.

" : '') . + '
' ))); }