Add date and time strings to locale.php.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-04-17 05:01:10 +00:00
parent d1d2d6ac4f
commit 4f267012fd
2 changed files with 29 additions and 1 deletions

26
wp-includes/locale.php Normal file
View File

@ -0,0 +1,26 @@
<?php
// Date and Time
// The Weekdays
$weekday[0] = __('Sunday');
$weekday[1] = __('Monday');
$weekday[2] = __('Tuesday');
$weekday[3] = __('Wednesday');
$weekday[4] = __('Thursday');
$weekday[5] = __('Friday');
$weekday[6] = __('Saturday');
// The Months
$month['01'] = __('January');
$month['02'] = __('February');
$month['03'] = __('March');
$month['04'] = __('April');
$month['05'] = __('May');
$month['06'] = __('June');
$month['07'] = __('July');
$month['08'] = __('August');
$month['09'] = __('September');
$month['10'] = __('October');
$month['11'] = __('November');
$month['12'] = __('December');
?>

View File

@ -2,7 +2,7 @@
$curpath = dirname(__FILE__).'/'; $curpath = dirname(__FILE__).'/';
// The locale is hard-coded here for now. // The locale is hard-coded here for now.
$locale = 'en_GB'; $locale = 'en_US';
$mofile = $curpath . "/languages/$locale.mo"; $mofile = $curpath . "/languages/$locale.mo";
@ -36,4 +36,6 @@ function __ngettext($single, $plural, $number) {
global $l10n; global $l10n;
return $l10n->ngettext($single, $plural, $number); return $l10n->ngettext($single, $plural, $number);
} }
require($curpath . 'locale.php');
?> ?>