Make WordPress Core


Ignore:
Timestamp:
09/05/2006 06:52:24 PM (18 years ago)
Author:
ryan
Message:

i18n fixes from nbachiyski. fixes #3109

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/wordpress.php

    r3776 r4165  
    149149        foreach ($authors as $author) {
    150150            ++ $j;
    151             echo '<li>Current author: <strong>'.$author.'</strong><br />'.'Create user <input type="text" value="'.$author.'" name="'.'user[]'.'" maxlength="30"> <br /> or map to existing ';
     151            echo '<li>'.__('Current author:').' <strong>'.$author.'</strong><br />'.sprintf(__('Create user %1$s or map to existing'), ' <input type="text" value="'.$author.'" name="'.'user[]'.'" maxlength="30"> <br />');
    152152            $this->users_form($j);
    153153            echo '</li>';
     
    164164        if ( isset($file['error']) ) {
    165165            $this->header();
    166             echo '<p>Sorry, there has been an error.</p>';
     166            echo '<p>'.__('Sorry, there has been an error.').'</p>';
    167167            echo '<p><strong>' . $file['error'] . '</strong></p>';
    168168            $this->footer();
     
    249249                } }
    250250                if ( $num_comments )
    251                     printf(__(' (%s comments)'), $num_comments);
     251                    printf(' '.__('(%s comments)'), $num_comments);
    252252
    253253                // Now for post meta
     
    267267        wp_import_cleanup($this->id);
    268268
    269         echo '<h3>'.sprintf(__('All done. <a href="%s">Have fun!</a>'), get_option('home')).'</h3>';
     269        echo '<h3>'.sprintf(__('All done.').' <a href="%s">'.__('Have fun!').'</a>', get_option('home')).'</h3>';
    270270    }
    271271
Note: See TracChangeset for help on using the changeset viewer.