From 9bb7b3f6c767d1f4332b980ee8fe6694712d8796 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 16 Mar 2006 02:25:26 +0000 Subject: [PATCH] Localize the timezone names --- date.php | 60 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/date.php b/date.php index c96aeda..45092a3 100644 --- a/date.php +++ b/date.php @@ -187,36 +187,36 @@ class Date { $opt = array(); - $opt['-12'] = '(GMT - 12:00) Enitwetok, Kwajalien'; - $opt['-11'] = '(GMT - 11:00) Midway Island, Samoa'; - $opt['-10'] = '(GMT - 10:00) Hawaii'; - $opt['-9'] = '(GMT - 9:00) Alaska'; - $opt['-8'] = '(GMT - 8:00) Pacific Time (US & Canada)'; - $opt['-7'] = '(GMT - 7:00) Mountain Time (US & Canada)'; - $opt['-6'] = '(GMT - 6:00) Central Time (US & Canada)'; - $opt['-5'] = '(GMT - 5:00) Eastern Time (US & Canada)'; - $opt['-4'] = '(GMT - 4:00) Atlantic Time (Canada)'; - $opt['-3.5'] = '(GMT - 3:30) Newfoundland'; - $opt['-3'] = '(GMT - 3:00) Brazil, Buenos Aires, Georgetown'; - $opt['-2'] = '(GMT - 2:00) Mid-Atlantic, St. Helena'; - $opt['-1'] = '(GMT - 1:00) Azores, Cape Verde Islands'; - $opt['0'] = '(GMT) London, Dublin, Casablanca'; - $opt['1'] = '(GMT + 1:00) Berlin, Madrid, Paris'; - $opt['2'] = '(GMT + 2:00) Kaliningrad, South Africa, Warsaws'; - $opt['3'] = '(GMT + 3:00) Baghdad, Moscow, Nairobi'; - $opt['3.5'] = '(GMT + 3:30) Tehran'; - $opt['4'] = '(GMT + 4:00) Abu Dhabi, Tbilisi, Muscat'; - $opt['4.5'] = '(GMT + 4:30) Kabul'; - $opt['5'] = '(GMT + 5:00) Ekaterinburg, Islamabad, Tashkent'; - $opt['5.5'] = '(GMT + 5:30) Calcutta, Madras, New Delhi'; - $opt['6'] = '(GMT + 6:00) Almaty, Colomba, Dhakra'; - $opt['7'] = '(GMT + 7:00) Bangkok, Hanoi, Jakarta'; - $opt['8'] = '(GMT + 8:00) Beijing, Hong Kong, Singapore'; - $opt['9'] = '(GMT + 9:00) Seoul, Tokyo, Yakutsk'; - $opt['9.5'] = '(GMT + 9:30) Adelaide, Darwin'; - $opt['10'] = '(GMT + 10:00) Guam, Papua New Guinea, Sydney'; - $opt['11'] = '(GMT + 11:00) Magadan, New Caledonia, Solomon Islands'; - $opt['12'] = '(GMT + 12:00) Auckland, Wellington, Fiji'; + $opt['-12'] = $this->registry->modules['localize']->string('(GMT - 12:00) Enitwetok, Kwajalien'); + $opt['-11'] = $this->registry->modules['localize']->string('(GMT - 11:00) Midway Island, Samoa'); + $opt['-10'] = $this->registry->modules['localize']->string('(GMT - 10:00) Hawaii'); + $opt['-9'] = $this->registry->modules['localize']->string('(GMT - 9:00) Alaska'); + $opt['-8'] = $this->registry->modules['localize']->string('(GMT - 8:00) Pacific Time (US & Canada)'); + $opt['-7'] = $this->registry->modules['localize']->string('(GMT - 7:00) Mountain Time (US & Canada)'); + $opt['-6'] = $this->registry->modules['localize']->string('(GMT - 6:00) Central Time (US & Canada)'); + $opt['-5'] = $this->registry->modules['localize']->string('(GMT - 5:00) Eastern Time (US & Canada)'); + $opt['-4'] = $this->registry->modules['localize']->string('(GMT - 4:00) Atlantic Time (Canada)'); + $opt['-3.5'] = $this->registry->modules['localize']->string('(GMT - 3:30) Newfoundland'); + $opt['-3'] = $this->registry->modules['localize']->string('(GMT - 3:00) Brazil, Buenos Aires, Georgetown'); + $opt['-2'] = $this->registry->modules['localize']->string('(GMT - 2:00) Mid-Atlantic, St. Helena'); + $opt['-1'] = $this->registry->modules['localize']->string('(GMT - 1:00) Azores, Cape Verde Islands'); + $opt['0'] = $this->registry->modules['localize']->string('(GMT) London, Dublin, Casablanca'); + $opt['1'] = $this->registry->modules['localize']->string('(GMT + 1:00) Berlin, Madrid, Paris'); + $opt['2'] = $this->registry->modules['localize']->string('(GMT + 2:00) Kaliningrad, South Africa, Warsaws'); + $opt['3'] = $this->registry->modules['localize']->string('(GMT + 3:00) Baghdad, Moscow, Nairobi'); + $opt['3.5'] = $this->registry->modules['localize']->string('(GMT + 3:30) Tehran'); + $opt['4'] = $this->registry->modules['localize']->string('(GMT + 4:00) Abu Dhabi, Tbilisi, Muscat'); + $opt['4.5'] = $this->registry->modules['localize']->string('(GMT + 4:30) Kabul'); + $opt['5'] = $this->registry->modules['localize']->string('(GMT + 5:00) Ekaterinburg, Islamabad, Tashkent'); + $opt['5.5'] = $this->registry->modules['localize']->string('(GMT + 5:30) Calcutta, Madras, New Delhi'); + $opt['6'] = $this->registry->modules['localize']->string('(GMT + 6:00) Almaty, Colomba, Dhakra'); + $opt['7'] = $this->registry->modules['localize']->string('(GMT + 7:00) Bangkok, Hanoi, Jakarta'); + $opt['8'] = $this->registry->modules['localize']->string('(GMT + 8:00) Beijing, Hong Kong, Singapore'); + $opt['9'] = $this->registry->modules['localize']->string('(GMT + 9:00) Seoul, Tokyo, Yakutsk'); + $opt['9.5'] = $this->registry->modules['localize']->string('(GMT + 9:30) Adelaide, Darwin'); + $opt['10'] = $this->registry->modules['localize']->string('(GMT + 10:00) Guam, Papua New Guinea, Sydney'); + $opt['11'] = $this->registry->modules['localize']->string('(GMT + 11:00) Magadan, New Caledonia, Solomon Islands'); + $opt['12'] = $this->registry->modules['localize']->string('(GMT + 12:00) Auckland, Wellington, Fiji'); return $opt; } -- 2.22.5