[wp-meta] [Making WordPress.org] #2268: Use of plural without ngettext in wporg-forums/functions.php

Making WordPress.org noreply at wordpress.org
Sun Nov 27 04:16:51 UTC 2016


#2268: Use of plural without ngettext in wporg-forums/functions.php
------------------------------+------------------
 Reporter:  tobifjellner      |       Owner:
     Type:  defect            |      Status:  new
 Priority:  low               |   Milestone:
Component:  Plugin Directory  |  Resolution:
 Keywords:  needs-patch       |
------------------------------+------------------

Comment (by tobifjellner):

 Another place, which really should be corrected is:

 https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
 /wp-content/themes/pub/wporg-plugins/header.php?marks=35#L35

 printf( __( 'Extend your WordPress experience with %s plugins.', 'wporg-
 plugins' ), number_format_i18n( wp_count_posts( 'plugin' )->publish ) );

 Obviously, in English the total count of available plugins is a sounding
 plural. But in Russian, you'll jump between three different forms,
 depending on the last digit:
 1566491 is singular
 6898424 is "dual"
 54218 is plural...
 I this is in a different file (but still inside the same package) as the
 initially named ticket. But I see no reason to spawn any additional
 ticket. I've noted several places in the package that actually would need
 to be changed to ngettext.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2268#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list