Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-locale.php

    r47088 r47122  
    119119     */
    120120    public function init() {
    121         // The Weekdays
     121        // The weekdays.
    122122        $this->weekday[0] = /* translators: Weekday. */ __( 'Sunday' );
    123123        $this->weekday[1] = /* translators: Weekday. */ __( 'Monday' );
     
    146146        $this->weekday_abbrev[ __( 'Saturday' ) ]  = /* translators: Three-letter abbreviation of the weekday. */ __( 'Sat' );
    147147
    148         // The Months
     148        // The months.
    149149        $this->month['01'] = /* translators: Month name. */ __( 'January' );
    150150        $this->month['02'] = /* translators: Month name. */ __( 'February' );
     
    160160        $this->month['12'] = /* translators: Month name. */ __( 'December' );
    161161
    162         // The Months, genitive
     162        // The months, genitive.
    163163        $this->month_genitive['01'] = /* translators: Month name, genitive. */ _x( 'January', 'genitive' );
    164164        $this->month_genitive['02'] = /* translators: Month name, genitive. */ _x( 'February', 'genitive' );
     
    188188        $this->month_abbrev[ __( 'December' ) ]  = /* translators: Three-letter abbreviation of the month. */ _x( 'Dec', 'December abbreviation' );
    189189
    190         // The Meridiems
     190        // The meridiems.
    191191        $this->meridiem['am'] = __( 'am' );
    192192        $this->meridiem['pm'] = __( 'pm' );
     
    194194        $this->meridiem['PM'] = __( 'PM' );
    195195
    196         // Numbers formatting
     196        // Numbers formatting.
    197197        // See https://www.php.net/number_format
    198198
Note: See TracChangeset for help on using the changeset viewer.