Make WordPress Core

Ticket #7137: wp-cat2tag.patch

File wp-cat2tag.patch, 1.3 KB (added by msi08, 17 years ago)
  • wp-admin/import/wp-cat2tag.php

    old new  
    5050                echo '<br class="clear" />';
    5151
    5252                if ( $cat_num > 0 ) {
    53                         echo '<h2>Convert Categories (' . $cat_num . ') to Tags.</h2>';
     53                        echo '<h2>' . sprintf( __( 'Convert Categories (%d) to Tags.' ), $cat_num ) . '</h2>';
    5454                        echo '<div class="narrow">';
    5555                        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>';
    5656                        echo '<p>' . __('Keep in mind that if you convert a category with child categories, the children become top-level orphans.') . '</p></div>';
     
    125125                echo '<br class="clear" />';
    126126
    127127                if ( $tags_num > 0 ) {
    128                         echo '<h2>Convert Tags (' . $tags_num . ') to Categories.</h2>';
     128                        echo '<h2>' . sprintf( __( 'Convert Tags (%d) to Categories.' ), $tags_num ) . '</h2>';
    129129                        echo '<div class="narrow">';
    130130                        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>';
    131131                        echo '<p>' . __('The newly created categories will still be associated with the same posts.') . '</p></div>';