Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#27443 closed defect (bug) (invalid)

Script loader password strength localization

Reported by: niladam Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.8.1
Component: Script Loader Keywords:
Focuses: administration Cc:

Description (last modified by ocean90)

Script loader password strength meter medium uses _x instead of __

Line: 325 reads:

               	'good' => _x('Medium', 'password strength'),

In order for me to translate the text without a text-domain i modified it to:

               	'good' => __('Medium', 'password strength'),

Change History (3)

#1 @niladam
7 years ago

  • Keywords dev-feedback added

#2 @ocean90
7 years ago

  • Description modified (diff)

#3 @ocean90
7 years ago

  • Keywords dev-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hello niladam,

_x is correct here, because we are providing a context here. It's not the text domain, see https://codex.wordpress.org/Function_Reference/_x.

Note: See TracTickets for help on using tickets.