diff options
| author | laetzer <laetzer@users.sourceforge.net> | 2008-09-19 01:34:39 +0000 |
|---|---|---|
| committer | laetzer <laetzer@users.sourceforge.net> | 2008-09-19 01:34:39 +0000 |
| commit | 0d9201ca5dc3190e8e2f562bb6cc204c07e1861c (patch) | |
| tree | a4aac2ca8f901ab85aaa37d5b4fa5f38032f691c /orphan_pages.php | |
| parent | 71bc83ca4ee3d84beaae61bcd3f47dc9a1685a01 (diff) | |
| download | wiki-0d9201ca5dc3190e8e2f562bb6cc204c07e1861c.tar.gz wiki-0d9201ca5dc3190e8e2f562bb6cc204c07e1861c.tar.bz2 wiki-0d9201ca5dc3190e8e2f562bb6cc204c07e1861c.zip | |
tra() for error/warning/delete messages
Diffstat (limited to 'orphan_pages.php')
| -rw-r--r-- | orphan_pages.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/orphan_pages.php b/orphan_pages.php index 935bee6..e452d9b 100644 --- a/orphan_pages.php +++ b/orphan_pages.php @@ -1,8 +1,8 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/orphan_pages.php,v 1.16 2008/06/25 22:21:29 spiderr Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/orphan_pages.php,v 1.17 2008/09/19 01:34:39 laetzer Exp $ * - * $Id: orphan_pages.php,v 1.16 2008/06/25 22:21:29 spiderr Exp $ + * $Id: orphan_pages.php,v 1.17 2008/09/19 01:34:39 laetzer Exp $ * @package wiki * @subpackage functions */ @@ -46,7 +46,12 @@ if( isset( $_REQUEST["batch_submit"] ) && isset( $_REQUEST["checked"] ) && $_REQ } $formHash['input'][] = '<input type="hidden" name="checked[]" value="'.$del.'"/>'.$info; } - $gBitSystem->confirmDialog( $formHash, array( 'warning' => 'Are you sure you want to delete '.count($_REQUEST["checked"]).' pages?', 'error' => 'This cannot be undone!' ) ); + $gBitSystem->confirmDialog( $formHash, + array( + 'warning' => tra('Are you sure you want to delete these pages?') . ' (' . tra('Count: ') . count( $_REQUEST["checked"] ) . ')', + 'error' => tra('This cannot be undone!'), + ) + ); } else { foreach( $_REQUEST["checked"] as $deletepage ) { $tmpPage = new BitPage( $deletepage ); |
