summaryrefslogtreecommitdiff
path: root/menus.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-01-10 21:14:10 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-01-10 21:14:10 +0000
commitb72268f4a8084962bab3a65a05079ee174107c70 (patch)
treeb36ac522fa98356f1c13d18226d88c1ae1dde4b3 /menus.php
parent23d5dcf7f24189993a907e00db4c83cb56af1b92 (diff)
downloadnexus-b72268f4a8084962bab3a65a05079ee174107c70.tar.gz
nexus-b72268f4a8084962bab3a65a05079ee174107c70.tar.bz2
nexus-b72268f4a8084962bab3a65a05079ee174107c70.zip
merge recent changes into HEAD
Diffstat (limited to 'menus.php')
-rw-r--r--menus.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/menus.php b/menus.php
index 47c4cec..3ee07aa 100644
--- a/menus.php
+++ b/menus.php
@@ -1,7 +1,7 @@
<?php
/**
* @author xing <xing@synapse.plus.com>
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
* @package nexus
* @subpackage functions
*/
@@ -35,7 +35,7 @@ if( isset( $_REQUEST['action'] ) ) {
if( $_REQUEST['action'] == 'rewrite_cache' ) {
if( $gNexus->rewriteMenuCache() ) {
- $formfeedback['success'] = 'The complete menu cache has been rewritten.';
+ $formfeedback['success'] = tra( 'The complete menu cache has been rewritten.' );
}
}
@@ -46,15 +46,15 @@ if( isset( $_REQUEST['action'] ) ) {
$deadHtml .= '<li>'.$dead.'</li>';
}
$deadHtml .= '</ul>';
- $formfeedback['warning'] = 'Links that were dead and removed from '.$gNexus->mInfo['title'].$deadHtml;
+ $formfeedback['warning'] = tra( 'Links that were dead and removed from ' ).": ".$gNexus->mInfo['title'].$deadHtml;
} else {
- $formfeedback['success'] = 'No dead links were found for this menu.';
+ $formfeedback['success'] = tra( 'No dead links were found for this menu.' );
}
}
if( $_REQUEST['action'] == 'convert_structure' ) {
if( $gNexus->importStructure( $_REQUEST['structure_id'] ) ) {
- $formfeedback['success'] = 'The structure was successfully imported as menu.';
+ $formfeedback['success'] = tra( 'The structure was successfully imported as menu.' );
} else {
vd( $gNexus->mErrors );
}
@@ -78,7 +78,7 @@ if( isset( $_REQUEST['store_menu'] ) ) {
die;
}
$gNexus->load();
- $formfeedback['success'] = 'The menu \''.$gNexus->mInfo['title'].'\' was updated successfully.';
+ $formfeedback['success'] = tra( "The following menu was updated successfully" ).": ".$gNexus->mInfo['title'] ;
}
$gBitSmarty->assign( 'menuList', $menuList = $gNexus->getMenuList() );