Opened 18 years ago
Closed 18 years ago
#3863 closed defect (bug) (fixed)
i18n fixes
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.2 | Priority: | low |
Severity: | normal | Version: | 2.1.1 |
Component: | I18N | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
Line 104 in wp-admin/edit.php
echo $wp_locale->get_month($arc_row->mmonth) . " $arc_row->yyear";
In english, people often use "May 2006", but in some other languages, people use "2006-05".
Line 180 in wp-admin/edit.php,
the_time(_('Y-m-d \<\b\r \/\> g:i:s a'));
Why only one underscore?
Line 156 in wp-admin/edit-comments.php, and line 124 in wp-admin/moderation.php
comment_date('M j, g:i A');
'M j, g:i A' should be i18ned.
Attachments (2)
Change History (9)
#5
@
18 years ago
Line 343 in wp-includes/general-template.php is
$text = sprintf(__('%1$s %2$d'), $wp_locale->get_month($arcresult->month), $arcresult->year);
So I traslate '%1$s %2$d' to '%2$d-%1$s' in simplified chinese po file.
What about replace line 104 in wp-admin/edit.php to
printf(__('%1$s %2$d'), $wp_locale->get_month($arc_row->mmonth), $arc_row->yyear);
, rob1n?
Note: See
TracTickets for help on using
tickets.
That won't work. Only literal strings can be marked for translation with () and _e().