[wp-meta] [Making WordPress.org] #3095: A string in plugin directory needs to use _n()
Making WordPress.org
noreply at wordpress.org
Sun Sep 3 18:49:58 UTC 2017
#3095: A string in plugin directory needs to use _n()
------------------------------+------------------
Reporter: tobifjellner | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Plugin Directory | Resolution:
Keywords: |
------------------------------+------------------
Old description:
> https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
> /wp-content/plugins/plugin-directory/widgets/class-meta.php?marks=92#L92
>
> Depending on the number of translated languages, the word "all" will be
> translated differently in many languages. These rows need to be
> constructed with _n()
>
> {{{printf(
> /* translators: %s: Number of available languages */
> _x( 'See all %s', 'languages' ),
> $available_languages_count
> )
> }}}
New description:
https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
/wp-content/plugins/plugin-directory/widgets/class-meta.php?marks=92#L92
Depending on the number of translated languages, the word "all" will be
translated differently in many languages. These rows need to be
constructed with _n()
{{{
printf(
/* translators: %s: Number of available languages */
_x( 'See all %s', 'languages' ),
$available_languages_count
)
}}}
--
Comment (by SergeyBiryukov):
That string is also missing a text domain.
There's also `_x( 'See all %s', 'plugins', 'wporg-plugins' )` string
[source:sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-
plugins/front-page.php?rev=5114&marks=60#L55 in the theme].
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3095#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list