Make WordPress Core

Changeset 19241


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

Location:
trunk/wp-content/themes
Files:
2 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' ); ?>
  • trunk/wp-content/themes/twentyten/archive.php

    r16727 r19241  
    3333                <?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ); ?>
    3434<?php elseif ( is_month() ) : ?>
    35                 <?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date( 'F Y' ) ); ?>
     35                <?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyten' ) ) ); ?>
    3636<?php elseif ( is_year() ) : ?>
    37                 <?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date( 'Y' ) ); ?>
     37                <?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentyten' ) ) ); ?>
    3838<?php else : ?>
    3939                <?php _e( 'Blog Archives', 'twentyten' ); ?>
Note: See TracChangeset for help on using the changeset viewer.