diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-04-23 09:36:32 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-04-23 09:36:32 +0000 |
| commit | 9a724e1206d49795069d9455e902c983a59dadd4 (patch) | |
| tree | 222fc426dd45b2f4f11e95764381743af4b4eb57 /page_watches.php | |
| parent | f240c4d2a6ed75f5c5bca20a7e35e6e8fe2f4fbc (diff) | |
| download | wiki-9a724e1206d49795069d9455e902c983a59dadd4.tar.gz wiki-9a724e1206d49795069d9455e902c983a59dadd4.tar.bz2 wiki-9a724e1206d49795069d9455e902c983a59dadd4.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 'page_watches.php')
| -rw-r--r-- | page_watches.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/page_watches.php b/page_watches.php index 4017791..0eb40be 100644 --- a/page_watches.php +++ b/page_watches.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/page_watches.php,v 1.2 2007/03/20 16:56:34 spiderr Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/page_watches.php,v 1.3 2007/04/23 09:36:32 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: page_watches.php,v 1.2 2007/03/20 16:56:34 spiderr Exp $ + * $Id: page_watches.php,v 1.3 2007/04/23 09:36:32 squareing Exp $ * @package wiki * @subpackage functions */ @@ -28,7 +28,7 @@ include( WIKI_PKG_PATH.'lookup_page_inc.php' ); //vd($gContent->mPageId);vd($gContent->mInfo); if( !$gContent->isValid() || empty( $gContent->mInfo ) ) { - $gBitSystem->fatalError( "Unknown page" ); + $gBitSystem->fatalError( tra( "Unknown page" )); } $watches = NULL; |
