Make WordPress Core

Changeset 8080


Ignore:
Timestamp:
06/14/2008 03:08:53 PM (17 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/wp-cat2tag.php

    r8077 r8080  
    5151
    5252        if ( $cat_num > 0 ) {
    53             echo '<h2>Convert Categories (' . $cat_num . ') to Tags.</h2>';
     53            echo '<h2>' . sprintf( __ngettext( 'Convert Category to Tag.', 'Convert Categories (%d) to Tags.', $cat_num ), $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>';
     
    126126
    127127        if ( $tags_num > 0 ) {
    128             echo '<h2>Convert Tags (' . $tags_num . ') to Categories.</h2>';
     128            echo '<h2>' . sprintf( __ngettext( 'Convert Tag to Category.', 'Convert Tags (%d) to Categories.', $tags_num ), $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>';
Note: See TracChangeset for help on using the changeset viewer.