Make the subject in "wp-cat2tag.php" translatable. Fixes #7137 props msi08.

git-svn-id: http://svn.automattic.com/wordpress/trunk@8080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2008-06-14 15:08:53 +00:00
parent fa01d74d51
commit d367c296f1
1 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ class WP_Categories_to_Tags {
echo '<br class="clear" />';
if ( $cat_num > 0 ) {
echo '<h2>Convert Categories (' . $cat_num . ') to Tags.</h2>';
echo '<h2>' . sprintf( __ngettext( 'Convert Category to Tag.', 'Convert Categories (%d) to Tags.', $cat_num ), $cat_num ) . '</h2>';
echo '<div class="narrow">';
echo '<p>' . __('Hey there. Here you can selectively converts existing categories to tags. To get started, check the categories you wish to be converted, then click the Convert button.') . '</p>';
echo '<p>' . __('Keep in mind that if you convert a category with child categories, the children become top-level orphans.') . '</p></div>';
@ -125,7 +125,7 @@ function check_all_rows() {
echo '<br class="clear" />';
if ( $tags_num > 0 ) {
echo '<h2>Convert Tags (' . $tags_num . ') to Categories.</h2>';
echo '<h2>' . sprintf( __ngettext( 'Convert Tag to Category.', 'Convert Tags (%d) to Categories.', $tags_num ), $tags_num ) . '</h2>';
echo '<div class="narrow">';
echo '<p>' . __('Here you can selectively converts existing tags to categories. To get started, check the tags you wish to be converted, then click the Convert button.') . '</p>';
echo '<p>' . __('The newly created categories will still be associated with the same posts.') . '</p></div>';
@ -457,4 +457,4 @@ $wp_cat2tag_importer = new WP_Categories_to_Tags();
register_importer('wp-cat2tag', __('Categories and Tags Converter'), __('Convert existing categories to tags or tags to categories, selectively.'), array(&$wp_cat2tag_importer, 'init'));
?>
?>