WordPress.org

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

    r9933 r10606  
    284284                if ($numAddedComments > 0) {
    285285                    echo ': ';
    286                 printf( __ngettext('imported %s comment', 'imported %s comments', $numAddedComments) , $numAddedComments);
     286                printf( _n('imported %s comment', 'imported %s comments', $numAddedComments) , $numAddedComments);
    287287                }
    288288                $preExisting = $numComments - numAddedComments;
    289289                if ($preExisting > 0) {
    290290                    echo ' ';
    291                     printf( __ngettext( 'ignored %s pre-existing comment', 'ignored %s pre-existing comments', $preExisting ) , $preExisting);
     291                    printf( _n( 'ignored %s pre-existing comment', 'ignored %s pre-existing comments', $preExisting ) , $preExisting);
    292292                }
    293293            }
Note: See TracChangeset for help on using the changeset viewer.