Make WordPress Core

Changeset 26576


Ignore:
Timestamp:
12/03/2013 06:44:39 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: proper i18n and translator context for date formatted strings in archive template. Props Frank Klein and mako09, fixes #26367.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/archive.php

    r26556 r26576  
    3232
    3333                                                elseif ( is_month() ) :
    34                                                         printf( __( 'Month: %s', 'twentyfourteen' ), get_the_date( 'F Y' ) );
     34                                                        printf( __( 'Month: %s', 'twentyfourteen' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyfourteen' ) ) );
    3535
    3636                                                elseif ( is_year() ) :
    37                                                         printf( __( 'Year: %s', 'twentyfourteen' ), get_the_date( 'Y' ) );
     37                                                        printf( __( 'Year: %s', 'twentyfourteen' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentyfourteen' ) ) );
    3838
    3939                                                else :
Note: See TracChangeset for help on using the changeset viewer.