Ticket #3307 (closed defect: duplicate)

Opened 2 years ago

Last modified 1 year ago

Add i18n support to function get_archives()

Reported by: yskins Assigned to: 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

11/09/06 15:00:34 changed by drssay

same to #1540

11/29/06 20:54:34 changed by matt

  • status changed from new to closed.
  • resolution set to duplicate.

06/19/07 22:18:43 changed by Nazgul

  • milestone deleted.