Use _n(). Props nbachiyski. fixes #9111

git-svn-id: https://develop.svn.wordpress.org/trunk@10606 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2009-02-20 19:35:16 +00:00
parent de0b36d4b4
commit 854a8d6341
23 changed files with 61 additions and 61 deletions

View File

@@ -528,7 +528,7 @@ class WP_Import {
} }
if ( $num_comments )
printf(' '.__ngettext('(%s comment)', '(%s comments)', $num_comments), $num_comments);
printf(' '._n('(%s comment)', '(%s comments)', $num_comments), $num_comments);
// Now for post meta
preg_match_all('|<wp:postmeta>(.*?)</wp:postmeta>|is', $post, $postmeta);