WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#26367 closed defect (bug) (fixed)

Twenty Fourteen: Date format should be translatable

Reported by: mako09 Owned by: lancewillett
Milestone: 3.8 Priority: normal
Severity: normal Version: 3.8
Component: Bundled Theme Keywords: has-patch
Focuses: Cc:

Description

In wp-content/themes/twentyfourteen/archive.php, 'F Y' and 'Y' should be localized. FYI, they are translatable in themes/twentythirteen.

Same string 'Y' appear in wp-includes/theme-compat/sidebar.php.

Attachments (2)

2014.diff (2.0 KB) - added by mako09 7 years ago.
26367.patch (881 bytes) - added by Frank Klein 7 years ago.

Download all attachments as: .zip

Change History (7)

@mako09
7 years ago

#1 @SergeyBiryukov
7 years ago

  • Component changed from I18N to Bundled Theme
  • Milestone changed from Awaiting Review to 3.8
  • Summary changed from Date format in twentyfourteen should be translatable to Twenty Fourteen: Date format should be translatable

#2 @lancewillett
7 years ago

  • Keywords needs-refresh added

@mako09 Thanks for the ticket and patch. Can you update your fix to work like Twenty Thirteen with translator comments with _x() please?

#3 @lancewillett
7 years ago

  • Cc obenland added

Actually, anyone can make a patch as we're on a very tight deadline. :)

CC @obenland

@Frank Klein
7 years ago

#4 @SergeyBiryukov
7 years ago

  • Keywords has-patch added; needs-refresh removed

#5 @lancewillett
7 years ago

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

In 26576:

Twenty Fourteen: proper i18n and translator context for date formatted strings in archive template. Props Frank Klein and mako09, fixes #26367.

Note: See TracTickets for help on using tickets.