summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaetzer <laetzer@users.sourceforge.net>2008-09-19 01:34:38 +0000
committerlaetzer <laetzer@users.sourceforge.net>2008-09-19 01:34:38 +0000
commit7b657b258f8155c6414b72142f6061cf070ab49c (patch)
tree0ec8902f258239a42d5ce983afc6ed2d9683579f
parentb024236ea2b0878a1e639ceec9473c8d3c376cba (diff)
downloadtags-7b657b258f8155c6414b72142f6061cf070ab49c.tar.gz
tags-7b657b258f8155c6414b72142f6061cf070ab49c.tar.bz2
tags-7b657b258f8155c6414b72142f6061cf070ab49c.zip
tra() for error/warning/delete messagescreate_permission
-rw-r--r--list.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/list.php b/list.php
index 37db12f..49f051a 100644
--- a/list.php
+++ b/list.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_tags/list.php,v 1.6 2008/06/25 22:21:25 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_tags/list.php,v 1.7 2008/09/19 01:34:38 laetzer Exp $
* @package tags
* @subpackage functions
*
@@ -20,7 +20,7 @@ $gBitSystem->verifyPackage( 'tags' );
if( !empty( $_REQUEST['action'] ) ) {
if( $_REQUEST['action'] == 'remove' && !empty( $_REQUEST['tag_id'] ) ) {
if ( !$gBitUser->hasPermission('p_tags_remove') ){
- $gBitSystem->fatalError( 'You do not have permission to remove Tags' );
+ $gBitSystem->fatalError( tra('You do not have permission to remove tags.') );
}
$tmpTag = new LibertyTag();
@@ -39,9 +39,10 @@ if( !empty( $_REQUEST['action'] ) ) {
$formHash['status_id'] = ( !empty( $_REQUEST['status_id'] ) ? $_REQUEST['status_id'] : '' );
$formHash['tag_id'] = $_REQUEST['tag_id'];
$msgHash = array(
- 'label' => 'Remove Tag',
+ 'label' => tra('Remove Tag'),
'confirm_item' => $tmpTag->mInfo['tag'],
- 'warning' => 'This will remove the above tag. This cannot be undone.',
+ 'warning' => ('This will remove the above tag.'),
+ 'error' => tra('This cannot be undone!'),
);
$gBitSystem->confirmDialog( $formHash, $msgHash );
}