Make WordPress Core


Ignore:
Timestamp:
11/10/2011 06:37:20 PM (13 years ago)
Author:
ryan
Message:

Make date formats for transation. Props SergeyBiryukov, settle. fixes #16441

File:
1 edited

Legend:

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

    r18291 r19241  
    2525                            <?php printf( __( 'Daily Archives: %s', 'twentyeleven' ), '<span>' . get_the_date() . '</span>' ); ?>
    2626                        <?php elseif ( is_month() ) : ?>
    27                             <?php printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( 'F Y' ) . '</span>' ); ?>
     27                            <?php printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyeleven' ) ) . '</span>' ); ?>
    2828                        <?php elseif ( is_year() ) : ?>
    29                             <?php printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( 'Y' ) . '</span>' ); ?>
     29                            <?php printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentyeleven' ) ) . '</span>' ); ?>
    3030                        <?php else : ?>
    3131                            <?php _e( 'Blog Archives', 'twentyeleven' ); ?>
Note: See TracChangeset for help on using the changeset viewer.