WordPress.org

Make WordPress Core

Changeset 19820


Ignore:
Timestamp:
02/03/2012 12:23:25 AM (9 years ago)
Author:
nacin
Message:

Translate the monthnum/month abbreviation construct in the Publish box. see #19598.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r19733 r19820  
    590590        if ( $i == $mm )
    591591            $month .= ' selected="selected"';
    592         $month .= '>' . $monthnum . '-' . $wp_locale->get_month_abbrev( $wp_locale->get_month( $i ) ) . "</option>\n";
     592        /* translators: 1: month number (01, 02, etc.), 2: month abbreviation */
     593        $month .= '>' . sprintf( __( '%1$s-%2$s' ), $monthnum, $wp_locale->get_month_abbrev( $wp_locale->get_month( $i ) ) ) . "</option>\n";
    593594    }
    594595    $month .= '</select>';
Note: See TracChangeset for help on using the changeset viewer.