summaryrefslogtreecommitdiff
path: root/attachments.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-04-23 09:36:31 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-04-23 09:36:31 +0000
commit02ab9168555d34372f3a7831f684082612c0885e (patch)
tree0746d0b179a310eb930d3d13bd15280725480712 /attachments.php
parent2197c5b76c0e259ae99b4fa397cda5b6f978c01f (diff)
downloadliberty-02ab9168555d34372f3a7831f684082612c0885e.tar.gz
liberty-02ab9168555d34372f3a7831f684082612c0885e.tar.bz2
liberty-02ab9168555d34372f3a7831f684082612c0885e.zip
fatalError message translation standardisation: fatalError message is not translated in the function so it has to be translated when it's passed in. this allows for dynamically changed errormessages without causing duplicate master strings
Diffstat (limited to 'attachments.php')
-rw-r--r--attachments.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/attachments.php b/attachments.php
index f446c88..988a136 100644
--- a/attachments.php
+++ b/attachments.php
@@ -3,7 +3,7 @@
* attachment_browser
*
* @author spider <spider@steelsun.com>
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
* @package liberty
* @subpackage functions
*/
@@ -16,7 +16,7 @@ require_once("../bit_setup_inc.php");
$gContent = new LibertyAttachable();
if( !$gBitUser->isRegistered() ) {
- $gBitSystem->fatalError( 'You need to be logged in to view this page.' );
+ $gBitSystem->fatalError( tra( 'You need to be logged in to view this page.' ));
}
$feedback = array();