Add date and time strings to locale.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@1086 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0d1dafd24e
commit
387ba382bc
26
wp-includes/locale.php
Normal file
26
wp-includes/locale.php
Normal 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');
|
||||
?>
|
@ -2,7 +2,7 @@
|
||||
$curpath = dirname(__FILE__).'/';
|
||||
|
||||
// The locale is hard-coded here for now.
|
||||
$locale = 'en_GB';
|
||||
$locale = 'en_US';
|
||||
|
||||
$mofile = $curpath . "/languages/$locale.mo";
|
||||
|
||||
@ -36,4 +36,6 @@ function __ngettext($single, $plural, $number) {
|
||||
global $l10n;
|
||||
return $l10n->ngettext($single, $plural, $number);
|
||||
}
|
||||
|
||||
require($curpath . 'locale.php');
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user