summaryrefslogtreecommitdiff
path: root/crosspost.php
diff options
context:
space:
mode:
authorlaetzer <laetzer@users.sourceforge.net>2008-09-19 01:34:36 +0000
committerlaetzer <laetzer@users.sourceforge.net>2008-09-19 01:34:36 +0000
commit71ce50726e6b62cd09eb8fbb6e0b7e5b2d2d7e5d (patch)
treeebd340091983466a79c3261995583a72ead752db /crosspost.php
parent78f605bda1e9eb16b81aba88e05ab67b2d6a7b2a (diff)
downloadblogs-71ce50726e6b62cd09eb8fbb6e0b7e5b2d2d7e5d.tar.gz
blogs-71ce50726e6b62cd09eb8fbb6e0b7e5b2d2d7e5d.tar.bz2
blogs-71ce50726e6b62cd09eb8fbb6e0b7e5b2d2d7e5d.zip
tra() for error/warning/delete messages
Diffstat (limited to 'crosspost.php')
-rw-r--r--crosspost.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/crosspost.php b/crosspost.php
index 79c8872..d92d7a5 100644
--- a/crosspost.php
+++ b/crosspost.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_blogs/crosspost.php,v 1.6 2008/06/25 22:21:07 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_blogs/crosspost.php,v 1.7 2008/09/19 01:34:36 laetzer Exp $
* @package blogs
* @subpackage functions
*
@@ -43,7 +43,7 @@ if( !empty( $_REQUEST['action']) && ($_REQUEST['action'] == 'remove') && $gConte
$feedback['error'] = $gContent->mErrors;
}
}else{
- $gBitSystem->setBrowserTitle( 'Confirm removal of \''.$gContent->getTitle().'\' crossposting from Blog \''.'addblognamehere'.'\'' );
+ $gBitSystem->setBrowserTitle( tra('Confirm removal of') . ' ' . $gContent->getTitle(); // crossposting from Blog \''.'addblognamehere'.'\'' );
$formHash['remove'] = TRUE;
$formHash['action'] = 'remove';
$formHash['post_id'] = $_REQUEST['post_id'];
@@ -51,7 +51,8 @@ if( !empty( $_REQUEST['action']) && ($_REQUEST['action'] == 'remove') && $gConte
$msgHash = array(
'label' => 'Remove Crossposting of Blog Post:',
'confirm_item' => $gContent->getTitle(),
- 'warning' => 'This will remove the crossposting, of the above blog post, from the blog \''.'addblognamehere'.'\'. This cannot be undone.',
+ 'warning' => tra('This will remove the crossposting of the above blog post.') // from the blog \''.'addblognamehere'.'\'),
+ 'error' => tra('This cannot be undone!'),
);
$gBitSystem->confirmDialog( $formHash, $msgHash );
}
@@ -85,5 +86,5 @@ $gBitSmarty->assign( 'availableBlogs', $availableBlogs );
$gBitSmarty->assign_by_ref('blogs', $blogs['data']);
-$gBitSystem->display( 'bitpackage:blogs/crosspost.tpl', "Crosspost Blog Post" , array( 'display_mode' => 'display' ));
+$gBitSystem->display( 'bitpackage:blogs/crosspost.tpl', tra("Crosspost Blog Post") , array( 'display_mode' => 'display' ));
?> \ No newline at end of file