mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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
This commit is contained in:
parent
0d918aaf14
commit
49f8312ac2
@ -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' );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user