-
Notifications
You must be signed in to change notification settings - Fork 0
/
mesonet-map-lang-el.txt
275 lines (234 loc) · 7.74 KB
/
mesonet-map-lang-el.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
<?php
############################################################################
#
# This is the Greek language plugin file for the GRWN-mesomap.php (Multilingual version)
# It needs to be in the same directory as the GRWN-mesomap.php program itself.
# This definition file is equivalent to the Nordic-mesomap definition files except the names have been prefixed
# with 'RMNET_' on all definitions, and some definitions are not used in the non-Nordic versions.
# Ken True
# Translation: Kosmas Stefanopoulos - http://www.meteoarachova.com 2-Feb-2009 initial release
# Version 1.00 - 24-Feb-2009 initial release
# Version 1.01 - 22-Jul-2009 added character set support
# Version 3.00 - 24-Jul-2016 repurposed for mesonet-map.php with editing
# Version 3.03 - 31-Jul-2016 - added CBI display support
# Version 4.03 - 29-May-2018 - removed preg_replace e modifier for timezone processing
define('RMNET_CHARSET','ISO-8859-7');
define('RMNET_LANGVERSION', 'mesonet-map-lang-el.txt - Version 4.03 - 29-May-2018');
// Main
define('RMNET_COLSORT', 'Óçìåßùóç: ÊÜíôå "êëéê" óôçí êïñõöÞ êÜèå óôÞëçò ãéá íá áëëÜîåôå ôç óåéñÜ êáôÜôáîçò.');
// Tables and title= tags
define('RMNET_CURRHEAD', 'Ïé ôñÝ÷ïõóåò êáéñéêÝò óõíèÞêåò Ý÷ïõí ëçöèåß áðü ôïõò óôáèìïýò ìÝëç ôïõ Hellas Weather Network');
// TABLEHEADER
define('RMNET_FEAT', 'Óôáèìüò<br/>Äõíáôüôçôåò/Õøüìåôñï');
define('RMNET_STATE', 'ÐåñéöÝñåéá');
define('RMNET_STATION','Óôáèìüò');
define('RMNET_CURHEAD', 'ÔñÝ÷ïõóåò<br />Óõíè.');
define('RMNET_CONDL','ÔñÝ÷ïõóåò óõíèÞêåò');
define('RMNET_TEMP', 'Èåñì.');
define('RMNET_TEMPL', 'Èåñìïêñáóßá');
define('RMNET_DEWPT', 'Óçìåßï Äñüóïõ');
define('RMNET_DEWPTABBREV','ÓÄ');
define('RMNET_HUM', 'Õãñáó.');
define('RMNET_HUML', 'Õãñáóßá');
define('RMNET_AVGWIND', 'Áíåìïò');
define('RMNET_GUSTWIND', 'ÑéðÞ');
define('RMNET_GUSTABBREV', 'Ñ');
define('RMNET_WINDL', 'Ôá÷ýôçôá & Äéåýèõíóç ÁíÝìïõ/ÑéðÞò');
define('RMNET_WIND', 'Áíåìïò');
define('RMNET_WINDFROM', 'Áíåìïò áðü');
define('RMNET_PRECIPS', 'Âñï÷Þ');
define('RMNET_PRECIPSL', 'Âñï÷Þ óÞìåñá');
define('RMNET_BAROB', 'Ðßåóç');
define('RMNET_BAROT', 'ÔÜóç');
define('RMNET_BAROL', 'Ðßåóç & ôÜóç');
define('RMNET_SNOB', '×éüíé');
define('RMNET_TXTGUST', 'ÑéðÞ');
define('RMNET_DATAUPDT', 'Ôåëåõôáßá<br />åíçìÝñùóç');
define('RMNET_NOCOND', 'ÓõíèÞêåò ìç äéáèÝóéìåò');
define('RMNET_TOWN',"Ðüëç");
define('RMNET_CBI', 'Fire<br/>Danger');
define('RMNET_CBILEGEND','Fire Danger [Chandler Burning Index]');
define('RMNET_CBI_EXTREME','Extreme');
define('RMNET_CBI_VERYHIGH','Very High');
define('RMNET_CBI_HIGH','High');
define('RMNET_CBI_MODERATE','Moderate');
define('RMNET_CBI_LOW','Low');
define('RMNET_OFFLINE',"Åêôüò óýíäåóçò"); // text to display on mesomap when station data is stale/not available
// for javascript animation control button lables
define('RMNET_RUN', 'ÑïÞ');
define('RMNET_PAUSE', 'Ðáýóç');
define('RMNET_STEP', 'ÂÞìá');
define('RMNET_CONDSFROM', 'Ôá óôïé÷åßá ôùí óõíèçêþí ðïõ ðñïâÜëëïíôáé óõãêåíôñþèçêáí <br/>áðü');
// date-time appears
define('RMNET_CONDSTO', 'ìÝ÷ñé');
// the following functions are used to translate various things ..
// replace the '...' after the => in each of the arrays below for local language
// do not change the '..' before the => .. it is the key used for the lookups
// Wind direction abbreviations
function RMNET_lang_winddir($rawd) {
$txtdir = array(
'N' => 'Â',
'NNE' => 'ÂÂÁ',
'NE' => 'ÂÁ',
'ENE' => 'ÁÂÁ',
'E' => 'Á',
'ESE' => 'ÁÍÁ',
'SE' => 'ÍÁ',
'SSE' => 'ÍÍÁ',
'S' => 'Í',
'SSW' => 'ÍÍÄ',
'SW' => 'ÍÄ',
'WSW' => 'ÄÍÄ',
'W' => 'Ä',
'WNW' => 'ÄÂÄ',
'NW' => 'ÂÄ',
'NNW' => 'ÂÂÄ',
);
if(isset($txtdir[$rawd])) {
$txtdire = $txtdir[$rawd];
} else {
$txtdire = $rawd;
}
return $txtdire;
}
// Barometer trend abbreviations
function RMNET_lang_barotrend($rawe) {
$txtbarot = array(
'Rising' => 'ÁíïäéêÞ',
'Falling' => 'ÐôùôéêÞ',
'Rising Rapidly' => 'Åíôïíá ÁíïäéêÞ',
'Falling Rapidly' => 'Åíôïíá ÐôùôéêÞ',
'Rising Slowly' => 'ÁñãÜ ÁíïäéêÞ',
'Falling Slowly' => 'ÁñãÜ ÐôùôéêÞ',
'RisingRapidly' => 'Åíôïíá ÁíïäéêÞ',
'FallingRapidly' => 'Åíôïíá ÐôùôéêÞ',
'RisingSlowly' => 'ÁñãÜ ÁíïäéêÞ',
'FallingSlowly' => 'ÁñãÜ ÐôùôéêÞ',
'Steady' => 'ÓôáèåñÞ'
);
if(isset($txtbarot[$rawe])) {
$txtbart = $txtbarot[$rawe];
} else {
$txtbart = $rawe;
}
return $txtbart;
}
function RMNET_lang_stationfeatures($rawg) {
$txtfeat = array(
'Weather, Lightning, WebCam' => 'Óôáèìüò,Áíé÷íåõôÞò,ÊÜìåñá',
'Weather, WebCam, Lightning' => 'Óôáèìüò, ÊÜìåñá, Áíé÷íåõôÞò',
'Weather, WebCam' => 'Óôáèìüò, ÊÜìåñá',
'Weather, Lightning' => 'Óôáèìüò, Áíé÷íåõôÞò',
'Weather' => 'Óôáèìüò'
);
$rawg = preg_replace('|\s+|s','',$rawg);
$rawg = preg_replace('|,|s',', ',$rawg);
if(isset($txtfeat[$rawg])) {
$txtfeatu = $txtfeat[$rawg];
} else {
$txtfeatu = $rawg;
}
return $txtfeatu;
}
// Condition names (based on standard WD icon names)
function RMNET_lang_WXconds($rawh) {
$txticon = array(
'Sunny' => 'ÇëéïöÜíåéá',
'Clear' => 'Áßèñéïò',
'Cloudy' => 'ÓõííåöéáóìÝíïò',
'Cloudy2' => 'ÓõííåöéáóìÝíïò',
'Partly Cloudy' => 'ÌåñéêÜ óýííåöá',
'Mostly Cloudy' => 'Ðïëý óõííåöéáóìÝíïò',
'Scattered Clouds' => 'ÄéÜóðáñôá íÝöç',
'light Drizzle' => 'ÅëáöñéÜ øé÷Üëá',
'Drizzle' => 'Øé÷Üëá',
'Dry' => 'Óôåãíüò',
'Fog' => 'Ïìß÷ëç',
'Shallow Fog' => '×áìçëÞ ïìß÷ëç',
'Haze' => 'ÐåñéïñéóìÝíç ïñáôüôçôá',
'Heavy Rain' => '¸íôïíç âñï÷Þ',
'Mainly Fine' => 'ÄéÜóðáñôá íÝöç',
'Mist' => 'Êáôá÷íéÜ',
'Freezing fog' => 'ÐáãùìÝíç ïìß÷ëç',
'Overcast' => 'ÓõííåöéÜ',
'Rain' => 'Âñï÷Þ',
'light Rain' => 'ÁóèåíÞò âñï÷Þ',
'light Rain +Mist' => 'ÁóèåíÞò âñï÷Þ, Êáôá÷íéÜ',
'light Drizzle +Mist' => 'Åëáöñéá âñï÷Þ, Êáôá÷íéÜ',
'heavy Rain +Mist' => '¸íôïíç âñï÷Þ, Êáôá÷íéÜ',
'heavy Rain' => '¸íôïíç âñï÷Þ',
'Showers' => 'Ìðüñá',
'Thunder' => 'Êåñáõíïß',
'Overcast' => 'ÓõííåöéÜ',
'Rain2' => 'Âñï÷Þ',
'Showers2' => 'Ìðüñá',
'Sleet' => '×éïíüíåñï',
'Sleet Showers' => 'Ðáñïäéêü ÷éïíüíåñï',
'Snow' => '×éüíé',
'light Snow' => 'ÁóèåíÞò ÷éïíüðôùóç',
'Snow Melt' => 'ËéùìÝíï ÷éüíé',
'Snow Showers2' => 'ÐáñïäéêÞ ÷éïíüðôùóç',
'light Snow +Mist' => 'ÁóèåíÞò ÷éïíüðôùóç, Êáôá÷íéÜ',
'Snow +Freezing Fog' => '×éüíé, ÐáãùìÝíç ïìß÷ëç',
'Thunder Showers' => 'ÐáñïäéêÞ êáôáéãßäá',
'Thunder Showers2' => 'ÐáñïäéêÞ êáôáéãßäá',
'Thunderstorm' => 'Êáôáéãßäá',
'Nearby Thunderstorm' => 'Êáôáéãßäåò óôá êïíôéíÜ',
'Thunder Storms' => 'Êáôáéãßäåò',
'light Thunderstorm Rain' => 'Êáôáéãßäá, ÅëáöñéÜ âñï÷Þ',
'heavy Thunderstorm Rain' => '¸íôïíç êáôáéãßäá',
'Tornado' => 'Áíåìïóôñüâéëïò',
'Windy' => '¶íåìïò',
'Stopped Raining' => 'Ðáýóç âñï÷üðôùóçò',
'Wind/Rain' => 'Áíåìüâñï÷ï'
);
if(isset($txticon[$rawh]) ) {
$txticons = $txticon[$rawh];
} else {
$txticons = $rawh;
}
return $txticons;
}
// lookup for Region names (optional)
function RMNET_lang_region($rawr) {
$txtregions = array(
// put 'english region name' => 'translated region name', here
'Attica' => 'ÁôôéêÞ',
'Central Greece' => 'ÓôåñåÜ ÅëëÜäá',
'Macedonia' => 'Ìáêåäïíßá',
'Crete' => 'ÊñÞôç',
'Thrace' => 'ÈñÜêç',
'Epirus' => '¹ðåéñïò',
'Ionian Islands' => 'Éüíéï',
'Peloponnese' => 'Ðåëïðüííçóïò',
'Aegean' => 'Áéãáßï',
'Thessaly' => 'Èåóóáëßá',
);
if(isset($txtregions[$rawr])) {
$tregion = $txtregions[$rawr];
} else {
$tregion = $rawr;
}
return $tregion;
}
// lookup for Timezone names (optional)
function RMNET_lang_fixTZname ($timestring) {
$tstr = $timestring;
$tSF = strftime("%Z",time()); // might be long-form name
$tRE = date('T',time()); // normal 3 or 4 character abbreviation
if($tSF !== $tRE) { // fix long form to short form if needed
$tstr = str_replace($tSF,$tRE,$tstr);
}
$timeZoneAbbrev = array(
// Put entries here like 'EST' => 'whatever', ...
'EET' => 'EET',
'EEST' => 'EEST',
);
if (isset($timeZoneAbbrev[$tRE]) ) {
$temp = str_replace($tRE,$timeZoneAbbrev[$tRE],$tstr);
if($temp <> '') { $tstr = $temp; }
}
return $tstr;
}
// ---------------------end of mesonet-map-lang-el.txt-------------------------------
?>