Make date formats translatable

Following up on a similar change to 2014, make the date formats for monthly and yearly archives translatable.
This commit is contained in:
Amy Hendrix 2013-12-03 13:42:40 -05:00
parent bcc39185cd
commit 3ba177c9ee
1 changed files with 2 additions and 2 deletions

View File

@ -39,10 +39,10 @@ get_header(); ?>
printf( __( 'Day: %s', '_s' ), '<span>' . get_the_date() . '</span>' );
elseif ( is_month() ) :
printf( __( 'Month: %s', '_s' ), '<span>' . get_the_date( 'F Y' ) . '</span>' );
printf( __( 'Month: %s', '_s' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', '_s' ) . '</span>' );
elseif ( is_year() ) :
printf( __( 'Year: %s', '_s' ), '<span>' . get_the_date( 'Y' ) . '</span>' );
printf( __( 'Year: %s', '_s' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', '_s' ) . '</span>' );
elseif ( is_tax( 'post_format', 'post-format-aside' ) ) :
_e( 'Asides', '_s' );