mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
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:
@@ -201,7 +201,7 @@ class Textpattern_Import {
|
||||
|
||||
// Store category translation for future use
|
||||
add_option('txpcat2wpcat',$txpcat2wpcat);
|
||||
echo '<p>'.sprintf(__ngettext('Done! <strong>%1$s</strong> category imported.', 'Done! <strong>%1$s</strong> categories imported.', $count), $count).'<br /><br /></p>';
|
||||
echo '<p>'.sprintf(_n('Done! <strong>%1$s</strong> category imported.', 'Done! <strong>%1$s</strong> categories imported.', $count), $count).'<br /><br /></p>';
|
||||
return true;
|
||||
}
|
||||
echo __('No Categories to Import!');
|
||||
@@ -486,7 +486,7 @@ class Textpattern_Import {
|
||||
}
|
||||
add_option('txplinks2wplinks',$txplinks2wplinks);
|
||||
echo '<p>';
|
||||
printf(__ngettext('Done! <strong>%s</strong> link imported', 'Done! <strong>%s</strong> links imported', $count), $count);
|
||||
printf(_n('Done! <strong>%s</strong> link imported', 'Done! <strong>%s</strong> links imported', $count), $count);
|
||||
echo '<br /><br /></p>';
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user