Make WordPress Core


Ignore:
Timestamp:
12/02/2005 10:37:02 PM (19 years ago)
Author:
ryan
Message:

i18n fixes from nbachiyski. #2006

File:
1 edited

Legend:

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

    r3204 r3262  
    2222        $this->header();
    2323?>
    24 <p>Howdy! We&#8217;re about to begin the process to import all of your Movable Type entries into WordPress. To begin, select a file to upload and click Import.</p>
     24<p><?php _e('Howdy! We&#8217;re about to begin the process to import all of your Movable Type entries into WordPress. To begin, select a file to upload and click Import.'); ?></p>
    2525<?php wp_import_upload_form( add_query_arg('step', 1) ); ?>
    26 <p>The importer is smart enough not to import duplicates, so you can run this multiple times without worry if&#8212;for whatever reason&#8212;it doesn't finish. If you get an <strong>out of memory</strong> error try splitting up the import file into pieces. </p>
     26    <p><?php _e('The importer is smart enough not to import duplicates, so you can run this multiple times without worry if&#8212;for whatever reason&#8212;it doesn\'t finish. If you get an <strong>out of memory</strong> error try splitting up the import file into pieces.'); ?> </p>
    2727<?php
    2828        $this->footer();
     
    179179                ++ $i;
    180180                unset ($post_categories);
    181                 echo "<li>Processing post... ";
     181                echo '<li>'.__('Processing post...');
    182182
    183183                // Take the pings out first
     
    271271                // Let's check to see if it's in already
    272272                if ($post_id = posts_exists($post_title, '', $post_date)) {
    273                     echo "Post already imported.";
     273                    _e('Post already imported.');
    274274                } else {
    275275                    $post_author = checkauthor($post_author); //just so that if a post already exists, new users are not created by checkauthor
     
    281281                        wp_create_categories($post_categories);
    282282                    }
    283                     echo " Post imported successfully...";
     283                    _e(' Post imported successfully...');
    284284                }
    285285
     
    363363                            $commentdata = wp_filter_comment($commentdata);
    364364                            wp_insert_comment($commentdata);
    365                             echo "Comment added.";
     365                            _e('Comment added.');
    366366                        }
    367367                    }
Note: See TracChangeset for help on using the changeset viewer.