diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php
index c761e8c5a1..a46a8c28ff 100644
--- a/wp-admin/edit-comments.php
+++ b/wp-admin/edit-comments.php
@@ -68,7 +68,7 @@ if ( !empty( $_POST['delete_comments'] ) ) :
endforeach;
echo '
';
if ( !empty( $_POST['spam_button'] ) ) {
- printf(__ngettext('%s comment marked as spam', '%s comments marked as spam.', $i), $i);
+ printf(__ngettext('%s comment marked as spam.', '%s comments marked as spam.', $i), $i);
} else {
printf(__ngettext('%s comment deleted.', '%s comments deleted.', $i), $i);
}
diff --git a/wp-admin/import/blogware.php b/wp-admin/import/blogware.php
index d85fd92107..3f4155daf8 100644
--- a/wp-admin/import/blogware.php
+++ b/wp-admin/import/blogware.php
@@ -141,7 +141,7 @@ class BW_Import {
}
if ( $num_comments ) {
echo ' ';
- printf(__('(%s comments)'), $num_comments);
+ printf( __ngettext('%s comment', '%s comments', $num_comments), $num_comments );
}
echo '';
flush();
diff --git a/wp-admin/import/btt.php b/wp-admin/import/btt.php
index 5972e30b75..9a2dacf6b4 100644
--- a/wp-admin/import/btt.php
+++ b/wp-admin/import/btt.php
@@ -68,7 +68,7 @@ class BunnyTags_Import {
return false;
} else {
$count = count($metakeys);
- echo '
' . sprintf( __('Done! %s posts with tags were read.'), $count ) . '
';
+ echo '
' . sprintf( __ngettext('Done! %s post with tags were read.', 'Done! %s posts with tags were read.', $count), $count ) . '
';
echo '
';
foreach ( $metakeys as $post_meta ) {
if ( $post_meta->meta_value != '' ) {
diff --git a/wp-admin/import/dotclear.php b/wp-admin/import/dotclear.php
index 1bf0486015..42e1040b85 100644
--- a/wp-admin/import/dotclear.php
+++ b/wp-admin/import/dotclear.php
@@ -526,7 +526,7 @@ class Dotclear_Import {
}
add_option('dclinks2wplinks',$dclinks2wplinks);
echo '';
- printf(__('Done! %s links or link categories imported'), $count);
+ printf(__ngettext('Done! %s link or link category imported.', 'Done! %s links or link categories imported.', $count), $count);
echo '
';
return true;
}
diff --git a/wp-admin/import/greymatter.php b/wp-admin/import/greymatter.php
index 6e92235ddd..305e25f62c 100644
--- a/wp-admin/import/greymatter.php
+++ b/wp-admin/import/greymatter.php
@@ -272,12 +272,12 @@ class GM_Import {
}
if ($numAddedComments > 0) {
echo ': ';
- printf(__('imported %d comment(s)'), $numAddedComments);
+ printf(__('imported %s'), sprintf( __ngettext('%s comment', '%s comments', $numAddedComments) , $numAddedComments) );
}
$preExisting = $numComments - numAddedComments;
if ($preExisting > 0) {
echo ' ';
- printf(__('ignored %d pre-existing comments'), $preExisting);
+ printf(__('ignored %s'), sprintf( __ngettext( '%s pre-existing comment', '%s pre-existing comments', $preExisting ) , $preExisting) );
}
}
echo '... '.__('Done').'';
diff --git a/wp-admin/import/jkw.php b/wp-admin/import/jkw.php
index 212ee9f826..c9bffd2a3f 100644
--- a/wp-admin/import/jkw.php
+++ b/wp-admin/import/jkw.php
@@ -84,7 +84,7 @@ class JeromesKeyword_Import {
return false;
} else {
$count = count($metakeys);
- echo '' . sprintf( __('Done! %s posts with tags were read.'), $count ) . '
';
+ echo '' . sprintf( __ngettext('Done! %s post with tags were read.', 'Done! %s posts with tags were read.', $count), $count ) . '
';
echo '';
foreach ( $metakeys as $post_meta ) {
if ( $post_meta->meta_value != '' ) {
@@ -125,7 +125,7 @@ class JeromesKeyword_Import {
return false;
} else {
$count = count($metakeys);
- echo '' . sprintf( __('Done! %s tags were read.'), $count ) . '
';
+ echo '' . sprintf( __ngettext('Done! %s tag were read.', 'Done! %s tags were read.', $count), $count ) . '
';
echo '';
foreach ( $metakeys as $post_meta ) {
$keyword = addslashes(trim($post_meta->tag_name));
diff --git a/wp-admin/import/livejournal.php b/wp-admin/import/livejournal.php
index 81f0365ace..c820ecb443 100644
--- a/wp-admin/import/livejournal.php
+++ b/wp-admin/import/livejournal.php
@@ -119,7 +119,7 @@ class LJ_Import {
}
if ( $num_comments ) {
echo ' ';
- printf(__('(%s comments)'), $num_comments);
+ printf(__ngettext('(%s comment)', '(%s comments)', $num_comments), $num_comments);
}
echo '';
}
diff --git a/wp-admin/import/mt.php b/wp-admin/import/mt.php
index d18ef46424..50a03534e4 100644
--- a/wp-admin/import/mt.php
+++ b/wp-admin/import/mt.php
@@ -238,7 +238,7 @@ class MT_Import {
}
if ( $num_comments )
- printf(' '.__('(%s comments)'), $num_comments);
+ printf(' '.__ngettext('(%s comment)', '(%s comments)', $num_comments), $num_comments);
$num_pings = 0;
foreach ( $pings as $ping ) {
@@ -255,7 +255,7 @@ class MT_Import {
}
if ( $num_pings )
- printf(' '.__('(%s pings)'), $num_pings);
+ printf(' '.__ngettext('(%s ping)', '(%s pings)', $num_pings), $num_pings);
echo "";
//ob_flush();flush();
diff --git a/wp-admin/import/stp.php b/wp-admin/import/stp.php
index 50d69dfee7..dee6fb567a 100644
--- a/wp-admin/import/stp.php
+++ b/wp-admin/import/stp.php
@@ -73,7 +73,7 @@ class STP_Import {
add_option('stpimp_posts', $posts);
$count = count($posts);
- echo '' . sprintf( __('Done! %s tag to post relationships were read.'), $count ) . '
';
+ echo '' . sprintf( __ngettext('Done! %s tag to post relationships were read.', 'Done! %s tags to post relationships were read.', $count), $count ) . '
';
}
echo '