[wp-meta] [Making WordPress.org] #3439: Domain of "Languages" translation in plugin profile is in wrong place

Making WordPress.org noreply at wordpress.org
Thu Feb 8 16:59:30 UTC 2018


#3439: Domain of "Languages" translation in plugin profile is in wrong place
------------------------------+-------------------------
 Reporter:  mariovalney       |      Owner:
     Type:  defect            |     Status:  new
 Priority:  normal            |  Milestone:
Component:  Plugin Directory  |   Keywords:  needs-patch
------------------------------+-------------------------
 The item "Language" uses
 [https://developer.wordpress.org/reference/functions/_n/ _n] function, but
 the order of parameters are wrong:

 {{{
 echo esc_html( _n( 'Language:', 'Languages:', 'wporg-plugins',
 $available_languages_count ) );
 }}}

 Should be ($single, $plural, $number and $domain):

 {{{
 echo esc_html( _n( 'Language:', 'Languages:', $available_languages_count,
 'wporg-plugins' ) );
 }}}

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


More information about the wp-meta mailing list