Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#3307 closed defect (bug) (duplicate)

Add i18n support to function get_archives()

Reported by: yskins Owned by: anonymous
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)

same to #1540

comment:2   matt6 years ago

  • Resolution set to duplicate
  • Status changed from new to closed
  • Milestone 2.1 deleted
Note: See TracTickets for help on using tickets.