Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#40800 closed defect (bug) (fixed)

Incorrect translation call in script-loader.php

Reported by: leewillis77 Owned by: swissspidy
Priority: normal Milestone: 4.8
Component: Media Version: 4.6
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

Currently script-loader.php contains the following call:

__( 'None', 'no captions/subtitles' )

Here "no captions/subtitles" is used as the text domain, when it should be the context. Patch attached.

Attachments (1)

40800.diff​ (703 bytes ) - added by leewillis77 10 years ago.
Patch

Download all attachments as: .zip

Change History (3)

#1 @swissspidy
10 years ago

  • Owner set to swissspidy
  • Resolution → fixed
  • Status new → closed

In 40775:

Media: Correct a translatable string for MediaElement.js.

Adds the needed context to the string "None". Introduced in [38089].

Props leewillis77.
See #37394.
Fixes #40800.

#2 @swissspidy
10 years ago

  • Component General → Media
  • Keywords has-patch added
  • Milestone Awaiting Review → 4.8
  • Version trunk → 4.6

Thanks @leewillis77, good catch!

Note: See TracTickets for help on using tickets.