Use existing string to properly translate month + year combo. see #19598.
git-svn-id: https://develop.svn.wordpress.org/trunk@19819 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
31f8d5586b
commit
7ff19e6012
@ -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