Changeset 3262 for trunk/wp-admin/import/mt.php
- Timestamp:
- 12/02/2005 10:37:02 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/mt.php
r3204 r3262 22 22 $this->header(); 23 23 ?> 24 <p> Howdy! We’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’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> 25 25 <?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—for whatever reason—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—for whatever reason—it doesn\'t finish. If you get an <strong>out of memory</strong> error try splitting up the import file into pieces.'); ?> </p> 27 27 <?php 28 28 $this->footer(); … … 179 179 ++ $i; 180 180 unset ($post_categories); 181 echo "<li>Processing post... ";181 echo '<li>'.__('Processing post...'); 182 182 183 183 // Take the pings out first … … 271 271 // Let's check to see if it's in already 272 272 if ($post_id = posts_exists($post_title, '', $post_date)) { 273 echo "Post already imported.";273 _e('Post already imported.'); 274 274 } else { 275 275 $post_author = checkauthor($post_author); //just so that if a post already exists, new users are not created by checkauthor … … 281 281 wp_create_categories($post_categories); 282 282 } 283 echo " Post imported successfully...";283 _e(' Post imported successfully...'); 284 284 } 285 285 … … 363 363 $commentdata = wp_filter_comment($commentdata); 364 364 wp_insert_comment($commentdata); 365 echo "Comment added.";365 _e('Comment added.'); 366 366 } 367 367 }
Note: See TracChangeset
for help on using the changeset viewer.