mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 15:17:42 +02:00
_() => __() typo fix. props tai. fixes #1540
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d308d88f46
commit
6fd3cacaa2
@ -336,10 +336,10 @@ function get_archives($type='', $limit='', $format='html', $before = '', $after
|
|||||||
foreach ( $arcresults as $arcresult ) {
|
foreach ( $arcresults as $arcresult ) {
|
||||||
$url = get_month_link($arcresult->year, $arcresult->month);
|
$url = get_month_link($arcresult->year, $arcresult->month);
|
||||||
if ( $show_post_count ) {
|
if ( $show_post_count ) {
|
||||||
$text = sprintf(_('%1$s %2$d'), $month[zeroise($arcresult->month,2)], $arcresult->year);
|
$text = sprintf(__('%1$s %2$d'), $month[zeroise($arcresult->month,2)], $arcresult->year);
|
||||||
$after = ' ('.$arcresult->posts.')' . $afterafter;
|
$after = ' ('.$arcresult->posts.')' . $afterafter;
|
||||||
} else {
|
} else {
|
||||||
$text = sprintf(_('%1$s %2$d'), $month[zeroise($arcresult->month,2)], $arcresult->year);
|
$text = sprintf(__('%1$s %2$d'), $month[zeroise($arcresult->month,2)], $arcresult->year);
|
||||||
}
|
}
|
||||||
echo get_archives_link($url, $text, $format, $before, $after);
|
echo get_archives_link($url, $text, $format, $before, $after);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user