From 0366c40414f2be531c9e9b4d051bbb94bd75218e Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Sat, 14 Jun 2008 15:08:53 +0000 Subject: [PATCH] Make the subject in "wp-cat2tag.php" translatable. Fixes #7137 props msi08. git-svn-id: https://develop.svn.wordpress.org/trunk@8080 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/import/wp-cat2tag.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/import/wp-cat2tag.php b/wp-admin/import/wp-cat2tag.php index 3c57c9a1b7..e2d1a74684 100644 --- a/wp-admin/import/wp-cat2tag.php +++ b/wp-admin/import/wp-cat2tag.php @@ -50,7 +50,7 @@ class WP_Categories_to_Tags { echo '
'; if ( $cat_num > 0 ) { - echo '

Convert Categories (' . $cat_num . ') to Tags.

'; + echo '

' . sprintf( __ngettext( 'Convert Category to Tag.', 'Convert Categories (%d) to Tags.', $cat_num ), $cat_num ) . '

'; echo '
'; echo '

' . __('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.') . '

'; echo '

' . __('Keep in mind that if you convert a category with child categories, the children become top-level orphans.') . '

'; @@ -125,7 +125,7 @@ function check_all_rows() { echo '
'; if ( $tags_num > 0 ) { - echo '

Convert Tags (' . $tags_num . ') to Categories.

'; + echo '

' . sprintf( __ngettext( 'Convert Tag to Category.', 'Convert Tags (%d) to Categories.', $tags_num ), $tags_num ) . '

'; echo '
'; echo '

' . __('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.') . '

'; echo '

' . __('The newly created categories will still be associated with the same posts.') . '

'; @@ -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')); -?> \ No newline at end of file +?>