[wp-meta] [Making WordPress.org] #1149: Plugin Directory welcome string needs proper plural forums
Making WordPress.org
noreply at wordpress.org
Mon Jul 27 21:50:09 UTC 2015
#1149: Plugin Directory welcome string needs proper plural forums
---------------------------+------------------------------
Reporter: SergeyBiryukov | Owner:
Type: defect | Status: new
Priority: normal | Component: Plugin Directory
Keywords: |
---------------------------+------------------------------
There's a string on the [https://wordpress.org/plugins/ Plugin Directory]
front page:
{{{
<strong>%s</strong> plugins with <strong>%s</strong> total downloads are
at your fingertips.
}}}
It's not localizable due to the lack of `_n()`. Unless a better option
emerges, it should be something like:
{{{
printf( __( '%s with %s are at your fingertips' ),
sprintf( _n( '%s plugin', '%s plugins', $count ), '<strong>' .
number_format_i18n( $count ) . '</strong>' ),
sprintf( _n( '%s total download', '%s total downloads', $downloads
), '<strong>' . number_format_i18n( $downloads ) . '</strong>' ),
);
}}}
If we could round the values (39,000+ plugins with 987,841,000+
downloads), that would help too.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1149>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list