X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/11be8dc178e77d0b46189bbd8e33a216a9b90942..refs/tags/wordpress-2.9:/wp-admin/import/mt.php diff --git a/wp-admin/import/mt.php b/wp-admin/import/mt.php index 48d4de3b..548e9ede 100644 --- a/wp-admin/import/mt.php +++ b/wp-admin/import/mt.php @@ -1,15 +1,15 @@ header(); ?>
-

mt-export.txt in your /wp-content/ directory and then click "Import mt-export.txt"'); ?>

+

mt-export.txt in your /wp-content/ directory and then click "Import mt-export.txt"'); ?>

-
+

mt-export.txt in your /wp-content/ directory'); ?>

- +

-

out of memory error try splitting up the import file into pieces.'); ?>

+

out of memory error try splitting up the import file into pieces.'); ?>

footer(); @@ -194,9 +194,9 @@ class MT_Import {

-

+

italics. For each of these names, you can either pick an author in your WordPress installation from the menu, or enter a name for the author in the textbox.'); ?>

-

+

'; @@ -288,7 +288,7 @@ class MT_Import { } if ( $num_comments ) - printf(' '.__ngettext('(%s comment)', '(%s comments)', $num_comments), $num_comments); + printf(' '._n('(%s comment)', '(%s comments)', $num_comments), $num_comments); $num_pings = 0; foreach ( $pings as $ping ) { @@ -305,7 +305,7 @@ class MT_Import { } if ( $num_pings ) - printf(' '.__ngettext('(%s ping)', '(%s pings)', $num_pings), $num_pings); + printf(' '._n('(%s ping)', '(%s pings)', $num_pings), $num_pings); echo ""; //ob_flush();flush(); @@ -438,10 +438,10 @@ class MT_Import { $ping->comment_author = $blog; } else { // Processing multi-line field, check context. - + if( !empty($line) ) $line .= "\n"; - + if ( 'body' == $context ) { $post->post_content .= $line; } else if ( 'extended' == $context ) { @@ -510,5 +510,5 @@ class MT_Import { $mt_import = new MT_Import(); -register_importer('mt', __('Movable Type and TypePad'), __('Import posts and comments from a Movable Type or Typepad blog.'), array ($mt_import, 'dispatch')); +register_importer('mt', __('Movable Type and TypePad'), __('Import posts and comments from a Movable Type or TypePad blog.'), array ($mt_import, 'dispatch')); ?>