WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#6134 closed defect (bug) (fixed)

Ambiguous string clashes when localizing in wp-admin/theme-editor.php

Reported by: RanYanivHartstein Owned by:
Milestone: 2.5 Priority: normal
Severity: normal Version:
Component: I18N Keywords: has-patch tested
Focuses: Cc:

Description

The string "Styles" is used in theme-editor.php when refering to theme stylesheets, and in TinyMCE when refering to display styles. When localizing to Hebrew, and probably to many other locales, these two meanings clash.

I added a patch that adds a comment to the string theme-editor.php to prevent conflicts. I tested it with the latest 2.5 (r7185) with a Hebrew locale

Attachments (1)

theme-editor.php.r7185.diff (661 bytes) - added by RanYanivHartstein 6 years ago.
patch to fix ambigious string in theme-editor.php ("Styles")

Download all attachments as: .zip

Change History (3)

RanYanivHartstein6 years ago

patch to fix ambigious string in theme-editor.php ("Styles")

comment:1 westi6 years ago

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

(In [7188]) Add context to translated string. Fixes #6134 props RanYanivHartstein.

comment:2 lloydbudd6 years ago

  • Milestone set to 2.5
Note: See TracTickets for help on using tickets.