diff options
-rw-r--r-- | wp-admin/wpmu-admin.php | 4 | ||||
-rw-r--r-- | wp-admin/wpmu-edit.php | 2 | ||||
-rw-r--r-- | wp-admin/wpmu-options.php | 4 | ||||
-rw-r--r-- | wp-admin/wpmu-upgrade-site.php | 8 | ||||
-rw-r--r-- | wp-admin/wpmu-users.php | 2 | ||||
-rw-r--r-- | wp-login.php | 2 |
6 files changed, 11 insertions, 11 deletions
diff --git a/wp-admin/wpmu-admin.php b/wp-admin/wpmu-admin.php index 87ee927..3b0e9ae 100644 --- a/wp-admin/wpmu-admin.php +++ b/wp-admin/wpmu-admin.php @@ -23,7 +23,7 @@ switch( $_GET[ 'action' ] ) { <p> <input name="action" value="users" type="hidden" /> <input name="s" value="" size="17" type="text" /> -<input name="submit" value="Search Users »" type="submit" /> +<input name="submit" value="<?php _e("Search Users »"); ?>" type="submit" /> </p> </form> @@ -31,7 +31,7 @@ switch( $_GET[ 'action' ] ) { <p> <input type='hidden' name='action' value='blogs' /> <input type="text" name="s" value="" size="17" /> -<input type="submit" name="submit" value="Search Blogs »" /> +<input type="submit" name="submit" value="<?php _e("Search Blogs »"); ?>" /> </p> </form> <?php diff --git a/wp-admin/wpmu-edit.php b/wp-admin/wpmu-edit.php index f891694..8ed23f2 100644 --- a/wp-admin/wpmu-edit.php +++ b/wp-admin/wpmu-edit.php @@ -399,7 +399,7 @@ switch( $_REQUEST[ 'action' ] ) { break; case "confirm": ?> - <html><head><title>Please confirm your action</title></head><body><h1>Please Confirm</h1><form action='wpmu-edit.php' method='POST'><input type='hidden' name='action' value='<?php echo wp_specialchars( $_GET[ 'action2' ] ) ?>'><input type='hidden' name='id' value='<?php echo wp_specialchars( $_GET[ 'id' ] ); ?>'><input type='hidden' name='ref' value='<?php if( isset( $_GET[ 'ref' ] ) ) {echo wp_specialchars( $_GET[ 'ref' ] ); } else { echo $_SERVER[ 'HTTP_REFERER' ]; } ?>'><?php wp_nonce_field( $_GET[ 'action2' ] ) ?><p><?php echo wp_specialchars( $_GET[ 'msg' ] ) ?></p><input type='submit' value='Confirm'></form></body></html> + <html><head><title><?php _e("Please confirm your action"); ?></title></head><body><h1><?php _e("Please Confirm"); ?></h1><form action='wpmu-edit.php' method='POST'><input type='hidden' name='action' value='<?php echo wp_specialchars( $_GET[ 'action2' ] ) ?>'><input type='hidden' name='id' value='<?php echo wp_specialchars( $_GET[ 'id' ] ); ?>'><input type='hidden' name='ref' value='<?php if( isset( $_GET[ 'ref' ] ) ) {echo wp_specialchars( $_GET[ 'ref' ] ); } else { echo $_SERVER[ 'HTTP_REFERER' ]; } ?>'><?php wp_nonce_field( $_GET[ 'action2' ] ) ?><p><?php echo wp_specialchars( $_GET[ 'msg' ] ) ?></p><input type='submit' value='<?php _e("Confirm"); ?>'></form></body></html> <?php break; default: diff --git a/wp-admin/wpmu-options.php b/wp-admin/wpmu-options.php index 0903fda..c26650d 100644 --- a/wp-admin/wpmu-options.php +++ b/wp-admin/wpmu-options.php @@ -101,7 +101,7 @@ if (isset($_GET['updated'])) { <th width="33%" scope="row"><?php _e('Default Language:') ?></th> <td><select name="WPLANG" id="WPLANG"> <?php - echo "<option value=''>Default</option>"; + echo "<option value=''>".__('Default')."</option>"; while( list( $key, $val ) = each( $lang_files ) ) { $l = basename( $val, ".mo" ); echo "<option value='$l'"; @@ -119,7 +119,7 @@ if (isset($_GET['updated'])) { <fieldset class="options"> <legend><?php _e('Menus <em>(Enable or disable WP Backend Menus)</em>') ?></legend> <table cellspacing="2" cellpadding="5" class="editform"> - <tr><th scope='row'>Menu</th><th scope='row'>Enabled</th></tr> + <tr><th scope='row'><?php _e("Menu"); ?></th><th scope='row'><?php _e("Enabled"); ?></th></tr> <?php $menu_perms = get_site_option( "menu_items" ); $menu_items = array( "plugins" ); diff --git a/wp-admin/wpmu-upgrade-site.php b/wp-admin/wpmu-upgrade-site.php index ae0f9ee..67707f2 100644 --- a/wp-admin/wpmu-upgrade-site.php +++ b/wp-admin/wpmu-upgrade-site.php @@ -44,7 +44,7 @@ switch( $_GET[ 'action' ] ) { } print "</ul>"; ?> - <p>If your browser doesn't start loading the next page automatically click this link: <a href="?action=upgrade&n=<?php echo ($n + 5) ?>">Next Blogs</a> </p> + <p><?php _e("If your browser doesn't start loading the next page automatically click this link:"); ?> <a href="?action=upgrade&n=<?php echo ($n + 5) ?>"><?php _e("Next Blogs"); ?></a> </p> <script language='javascript'> <!-- @@ -57,13 +57,13 @@ switch( $_GET[ 'action' ] ) { </script> <?php } else { - print "All Done!"; + _e("All Done!"); } break; default: ?> - <p>You can upgrade all the blogs on your site through this page. It works by calling the upgrade script of each blog automatically. Hit the link below to upgrade.</p> - <p><a href="wpmu-upgrade-site.php?action=upgrade">Upgrade Site</a></p> + <p><?php _e("You can upgrade all the blogs on your site through this page. It works by calling the upgrade script of each blog automatically. Hit the link below to upgrade."); ?></p> + <p><a href="wpmu-upgrade-site.php?action=upgrade"><?php _e("Upgrade Site"); ?></a></p> <?php break; diff --git a/wp-admin/wpmu-users.php b/wp-admin/wpmu-users.php index 989c6cb..1a2aad4 100644 --- a/wp-admin/wpmu-users.php +++ b/wp-admin/wpmu-users.php @@ -159,7 +159,7 @@ switch( $_GET[ 'action' ] ) { $next = true; } ?> -<h2>Users</h2> +<h2><?php _e("Users"); ?></h2> <form name="searchform" action="wpmu-users.php" method="get" style="float: left; width: 16em; margin-right: 3em;"> <table><tr><td> <fieldset> diff --git a/wp-login.php b/wp-login.php index 59f9399..0dd8d6b 100644 --- a/wp-login.php +++ b/wp-login.php @@ -64,7 +64,7 @@ function login_header($title = 'Login', $message = '') { } echo '<div id="login_error">' . apply_filters('login_errors', $errors) . "</div>\n"; - echo "<p align='center'><strong>Note:</strong> You must <a style=\"color: #fff;\" href='http://www.google.com/cookies.html'>enable cookies</a> to use this site.</p>"; + echo "<p align='center'>".__("<strong>Note:</strong> You must <a style=\"color: #fff;\" href='http://www.google.com/cookies.html'>enable cookies</a> to use this site.")."</p>"; } } // End of login_header() |