Make WordPress Core


Ignore:
Timestamp:
05/10/2010 08:30:58 PM (16 years ago)
Author:
nbachiyski
Message:

Various twentyten i18n fixes. Props zeo, dimadin. Fixes #13198

File:
1 edited

Legend:

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

    r13885 r14544  
    2121<?php the_post(); ?>
    2222
     23                        <h1 class="page-title">
    2324<?php if ( is_day() ) : ?>
    24                                 <h1 class="page-title"><?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ); ?></h1>
     25                                <?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ); ?>
    2526<?php elseif ( is_month() ) : ?>
    26                                 <h1 class="page-title"><?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date('F Y') ); ?></h1>
     27                                <?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date('F Y') ); ?>
    2728<?php elseif ( is_year() ) : ?>
    28                                 <h1 class="page-title"><?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date('Y') ); ?></h1>
     29                                <?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date('Y') ); ?>
    2930<?php else : ?>
    30                                 <h1 class="page-title"><?php _e( 'Blog Archives', 'twentyten' ); ?></h1>
     31                                <?php _e( 'Blog Archives', 'twentyten' ); ?>
    3132<?php endif; ?>
    32 
     33                        </h1>
    3334<?php rewind_posts(); ?>
    3435<?php
Note: See TracChangeset for help on using the changeset viewer.