From 3ba177c9ee0888bc4a15b0f471728b5f28a48f0c Mon Sep 17 00:00:00 2001 From: Amy Hendrix Date: Tue, 3 Dec 2013 13:42:40 -0500 Subject: [PATCH] Make date formats translatable Following up on a similar change to 2014, make the date formats for monthly and yearly archives translatable. --- archive.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archive.php b/archive.php index ea798ace..26add063 100644 --- a/archive.php +++ b/archive.php @@ -39,10 +39,10 @@ get_header(); ?> printf( __( 'Day: %s', '_s' ), '' . get_the_date() . '' ); elseif ( is_month() ) : - printf( __( 'Month: %s', '_s' ), '' . get_the_date( 'F Y' ) . '' ); + printf( __( 'Month: %s', '_s' ), '' . get_the_date( _x( 'F Y', 'monthly archives date format', '_s' ) . '' ); elseif ( is_year() ) : - printf( __( 'Year: %s', '_s' ), '' . get_the_date( 'Y' ) . '' ); + printf( __( 'Year: %s', '_s' ), '' . get_the_date( _x( 'Y', 'yearly archives date format', '_s' ) . '' ); elseif ( is_tax( 'post_format', 'post-format-aside' ) ) : _e( 'Asides', '_s' );