Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#26777 closed defect (bug) (fixed)

wp-admin/includes/theme.php $category_translations causes "Layout" in themes install filter not translated

Reported by: janrenn's profile janrenn Owned by: nacin's profile nacin
Milestone: 3.8.1 Priority: normal
Severity: normal Version: 3.8
Component: Themes Keywords: has-patch fixed-major
Focuses: Cc:

Description

wp-admin/includes/theme.php lines 253-254 are

	$category_translations = array( 'Colors' => __('Colors'), 'Columns' => __('Columns'), 'Width' => __('Width'),
								   'Features' => __('Features'), 'Subject' => __('Subject') );

It should turn 'Width' to 'Layout'

	$category_translations = array( 'Colors' => __('Colors'), 'Columns' => __('Columns'), 'Layout' => __('Layout'),
								   'Features' => __('Features'), 'Subject' => __('Subject') );

otherwise Layout section of filter cannot be translated.

Attachments (2)

26777.patch (800 bytes) - added by SergeyBiryukov 11 years ago.
26777.branch.patch (677 bytes) - added by SergeyBiryukov 11 years ago.

Download all attachments as: .zip

Change History (6)

#1 @SergeyBiryukov
11 years ago

  • Component changed from Administration to Themes
  • Milestone changed from Awaiting Review to 3.8.1

Confirmed. Missed in [26711].

#2 @SergeyBiryukov
11 years ago

  • Keywords has-patch added

Suggesting 26777.patch for trunk and 26777.branch.patch for 3.8.1.

#3 @SergeyBiryukov
11 years ago

  • Keywords fixed-major added

Fixed for trunk in [26905].

#4 @nacin
11 years ago

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

In 26955:

Change 'Width' to 'Layout' to match the hard-coded list of translatable theme features in get_theme_feature_list().

Merges [26905] to the 3.8 branch.

props janrenn.
fixes #26777.

Note: See TracTickets for help on using tickets.