Ticket #26367: 2014.diff
File 2014.diff, 2.0 KB (added by , 12 years ago) |
---|
-
wp-content/themes/twentyfourteen/archive.php
31 31 printf( __( 'Day: %s', 'twentyfourteen' ), get_the_date() ); 32 32 33 33 elseif ( is_month() ) : 34 printf( __( 'Month: %s', 'twentyfourteen' ), get_the_date( 'F Y') );34 printf( __( 'Month: %s', 'twentyfourteen' ), get_the_date(__('F Y', 'twentyfourteen' ) ) ); 35 35 36 36 elseif ( is_year() ) : 37 printf( __( 'Year: %s', 'twentyfourteen' ), get_the_date( 'Y') );37 printf( __( 'Year: %s', 'twentyfourteen' ), get_the_date(__('Y', 'twentyfourteen' ) ) ); 38 38 39 39 else : 40 40 _e( 'Archives', 'twentyfourteen' ); -
wp-includes/theme-compat/sidebar.php
38 38 <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> 39 39 40 40 <?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> 42 42 43 43 <?php /* If this is a search result */ } elseif (is_search()) { ?> 44 44 <p><?php printf(__('You have searched the <a href="%1$s/">%2$s</a> blog archives for <strong>‘%3$s’</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>