WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/21/2010 09:37:43 PM (12 years ago)
Author:
ryan
Message:

i18n fixes. Props nbachiyski. fixes #11954

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/maint/repair.php

    r12788 r12789  
    2020
    2121if ( !defined('WP_ALLOW_REPAIR') ) {
    22     _e("<p>To allow use of this page to automatically repair database problems, please add the following line to your wp-config.php file.  Once this line is added to your config, reload this page.</p><code>define('WP_ALLOW_REPAIR', true);</code>");
     22    echo '<p>'.__('To allow use of this page to automatically repair database problems, please add the following line to your wp-config.php file.  Once this line is added to your config, reload this page.')."</p><code>define('WP_ALLOW_REPAIR', true);</code>";
    2323} elseif ( isset($_GET['repair']) ) {
    2424    $problems = array();
     
    6767
    6868    if ( !empty($problems) ) {
    69         printf(__('<p>Some database problems could not be repaired. Please copy-and-paste the following list of errors to the <a href="%s">WordPress support forums</a> to get additional assistance.</p>'), 'http://wordpress.org/support/forum/3');
     69        printf('<p>'.__('Some database problems could not be repaired. Please copy-and-paste the following list of errors to the <a href="%s">WordPress support forums</a> to get additional assistance.').'</p>', 'http://wordpress.org/support/forum/3');
    7070        $problem_output = array();
    7171        foreach ( $problems as $table => $problem )
     
    7373        echo '<textarea name="errors" id="errors" rows="20" cols="60">' . format_to_edit(implode("\n", $problem_output)) . '</textarea>';
    7474    } else {
    75         _e("<p>Repairs complete.  Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.</p><code>define('WP_ALLOW_REPAIR', true);</code>");
     75        echo '<p>'.__('Repairs complete.  Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.')."</p><code>define('WP_ALLOW_REPAIR', true);</code>";
    7676    }
    7777} else {
Note: See TracChangeset for help on using the changeset viewer.