[wp-meta] [Making WordPress.org] #3204: i18n: Add translators comment for placeholders used in "review queue" message

Making WordPress.org noreply at wordpress.org
Tue Oct 17 00:39:21 UTC 2017


#3204: i18n: Add translators comment for placeholders used in "review queue"
message
------------------------------+-----------------------------------
 Reporter:  felipeelia        |      Owner:
     Type:  defect            |     Status:  new
 Priority:  normal            |  Milestone:  Plugin Directory v3.0
Component:  Plugin Directory  |   Keywords:  needs-patch
------------------------------+-----------------------------------
 I've just noticed this while translating some strings of plugins
 directory. Before the {{{_n}}} in (plugin-directory/shortcodes/class-
 upload.php:70):

 {{{#!php
 <?php
 printf(
         _n(
                 'Currently there are %1$s plugins in the review queue,
 %2$s of which is awaiting its initial review.',
                 'Currently there are %1$s plugins in the review queue,
 %2$s of which are awaiting their initial review.',
                 $plugins->new,
                 'wporg-plugins'
         ),
         '<strong>' . ( $plugins->new + $plugins->pending ) . '</strong>',
         '<strong>' . $plugins->new . '</strong>'
 );

 }}}

 we should have


 {{{
 /* translators: 1: new + pending plugins; 2: new plugins */
 }}}


 or something like that, shouldn't we?

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3204>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list