mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-24 17:21:34 +01:00
Use existing string to properly translate month + year combo. see #19598.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
16e038dcc5
commit
e23bba5249
@ -386,7 +386,8 @@ class WP_List_Table {
|
|||||||
printf( "<option %s value='%s'>%s</option>\n",
|
printf( "<option %s value='%s'>%s</option>\n",
|
||||||
selected( $m, $year . $month, false ),
|
selected( $m, $year . $month, false ),
|
||||||
esc_attr( $arc_row->year . $month ),
|
esc_attr( $arc_row->year . $month ),
|
||||||
$wp_locale->get_month( $month ) . " $year"
|
/* translators: 1: month name, 2: 4-digit year */
|
||||||
|
sprintf( __( '%1$s %2$d' ), $wp_locale->get_month( $month ), $year )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user