Merge pull request #352 from sabreuse/patch-1

_s: Make date formats translatable.
This commit is contained in:
Konstantin Obenland 2013-12-03 10:53:36 -08:00
commit 65c01414b3
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' );