Use __ngettext() for plurals. Props darkdragon. see #4865

git-svn-id: https://develop.svn.wordpress.org/trunk@6430 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-12-20 17:05:06 +00:00
parent 51bb6ffc85
commit d20eeb048b
14 changed files with 22 additions and 21 deletions

View File

@@ -462,7 +462,7 @@ class Textpattern_Import {
}
add_option('txplinks2wplinks',$txplinks2wplinks);
echo '<p>';
printf(__('Done! <strong>%s</strong> Links imported'), $count);
printf(__ngettext('Done! <strong>%s</strong> link imported', 'Done! <strong>%s</strong> links imported', $count), $count);
echo '<br /><br /></p>';
return true;
}