summaryrefslogtreecommitdiff
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
commit91180e7606ff5d9648cc21c5f01cf3f7cab1c62d (patch)
treed0abff8f7b62afcb80ca120717069f49ec672bc8
parent2ca0cab71ccf21222e408c8e463173d0388e7fc2 (diff)
downloadpigeonholes-91180e7606ff5d9648cc21c5f01cf3f7cab1c62d.tar.gz
pigeonholes-91180e7606ff5d9648cc21c5f01cf3f7cab1c62d.tar.bz2
pigeonholes-91180e7606ff5d9648cc21c5f01cf3f7cab1c62d.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
-rw-r--r--view.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/view.php b/view.php
index 5a6b34c..403a2fe 100644
--- a/view.php
+++ b/view.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_pigeonholes/view.php,v 1.16 2007/04/05 22:16:33 nickpalmer Exp $
+ * $Header: /cvsroot/bitweaver/_bit_pigeonholes/view.php,v 1.17 2007/04/23 09:36:31 squareing Exp $
*
* Copyright ( c ) 2004 bitweaver.org
* Copyright ( c ) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: view.php,v 1.16 2007/04/05 22:16:33 nickpalmer Exp $
+ * $Id: view.php,v 1.17 2007/04/23 09:36:31 squareing Exp $
* @package pigeonholes
* @subpackage functions
*/
@@ -51,7 +51,7 @@ if( !empty( $_REQUEST['action'] ) ) {
// confirm that structure is valid
if( empty( $gStructure ) || !$gStructure->isValid() ) {
- $gBitSystem->fatalError( 'Invalid structure' );
+ $gBitSystem->fatalError( tra( 'Invalid structure' ));
}
$gBitSmarty->assign_by_ref( 'gStructure', $gStructure );