Making WordPress.org

Opened 7 years ago

Closed 7 years ago

#3439 closed defect (bug) (fixed)

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

Reported by: mariovalney's profile mariovalney Owned by: otto42's profile 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 7 years ago.

Download all attachments as: .zip

Change History (3)

@mariovalney
7 years ago

#1 @mariovalney
7 years ago

  • Keywords has-patch added; needs-patch removed

#2 @Otto42
7 years 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.