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
This commit is contained in:
parent
b521db8627
commit
0366c40414
|
@ -50,7 +50,7 @@ class WP_Categories_to_Tags {
|
||||||
echo '<br class="clear" />';
|
echo '<br class="clear" />';
|
||||||
|
|
||||||
if ( $cat_num > 0 ) {
|
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 '<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>' . __('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>';
|
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" />';
|
echo '<br class="clear" />';
|
||||||
|
|
||||||
if ( $tags_num > 0 ) {
|
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 '<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>' . __('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>';
|
echo '<p>' . __('The newly created categories will still be associated with the same posts.') . '</p></div>';
|
||||||
|
|
Loading…
Reference in New Issue