Changeset 1518
- Timestamp:
- 08/08/2004 06:54:34 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/locale.php
r1287 r1518 11 11 $weekday[6] = __('Saturday'); 12 12 13 // The first letter of each day. Note that marking single characters for 14 // translation is useless, but here it is. 15 $weekday_initial[__('Sunday')] = __('S'); 16 $weekday_initial[__('Monday')] = __('M'); 17 $weekday_initial[__('Tuesday')] = __('T'); 18 $weekday_initial[__('Wednesday')] = __('W'); 19 $weekday_initial[__('Thursday')] = __('T'); 20 $weekday_initial[__('Friday')] = __('F'); 21 $weekday_initial[__('Saturday')] = __('S'); 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 } 22 27 23 28 // Abbreviations for each day.
Note: See TracChangeset
for help on using the changeset viewer.