Make WordPress Core


Ignore:
Timestamp:
12/20/2007 05:05:06 PM (17 years ago)
Author:
ryan
Message:

Use ngettext() for plurals. Props darkdragon. see #4865

File:
1 edited

Legend:

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

    r6171 r6430  
    239239
    240240        if ( $num_comments )
    241             printf(' '.__('(%s comments)'), $num_comments);
     241            printf(' '.__ngettext('(%s comment)', '(%s comments)', $num_comments), $num_comments);
    242242
    243243        $num_pings = 0;
     
    256256
    257257        if ( $num_pings )
    258             printf(' '.__('(%s pings)'), $num_pings);
     258            printf(' '.__ngettext('(%s ping)', '(%s pings)', $num_pings), $num_pings);
    259259
    260260        echo "</li>";
Note: See TracChangeset for help on using the changeset viewer.