Make WordPress Core

Ticket #26367: 2014.diff

File 2014.diff, 2.0 KB (added by mako09, 12 years ago)
  • wp-content/themes/twentyfourteen/archive.php

     
    3131                                                        printf( __( 'Day: %s', 'twentyfourteen' ), get_the_date() );
    3232
    3333                                                elseif ( is_month() ) :
    34                                                         printf( __( 'Month: %s', 'twentyfourteen' ), get_the_date( 'F Y' ) );
     34                                                        printf( __( 'Month: %s', 'twentyfourteen' ), get_the_date(__('F Y', 'twentyfourteen' ) ) );
    3535
    3636                                                elseif ( is_year() ) :
    37                                                         printf( __( 'Year: %s', 'twentyfourteen' ), get_the_date( 'Y' ) );
     37                                                        printf( __( 'Year: %s', 'twentyfourteen' ), get_the_date(__('Y', 'twentyfourteen' ) ) );
    3838
    3939                                                else :
    4040                                                        _e( 'Archives', 'twentyfourteen' );
  • wp-includes/theme-compat/sidebar.php

     
    3838                        <p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives for %3$s.'), get_bloginfo('url'), get_bloginfo('name'), get_the_time(__('F, Y'))); ?></p>
    3939
    4040                        <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    41                         <p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives for the year %3$s.'), get_bloginfo('url'), get_bloginfo('name'), get_the_time('Y')); ?></p>
     41                        <p><?php printf(__('You are currently browsing the <a href="%1$s/">%2$s</a> blog archives for the year %3$s.'), get_bloginfo('url'), get_bloginfo('name'), get_the_time(__('Y'))); ?></p>
    4242
    4343                        <?php /* If this is a search result */ } elseif (is_search()) { ?>
    4444                        <p><?php printf(__('You have searched the <a href="%1$s/">%2$s</a> blog archives for <strong>&#8216;%3$s&#8217;</strong>. If you are unable to find anything in these search results, you can try one of these links.'), get_bloginfo('url'), get_bloginfo('name'), esc_html( get_search_query() ) ); ?></p>