Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 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 9 years ago.
Patch

Download all attachments as: .zip

Change History (3)

@leewillis77
9 years ago

Patch

#1 @swissspidy
9 years ago

  • Owner set to swissspidy
  • Resolutionfixed
  • Status newclosed

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
9 years ago

  • Component GeneralMedia
  • Keywords has-patch added
  • Milestone Awaiting Review4.8
  • Version trunk4.6

Thanks @leewillis77, good catch!

Note: See TracTickets for help on using tickets.