Make WordPress Core


Ignore:
Timestamp:
02/20/2009 07:35:16 PM (13 years ago)
Author:
ryan
Message:

Use _n(). Props nbachiyski. fixes #9111

File:
1 edited

Legend:

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

    r9903 r10606  
    6666        if ( $cat_num > 0 ) {
    6767            screen_icon();
    68             echo '<h2>' . sprintf( __ngettext( 'Convert Category to Tag.', 'Convert Categories (%d) to Tags.', $cat_num ), $cat_num ) . '</h2>';
     68            echo '<h2>' . sprintf( _n( 'Convert Category to Tag.', 'Convert Categories (%d) to Tags.', $cat_num ), $cat_num ) . '</h2>';
    6969            echo '<div class="narrow">';
    7070            echo '<p>' . __('Hey there. Here you can selectively convert existing categories to tags. To get started, check the categories you wish to be converted, then click the Convert button.') . '</p>';
     
    142142        if ( $tags_num > 0 ) {
    143143            screen_icon();
    144             echo '<h2>' . sprintf( __ngettext( 'Convert Tag to Category.', 'Convert Tags (%d) to Categories.', $tags_num ), $tags_num ) . '</h2>';
     144            echo '<h2>' . sprintf( _n( 'Convert Tag to Category.', 'Convert Tags (%d) to Categories.', $tags_num ), $tags_num ) . '</h2>';
    145145            echo '<div class="narrow">';
    146146            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.