#3307 closed defect (bug) (duplicate)
Add i18n support to function get_archives()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | lowest | Milestone: | |
| Component: | Administration | Version: | 2.0.4 |
| Severity: | normal | Keywords: | i18n |
| Cc: |
Description
In english, we use the format like "January 2006" in archive list. But in chinese, we often use the format like "2006-1".
Can you replace line 339 and line 342 in /wp-includes/template-functions-general.php to:
$text = sprintf(__('%s %d'), $month[zeroise($arcresult->month,2)], $arcresult->year);
So I can translate '%s %d' into '%2$d-%1$s' in my po file.
I'm using WordPress 2.0.5
Change History (3)
Note: See
TracTickets for help on using
tickets.

same to #1540