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/stp.php

    r9903 r10606  
    8989            add_option('stpimp_posts', $posts);
    9090            $count = count($posts);
    91             echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> tag to post relationships were read.', 'Done! <strong>%s</strong> tags to post relationships were read.', $count), $count ) . '<br /></p>';
     91            echo '<p>' . sprintf( _n('Done! <strong>%s</strong> tag to post relationships were read.', 'Done! <strong>%s</strong> tags to post relationships were read.', $count), $count ) . '<br /></p>';
    9292        }
    9393
     
    107107        $tags_added = $this->tag2post();
    108108
    109         echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> tag was added!', 'Done! <strong>%s</strong> tags were added!', $tags_added), $tags_added ) . '<br /></p>';
     109        echo '<p>' . sprintf( _n('Done! <strong>%s</strong> tag was added!', 'Done! <strong>%s</strong> tags were added!', $tags_added), $tags_added ) . '<br /></p>';
    110110        echo '<form action="admin.php?import=stp&amp;step=3" method="post">';
    111111        wp_nonce_field('import-stp');
Note: See TracChangeset for help on using the changeset viewer.