Make WordPress Core


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

Use _n(). Props nbachiyski. fixes #9111

File:
1 edited

Legend:

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

    r9903 r10606  
    202202            // Store category translation for future use
    203203            add_option('txpcat2wpcat',$txpcat2wpcat);
    204             echo '<p>'.sprintf(__ngettext('Done! <strong>%1$s</strong> category imported.', 'Done! <strong>%1$s</strong> categories imported.', $count), $count).'<br /><br /></p>';
     204            echo '<p>'.sprintf(_n('Done! <strong>%1$s</strong> category imported.', 'Done! <strong>%1$s</strong> categories imported.', $count), $count).'<br /><br /></p>';
    205205            return true;
    206206        }
     
    487487            add_option('txplinks2wplinks',$txplinks2wplinks);
    488488            echo '<p>';
    489             printf(__ngettext('Done! <strong>%s</strong> link imported', 'Done! <strong>%s</strong> links imported', $count), $count);
     489            printf(_n('Done! <strong>%s</strong> link imported', 'Done! <strong>%s</strong> links imported', $count), $count);
    490490            echo '<br /><br /></p>';
    491491            return true;
Note: See TracChangeset for help on using the changeset viewer.