[wp-trac] [WordPress Trac] #16441: TwentyTen localization improvement
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 2 09:51:09 UTC 2011
#16441: TwentyTen localization improvement
-------------------------+-----------------------------
Reporter: settle | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 3.1
Severity: trivial | Keywords: TwentyTen
-------------------------+-----------------------------
archive.php
{{{
<?php if ( is_day() ) : ?>
<?php printf( __( 'Daily Archives:
<span>%s</span>', 'twentyten' ), get_the_date() ); ?>
<?php elseif ( is_month() ) : ?>
<?php printf( __( 'Monthly Archives:
<span>%s</span>', 'twentyten' ), get_the_date( 'F Y' ) ); ?>
<?php elseif ( is_year() ) : ?>
<?php printf( __( 'Yearly Archives:
<span>%s</span>', 'twentyten' ), get_the_date( 'Y' ) ); ?>
<?php else : ?>
<?php _e( 'Blog Archives', 'twentyten' );
?>
<?php endif; ?>
}}}
Please, make the string ( 'F Y' ) translatable. For example, in lithuanian
we use ( 'Y F' ). So we currently have to manually edit archive.php.
And I think that day archive format and year archive format should also be
translatable, just in case. Maybe it should look different in some
languages.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16441>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list