]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyeleven/archive.php
Wordpress 3.5.2
[autoinstalls/wordpress.git] / wp-content / themes / twentyeleven / archive.php
index 22873b67ed3d009aa62c30c852f3d6ee0abb9e99..13390e22954c58a6b1dcf72733e80e1e7480057f 100644 (file)
@@ -24,9 +24,9 @@ get_header(); ?>
                                                <?php if ( is_day() ) : ?>
                                                        <?php printf( __( 'Daily Archives: %s', 'twentyeleven' ), '<span>' . get_the_date() . '</span>' ); ?>
                                                <?php elseif ( is_month() ) : ?>
-                                                       <?php printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( 'F Y' ) . '</span>' ); ?>
+                                                       <?php printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyeleven' ) ) . '</span>' ); ?>
                                                <?php elseif ( is_year() ) : ?>
-                                                       <?php printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( 'Y' ) . '</span>' ); ?>
+                                                       <?php printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentyeleven' ) ) . '</span>' ); ?>
                                                <?php else : ?>
                                                        <?php _e( 'Blog Archives', 'twentyeleven' ); ?>
                                                <?php endif; ?>