Make WordPress Core


Ignore:
Timestamp:
01/21/2010 09:37:43 PM (16 years ago)
Author:
ryan
Message:

i18n fixes. Props nbachiyski. fixes #11954

File:
1 edited

Legend:

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

    r10774 r12789  
    106106    function init() {
    107107        // The Weekdays
    108         $this->weekday[0] = __('Sunday');
    109         $this->weekday[1] = __('Monday');
    110         $this->weekday[2] = __('Tuesday');
    111         $this->weekday[3] = __('Wednesday');
    112         $this->weekday[4] = __('Thursday');
    113         $this->weekday[5] = __('Friday');
    114         $this->weekday[6] = __('Saturday');
     108        $this->weekday[0] = /* translators: weekday */ __('Sunday');
     109        $this->weekday[1] = /* translators: weekday */ __('Monday');
     110        $this->weekday[2] = /* translators: weekday */ __('Tuesday');
     111        $this->weekday[3] = /* translators: weekday */ __('Wednesday');
     112        $this->weekday[4] = /* translators: weekday */ __('Thursday');
     113        $this->weekday[5] = /* translators: weekday */ __('Friday');
     114        $this->weekday[6] = /* translators: weekday */ __('Saturday');
    115115
    116116        // The first letter of each day.  The _%day%_initial suffix is a hack to make
    117117        // sure the day initials are unique.
    118         $this->weekday_initial[__('Sunday')]    = __('S_Sunday_initial');
    119         $this->weekday_initial[__('Monday')]    = __('M_Monday_initial');
    120         $this->weekday_initial[__('Tuesday')]   = __('T_Tuesday_initial');
    121         $this->weekday_initial[__('Wednesday')] = __('W_Wednesday_initial');
    122         $this->weekday_initial[__('Thursday')]  = __('T_Thursday_initial');
    123         $this->weekday_initial[__('Friday')]    = __('F_Friday_initial');
    124         $this->weekday_initial[__('Saturday')]  = __('S_Saturday_initial');
     118        $this->weekday_initial[__('Sunday')]    = /* translators: one-letter abbreviation of the weekday */ __('S_Sunday_initial');
     119        $this->weekday_initial[__('Monday')]    = /* translators: one-letter abbreviation of the weekday */ __('M_Monday_initial');
     120        $this->weekday_initial[__('Tuesday')]   = /* translators: one-letter abbreviation of the weekday */ __('T_Tuesday_initial');
     121        $this->weekday_initial[__('Wednesday')] = /* translators: one-letter abbreviation of the weekday */ __('W_Wednesday_initial');
     122        $this->weekday_initial[__('Thursday')]  = /* translators: one-letter abbreviation of the weekday */ __('T_Thursday_initial');
     123        $this->weekday_initial[__('Friday')]    = /* translators: one-letter abbreviation of the weekday */ __('F_Friday_initial');
     124        $this->weekday_initial[__('Saturday')]  = /* translators: one-letter abbreviation of the weekday */ __('S_Saturday_initial');
    125125
    126126        foreach ($this->weekday_initial as $weekday_ => $weekday_initial_) {
     
    128128        }
    129129
    130         // Abbreviations for each day.
    131         $this->weekday_abbrev[__('Sunday')]    = __('Sun');
    132         $this->weekday_abbrev[__('Monday')]    = __('Mon');
    133         $this->weekday_abbrev[__('Tuesday')]   = __('Tue');
    134         $this->weekday_abbrev[__('Wednesday')] = __('Wed');
    135         $this->weekday_abbrev[__('Thursday')]  = __('Thu');
    136         $this->weekday_abbrev[__('Friday')]    = __('Fri');
    137         $this->weekday_abbrev[__('Saturday')]  = __('Sat');
     130        // Abbreviations for each day.     
     131        $this->weekday_abbrev[__('Sunday')]    = /* translators: three-letter abbreviation of the weekday */ __('Sun');
     132        $this->weekday_abbrev[__('Monday')]    = /* translators: three-letter abbreviation of the weekday */ __('Mon');
     133        $this->weekday_abbrev[__('Tuesday')]   = /* translators: three-letter abbreviation of the weekday */ __('Tue');
     134        $this->weekday_abbrev[__('Wednesday')] = /* translators: three-letter abbreviation of the weekday */ __('Wed');
     135        $this->weekday_abbrev[__('Thursday')]  = /* translators: three-letter abbreviation of the weekday */ __('Thu');
     136        $this->weekday_abbrev[__('Friday')]    = /* translators: three-letter abbreviation of the weekday */ __('Fri');
     137        $this->weekday_abbrev[__('Saturday')]  = /* translators: three-letter abbreviation of the weekday */ __('Sat');
    138138
    139139        // The Months
    140         $this->month['01'] = __('January');
    141         $this->month['02'] = __('February');
    142         $this->month['03'] = __('March');
    143         $this->month['04'] = __('April');
    144         $this->month['05'] = __('May');
    145         $this->month['06'] = __('June');
    146         $this->month['07'] = __('July');
    147         $this->month['08'] = __('August');
    148         $this->month['09'] = __('September');
    149         $this->month['10'] = __('October');
    150         $this->month['11'] = __('November');
    151         $this->month['12'] = __('December');
     140        $this->month['01'] = /* translators: month name */ __('January');
     141        $this->month['02'] = /* translators: month name */ __('February');
     142        $this->month['03'] = /* translators: month name */ __('March');
     143        $this->month['04'] = /* translators: month name */ __('April');
     144        $this->month['05'] = /* translators: month name */ __('May');
     145        $this->month['06'] = /* translators: month name */ __('June');
     146        $this->month['07'] = /* translators: month name */ __('July');
     147        $this->month['08'] = /* translators: month name */ __('August');
     148        $this->month['09'] = /* translators: month name */ __('September');
     149        $this->month['10'] = /* translators: month name */ __('October');
     150        $this->month['11'] = /* translators: month name */ __('November');
     151        $this->month['12'] = /* translators: month name */ __('December');
    152152
    153153        // Abbreviations for each month. Uses the same hack as above to get around the
    154154        // 'May' duplication.
    155         $this->month_abbrev[__('January')] = __('Jan_January_abbreviation');
    156         $this->month_abbrev[__('February')] = __('Feb_February_abbreviation');
    157         $this->month_abbrev[__('March')] = __('Mar_March_abbreviation');
    158         $this->month_abbrev[__('April')] = __('Apr_April_abbreviation');
    159         $this->month_abbrev[__('May')] = __('May_May_abbreviation');
    160         $this->month_abbrev[__('June')] = __('Jun_June_abbreviation');
    161         $this->month_abbrev[__('July')] = __('Jul_July_abbreviation');
    162         $this->month_abbrev[__('August')] = __('Aug_August_abbreviation');
    163         $this->month_abbrev[__('September')] = __('Sep_September_abbreviation');
    164         $this->month_abbrev[__('October')] = __('Oct_October_abbreviation');
    165         $this->month_abbrev[__('November')] = __('Nov_November_abbreviation');
    166         $this->month_abbrev[__('December')] = __('Dec_December_abbreviation');
     155        $this->month_abbrev[__('January')] = /* translators: three-letter abbreviation of the month */ __('Jan_January_abbreviation');
     156        $this->month_abbrev[__('February')] = /* translators: three-letter abbreviation of the month */ __('Feb_February_abbreviation');
     157        $this->month_abbrev[__('March')] = /* translators: three-letter abbreviation of the month */ __('Mar_March_abbreviation');
     158        $this->month_abbrev[__('April')] = /* translators: three-letter abbreviation of the month */ __('Apr_April_abbreviation');
     159        $this->month_abbrev[__('May')] = /* translators: three-letter abbreviation of the month */ __('May_May_abbreviation');
     160        $this->month_abbrev[__('June')] = /* translators: three-letter abbreviation of the month */ __('Jun_June_abbreviation');
     161        $this->month_abbrev[__('July')] = /* translators: three-letter abbreviation of the month */ __('Jul_July_abbreviation');
     162        $this->month_abbrev[__('August')] = /* translators: three-letter abbreviation of the month */ __('Aug_August_abbreviation');
     163        $this->month_abbrev[__('September')] = /* translators: three-letter abbreviation of the month */ __('Sep_September_abbreviation');
     164        $this->month_abbrev[__('October')] = /* translators: three-letter abbreviation of the month */ __('Oct_October_abbreviation');
     165        $this->month_abbrev[__('November')] = /* translators: three-letter abbreviation of the month */ __('Nov_November_abbreviation');
     166        $this->month_abbrev[__('December')] = /* translators: three-letter abbreviation of the month */ __('Dec_December_abbreviation');
    167167
    168168        foreach ($this->month_abbrev as $month_ => $month_abbrev_) {
Note: See TracChangeset for help on using the changeset viewer.