Wordpress 2.0.2
[autoinstalls/wordpress.git] / wp-includes / locale.php
1 <?php
2 // Date and Time
3
4 // The Weekdays
5 $weekday[0] = __('Sunday');
6 $weekday[1] = __('Monday');
7 $weekday[2] = __('Tuesday');
8 $weekday[3] = __('Wednesday');
9 $weekday[4] = __('Thursday');
10 $weekday[5] = __('Friday');
11 $weekday[6] = __('Saturday');
12
13 // The first letter of each day.  The _%day%_initial suffix is a hack to make
14 // sure the day initials are unique.  They should be translated to a one
15 // letter initial.  
16 $weekday_initial[__('Sunday')]    = __('S_Sunday_initial');
17 $weekday_initial[__('Monday')]    = __('M_Monday_initial');
18 $weekday_initial[__('Tuesday')]   = __('T_Tuesday_initial');
19 $weekday_initial[__('Wednesday')] = __('W_Wednesday_initial');
20 $weekday_initial[__('Thursday')]  = __('T_Thursday_initial');
21 $weekday_initial[__('Friday')]    = __('F_Friday_initial');
22 $weekday_initial[__('Saturday')]  = __('S_Saturday_initial');
23
24 foreach ($weekday_initial as $weekday_ => $weekday_initial_) {
25   $weekday_initial[$weekday_] = preg_replace('/_.+_initial$/', '', $weekday_initial_);
26 }
27
28 // Abbreviations for each day.
29 $weekday_abbrev[__('Sunday')]    = __('Sun');
30 $weekday_abbrev[__('Monday')]    = __('Mon');
31 $weekday_abbrev[__('Tuesday')]   = __('Tue');
32 $weekday_abbrev[__('Wednesday')] = __('Wed');
33 $weekday_abbrev[__('Thursday')]  = __('Thu');
34 $weekday_abbrev[__('Friday')]    = __('Fri');
35 $weekday_abbrev[__('Saturday')]  = __('Sat');
36
37 // The Months
38 $month['01'] = __('January');
39 $month['02'] = __('February');
40 $month['03'] = __('March');
41 $month['04'] = __('April');
42 $month['05'] = __('May');
43 $month['06'] = __('June');
44 $month['07'] = __('July');
45 $month['08'] = __('August');
46 $month['09'] = __('September');
47 $month['10'] = __('October');
48 $month['11'] = __('November');
49 $month['12'] = __('December');
50
51 // Abbreviations for each month. Uses the same hack as above to get around the
52 // 'May' duplication.
53 $month_abbrev[__('January')] = __('Jan_January_abbreviation');
54 $month_abbrev[__('February')] = __('Feb_February_abbreviation');
55 $month_abbrev[__('March')] = __('Mar_March_abbreviation');
56 $month_abbrev[__('April')] = __('Apr_April_abbreviation');
57 $month_abbrev[__('May')] = __('May_May_abbreviation');
58 $month_abbrev[__('June')] = __('Jun_June_abbreviation');
59 $month_abbrev[__('July')] = __('Jul_July_abbreviation');
60 $month_abbrev[__('August')] = __('Aug_August_abbreviation');
61 $month_abbrev[__('September')] = __('Sep_September_abbreviation');
62 $month_abbrev[__('October')] = __('Oct_October_abbreviation');
63 $month_abbrev[__('November')] = __('Nov_November_abbreviation');
64 $month_abbrev[__('December')] = __('Dec_December_abbreviation');
65
66 foreach ($month_abbrev as $month_ => $month_abbrev_) {
67   $month_abbrev[$month_] = preg_replace('/_.+_abbreviation$/', '', $month_abbrev_);
68 }
69
70 ?>