[wp-trac] [WordPress Trac] #43261: Domain of "Languages" translation in plugin profile is in wrong place
WordPress Trac
noreply at wordpress.org
Thu Feb 8 16:51:04 UTC 2018
#43261: Domain of "Languages" translation in plugin profile is in wrong place
--------------------------+-----------------------------
Reporter: mariovalney | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: 4.9.4
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
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://core.trac.wordpress.org/ticket/43261>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list