summaryrefslogtreecommitdiffstats
path: root/wp-admin/import/stp.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-04-04 16:44:15 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-04-04 16:44:15 +0000
commit7740e89de3e1bc0cc636120e3ca8ab9e97e4d3cc (patch)
treec6fd23b598f3994eddb18cb1c0f2e8d95ff054fa /wp-admin/import/stp.php
parentf650f48c048bfbbb2ae702b6425d87e39358d748 (diff)
Merged with WordPress 2.5, unstable, only for testing
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1218 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/import/stp.php')
-rw-r--r--wp-admin/import/stp.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/wp-admin/import/stp.php b/wp-admin/import/stp.php
index 9d5371c..53b339a 100644
--- a/wp-admin/import/stp.php
+++ b/wp-admin/import/stp.php
@@ -12,13 +12,13 @@ class STP_Import {
function greet() {
echo '<div class="narrow">';
- echo '<p>'.__('Howdy! This imports tags from an existing Simple Tagging 1.6.2 installation into this blog using the new WordPress native tagging structure.').'</p>';
+ echo '<p>'.__('Howdy! This imports tags from Simple Tagging 1.6.2 into WordPress tags.').'</p>';
echo '<p>'.__('This has not been tested on any other versions of Simple Tagging. Mileage may vary.').'</p>';
echo '<p>'.__('To accommodate larger databases for those tag-crazy authors out there, we have made this into an easy 4-step program to help you kick that nasty Simple Tagging habit. Just keep clicking along and we will let you know when you are in the clear!').'</p>';
echo '<p><strong>'.__('Don&#8217;t be stupid - backup your database before proceeding!').'</strong></p>';
echo '<form action="admin.php?import=stp&amp;step=1" method="post">';
wp_nonce_field('import-stp');
- echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 1 &raquo;').'" /></p>';
+ echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 1').'" /></p>';
echo '</form>';
echo '</div>';
}
@@ -70,15 +70,15 @@ class STP_Import {
if ( get_option('stpimp_posts') ) {
delete_option('stpimp_posts');
}
-
+
add_option('stpimp_posts', $posts);
$count = count($posts);
- echo '<p>' . sprintf( __('Done! <strong>%s</strong> tag to post relationships were read.'), $count ) . '<br /></p>';
+ echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> tag to post relationships were read.', 'Done! <strong>%s</strong> tags to post relationships were read.', $count), $count ) . '<br /></p>';
}
echo '<form action="admin.php?import=stp&amp;step=2" method="post">';
wp_nonce_field('import-stp');
- echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 2 &raquo;').'" /></p>';
+ echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 2').'" /></p>';
echo '</form>';
echo '</div>';
}
@@ -87,14 +87,14 @@ class STP_Import {
function import_t2p ( ) {
echo '<div class="narrow">';
echo '<p><h3>'.__('Adding Tags to Posts&#8230;').'</h3></p>';
-
+
// run that funky magic!
$tags_added = $this->tag2post();
-
- echo '<p>' . sprintf( __('Done! <strong>%s</strong> tags where added!'), $tags_added ) . '<br /></p>';
+
+ echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> tag was added!', 'Done! <strong>%s</strong> tags were added!', $tags_added), $tags_added ) . '<br /></p>';
echo '<form action="admin.php?import=stp&amp;step=3" method="post">';
wp_nonce_field('import-stp');
- echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 3 &raquo;').'" /></p>';
+ echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 3').'" /></p>';
echo '</form>';
echo '</div>';
}
@@ -151,5 +151,5 @@ class STP_Import {
$stp_import = new STP_Import();
// add it to the import page!
-register_importer('stp', 'Simple Tagging', __('Import Simple Tagging tags into the new native tagging structure.'), array($stp_import, 'dispatch'));
-?> \ No newline at end of file
+register_importer('stp', 'Simple Tagging', __('Import Simple Tagging tags into WordPress tags.'), array($stp_import, 'dispatch'));
+?>