WordPress.org

Making WordPress.org

#3439 closed defect (fixed)

Domain of "Languages" translation in plugin profile is in wrong place

Reported by: mariovalney Owned by: Otto42
Milestone: Priority: normal
Component: Plugin Directory Keywords: has-patch
Cc:

Description

The item "Language" uses _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' ) );

Attachments (1)

3439.patch (703 bytes) - added by mariovalney 22 months ago.

Download all attachments as: .zip

Change History (3)

@mariovalney
22 months ago

#1 @mariovalney
22 months ago

  • Keywords has-patch added; needs-patch removed

#2 @Otto42
22 months ago

  • Owner set to Otto42
  • Resolution set to fixed
  • Status changed from new to closed

In 6569:

Plugins Directory: Fix order of parameters in _n call. Fixes #3439. props mariovalney

Note: See TracTickets for help on using tickets.