Changeset 945

Show
Ignore:
Timestamp:
03/28/07 16:51:28 (2 years ago)
Author:
donncha
Message:

Internationalisation, thanks momo360modena for changes! fixes #283

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/wpmu-admin.php

    r784 r945  
    2424<input name="action" value="users" type="hidden" /> 
    2525<input name="s" value="" size="17" type="text" />  
    26 <input name="submit" value="Search Users &raquo;" type="submit" /> 
     26<input name="submit" value="<?php _e("Search Users &raquo;"); ?>" type="submit" /> 
    2727</p>  
    2828</form> 
     
    3232<input type='hidden' name='action' value='blogs' /> 
    3333<input type="text" name="s" value="" size="17" /> 
    34 <input type="submit" name="submit" value="Search Blogs &raquo;" /> 
     34<input type="submit" name="submit" value="<?php _e("Search Blogs &raquo;"); ?>" /> 
    3535</p> 
    3636</form> 
  • trunk/wp-admin/wpmu-edit.php

    r936 r945  
    400400        case "confirm": 
    401401        ?> 
    402                 <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> 
     402                <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> 
    403403        <?php 
    404404        break; 
  • trunk/wp-admin/wpmu-options.php

    r869 r945  
    102102                        <td><select name="WPLANG" id="WPLANG"> 
    103103                        <?php 
    104                         echo "<option value=''>Default</option>"; 
     104                        echo "<option value=''>".__('Default')."</option>"; 
    105105                        while( list( $key, $val ) = each( $lang_files ) ) {  
    106106                                $l = basename( $val, ".mo" ); 
     
    120120                <legend><?php _e('Menus <em>(Enable or disable WP Backend Menus)</em>') ?></legend>  
    121121                <table cellspacing="2" cellpadding="5" class="editform">  
    122                 <tr><th scope='row'>Menu</th><th scope='row'>Enabled</th></tr> 
     122                <tr><th scope='row'><?php _e("Menu"); ?></th><th scope='row'><?php _e("Enabled"); ?></th></tr> 
    123123                <?php 
    124124                $menu_perms = get_site_option( "menu_items" ); 
  • trunk/wp-admin/wpmu-upgrade-site.php

    r694 r945  
    4545                        print "</ul>"; 
    4646                        ?> 
    47                         <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> 
     47                        <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> 
    4848                        <script language='javascript'> 
    4949                        <!-- 
     
    5858                        <?php 
    5959                } else { 
    60                         print "All Done!"
     60                        _e("All Done!")
    6161                } 
    6262        break; 
    6363        default: 
    6464        ?> 
    65                 <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> 
    66                 <p><a href="wpmu-upgrade-site.php?action=upgrade">Upgrade Site</a></p> 
     65                <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> 
     66                <p><a href="wpmu-upgrade-site.php?action=upgrade"><?php _e("Upgrade Site"); ?></a></p> 
    6767        <?php 
    6868        break; 
  • trunk/wp-admin/wpmu-users.php

    r944 r945  
    160160                } 
    161161?> 
    162 <h2>Users</h2> 
     162<h2><?php _e("Users"); ?></h2> 
    163163<form name="searchform" action="wpmu-users.php" method="get" style="float: left; width: 16em; margin-right: 3em;">  
    164164  <table><tr><td> 
  • trunk/wp-login.php

    r909 r945  
    6565 
    6666                echo '<div id="login_error">' . apply_filters('login_errors', $errors) . "</div>\n"; 
    67                 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>"; 
     67                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>"; 
    6868        } 
    6969} // End of login_header()