WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#36396 closed defect (bug) (fixed)

Make clear which variable is used for singular/plural

Reported by: TacoVerdo Owned by: ocean90
Milestone: 4.5 Priority: normal
Severity: normal Version: 4.6
Component: I18N Keywords: has-patch commit
Focuses: docs, administration Cc:

Description

Problem description
To translators, it may be unclear which variable is used to determine singular/plural in https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/plugin-install.php#L588.

Cause
There are two variables representing a number.

Possible solution
Add to the translator comment which variable is used.

Attachments (1)

36396.diff (803 bytes) - added by TacoVerdo 3 years ago.

Download all attachments as: .zip

Change History (3)

@TacoVerdo
3 years ago

#1 @SergeyBiryukov
3 years ago

  • Component changed from Administration to I18N
  • Focuses administration added
  • Keywords has-patch commit added
  • Milestone changed from Awaiting Review to 4.5

Introduced in [36618].

#2 @ocean90
3 years ago

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

In 37155:

I18N: Clarify translator comment for an a11y label added in [36618].

Props TacoVerdo.
See #35111.
Fixes #36396.

Note: See TracTickets for help on using tickets.