From 49f8312ac2dff021a84a723fcaa2d5adcbc3a2bc Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Tue, 3 Dec 2013 18:44:39 +0000 Subject: [PATCH] Twenty Fourteen: proper i18n and translator context for date formatted strings in archive template. Props Frank Klein and mako09, fixes #26367. git-svn-id: https://develop.svn.wordpress.org/trunk@26576 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfourteen/archive.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentyfourteen/archive.php b/src/wp-content/themes/twentyfourteen/archive.php index 689c80fb25..114aaf3f30 100644 --- a/src/wp-content/themes/twentyfourteen/archive.php +++ b/src/wp-content/themes/twentyfourteen/archive.php @@ -31,10 +31,10 @@ get_header(); ?> printf( __( 'Day: %s', 'twentyfourteen' ), get_the_date() ); elseif ( is_month() ) : - printf( __( 'Month: %s', 'twentyfourteen' ), get_the_date( 'F Y' ) ); + printf( __( 'Month: %s', 'twentyfourteen' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyfourteen' ) ) ); elseif ( is_year() ) : - printf( __( 'Year: %s', 'twentyfourteen' ), get_the_date( 'Y' ) ); + printf( __( 'Year: %s', 'twentyfourteen' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentyfourteen' ) ) ); else : _e( 'Archives', 'twentyfourteen' );