[wp-cvs] wordpress/wp-includes locale.php,1.4,1.5
Ryan Boren
rboren at users.sourceforge.net
Sun Feb 6 20:45:12 GMT 2005
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9263
Modified Files:
locale.php
Log Message:
Fix May abbreviation translation. Patch by morganiq. http://mosquito.wordpress.org/view.php?id=722
Index: locale.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/locale.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** locale.php 8 Aug 2004 18:54:34 -0000 1.4
--- locale.php 6 Feb 2005 20:45:10 -0000 1.5
***************
*** 49,64 ****
$month['12'] = __('December');
! // Abbreviations for each month.
! $month_abbrev[__('January')] = __('Jan');
! $month_abbrev[__('February')] = __('Feb');
! $month_abbrev[__('March')] = __('Mar');
! $month_abbrev[__('April')] = __('Apr');
! $month_abbrev[__('May')] = __('May');
! $month_abbrev[__('June')] = __('Jun');
! $month_abbrev[__('July')] = __('Jul');
! $month_abbrev[__('August')] = __('Aug');
! $month_abbrev[__('September')] = __('Sep');
! $month_abbrev[__('October')] = __('Oct');
! $month_abbrev[__('November')] = __('Nov');
! $month_abbrev[__('December')] = __('Dec');
?>
\ No newline at end of file
--- 49,70 ----
$month['12'] = __('December');
! // Abbreviations for each month. Uses the same hack as above to get around the
! // 'May' duplication.
! $month_abbrev[__('January')] = __('Jan_January_abbreviation');
! $month_abbrev[__('February')] = __('Feb_February_abbreviation');
! $month_abbrev[__('March')] = __('Mar_March_abbreviation');
! $month_abbrev[__('April')] = __('Apr_April_abbreviation');
! $month_abbrev[__('May')] = __('May_May_abbreviation');
! $month_abbrev[__('June')] = __('Jun_June_abbreviation');
! $month_abbrev[__('July')] = __('Jul_July_abbreviation');
! $month_abbrev[__('August')] = __('Aug_August_abbreviation');
! $month_abbrev[__('September')] = __('Sep_September_abbreviation');
! $month_abbrev[__('October')] = __('Oct_October_abbreviation');
! $month_abbrev[__('November')] = __('Nov_November_abbreviation');
! $month_abbrev[__('December')] = __('Dec_December_abbreviation');
!
! foreach ($month_abbrev as $month_ => $month_abbrev_) {
! $month_abbrev[$month_] = preg_replace('/_.+_abbreviation$/', '', $month_abbrev_);
! }
!
?>
\ No newline at end of file
More information about the cvs
mailing list