mirror of
git://develop.git.wordpress.org/
synced 2025-02-28 02:22:25 +01:00
Translate the monthnum/month abbreviation construct in the Publish box. see #19598.
git-svn-id: https://develop.svn.wordpress.org/trunk@19820 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7ff19e6012
commit
ef81adda7b
@ -589,7 +589,8 @@ function touch_time( $edit = 1, $for_post = 1, $tab_index = 0, $multi = 0 ) {
|
||||
$month .= "\t\t\t" . '<option value="' . $monthnum . '"';
|
||||
if ( $i == $mm )
|
||||
$month .= ' selected="selected"';
|
||||
$month .= '>' . $monthnum . '-' . $wp_locale->get_month_abbrev( $wp_locale->get_month( $i ) ) . "</option>\n";
|
||||
/* translators: 1: month number (01, 02, etc.), 2: month abbreviation */
|
||||
$month .= '>' . sprintf( __( '%1$s-%2$s' ), $monthnum, $wp_locale->get_month_abbrev( $wp_locale->get_month( $i ) ) ) . "</option>\n";
|
||||
}
|
||||
$month .= '</select>';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user