Vlastnosti');
define('RMNET_STATE', 'Kraj');
define('RMNET_STATION','Stanice');
define('RMNET_CURHEAD', 'Aktuální
stav');
define('RMNET_CONDL','Aktuální stav');
define('RMNET_TEMP', 'Teplota');
define('RMNET_TEMPL', 'Teplota');
define('RMNET_DEWPT', 'Rosný bod');
define('RMNET_DEWPTABBREV','Ros.bod');
define('RMNET_HUM', 'Vlhkost');
define('RMNET_HUML', 'Vlhkost');
define('RMNET_AVGWIND', 'Vítr');
define('RMNET_GUSTWIND', 'Náraz (G)');
define('RMNET_GUSTABBREV', 'G');
define('RMNET_WINDL', 'Rychlost a směr větru a nárazu');
define('RMNET_WIND', 'Vítr');
define('RMNET_WINDFROM', 'Vítr z');
define('RMNET_PRECIPS', 'Srážky');
define('RMNET_PRECIPSL', 'Dnešní srážky');
define('RMNET_BAROB', 'Tlak');
define('RMNET_BAROT', 'Tendence');
define('RMNET_BAROL', 'Tlak a tendence');
define('RMNET_SNOB', 'Sníh');
define('RMNET_TXTGUST', 'Náraz');
define('RMNET_DATAUPDT', 'Poslední
aktualizace');
define('RMNET_NOCOND', 'Není hlášení o současném stavu');
define('RMNET_TOWN',"Název města");
define('RMNET_CBI', 'Fire
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',"Offline"); // text to display on mesomap when station data is stale/not available
// for javascript animation control button lables
define('RMNET_RUN', 'Spustit');
define('RMNET_PAUSE', 'Pauza');
define('RMNET_STEP', 'Krokovat');
// NOTE: no need to translate the define() statements below this ------------------------------------
// Standalone (items are used when [network]-mesomap.php is invoked as a script (instead of being included in a page)
define('RMNET_CONDSFROM', 'Povetrnostní podmínky dat je ukázáno byla shromáždena od
');
// date-time appears
define('RMNET_CONDSTO', 'do');
// 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' => 'S',
'NNE' => 'SSV',
'NE' => 'SV',
'ENE' => 'VSV',
'E' => 'V',
'ESE' => 'VJV',
'SE' => 'JV',
'SSE' => 'JJV',
'S' => 'J',
'SSW' => 'JJZ',
'SW' => 'JZ',
'WSW' => 'ZJZ',
'W' => 'Z',
'WNW' => 'ZSZ',
'NW' => 'SZ',
'NNW' => 'SSZ',
);
if(isset($txtdir[$rawd])) {
$txtdire = $txtdir[$rawd];
} else {
$txtdire = $rawd;
}
return $txtdire;
}
// Barometer trend abbreviations
function RMNET_lang_barotrend($rawe) {
$txtbarot = array(
'Rising' => 'Vzestup',
'Falling' => 'Pokles',
'Rising Rapidly' => 'Rychlý nárůst',
'Falling Rapidly' => 'Rychlý pokles',
'Rising Slowly' => 'Pomalý nárůst',
'Falling Slowly' => 'Pomalý pokles',
'Steady' => 'Setrvalý stav'
);
if(isset($txtbarot[$rawe])) {
$txtbart = $txtbarot[$rawe];
} else {
$txtbart = $rawe;
}
return $txtbart;
}
function RMNET_lang_stationfeatures($rawg) {
$txtfeat = array(
'Weather, Lightning, WebCam' => 'Počasí, Webová kamera, Detektor blesk',
'Weather, WebCam, Lightning' => 'Počasí, Webová kamera, Detektor blesk',
'Weather, WebCam' => 'Počasí, Webová kamera',
'Weather, Lightning' => 'Počasí, Detektor blesk',
'Weather' => 'Počasí'
);
$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' => 'Slunečno',
'Clear' => 'Jasno',
'Cloudy' => 'Oblačno',
'Cloudy2' => 'Oblačno2',
'Partly Cloudy' => 'Částečně oblačno',
'Dry' => 'Sucho',
'Fog' => 'Mlha',
'Haze' => 'Opar',
'Heavy Rain' => 'Silný déšť',
'Mainly Fine' => 'Převážně hezky',
'Mist' => 'Slabý opar',
'Fog' => 'Mlha',
'Heavy Rain' => 'Silný déšť',
'Overcast' => 'Zataženo',
'Rain' => 'Déšť',
'Showers' => 'Přeháňky',
'Snow' => 'Sníh',
'Thunder' => 'Bouřka',
'Overcast' => 'Zataženo',
'Partly Cloudy' => 'Částečně oblačno',
'Rain' => 'Déšť',
'Rain2' => 'Déšť2',
'Showers2' => 'Přeháňky2',
'Sleet' => 'Mrznoucí déšť',
'Sleet Showers' => 'Namrzající přeháňky',
'Snow' => 'Sníh',
'Snow Melt' => 'Tající sníh',
'Snow Showers2' => 'Sněhové přeháňky2',
'Sunny' => 'Slunečno',
'Thunder Showers' => 'Bouřkové přeháňky',
'Thunder Showers2' => 'Bouřkové přeháňky2',
'Thunder Storms' => 'Bouřky',
'Tornado' => 'Tornado',
'Windy' => 'Větrno',
'Stopped Raining' => 'Přestalo pršet',
'Wind/Rain' => 'Vítr s deštěm'
);
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
'Prague' => 'Hlavní město Praha',
'Central Bohemian' => 'Středočeský kraj',
'South Bohemian' => 'Jihočeský kraj',
'Plzen' => 'Plzeňský kraj',
'Karlovy Vary' => 'Karlovarský kraj',
'Usti nad Labem' => 'Ústecký kraj',
'Liberec' => 'Liberecký kraj',
'Hradec Kralove' => 'Královéhradecký kraj',
'Pardubice' => 'Pardubický kraj',
'Olomouc' => 'Olomoucký kraj',
'Moravian-Silesian' => 'Moravskoslezský kraj',
'South Moravian' => 'Jihomoravský kraj',
'Zlin' => 'Zlínský kraj',
'Vysocina' => 'Kraj Vysočina',
);
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 language-meso-en.txt-------------------------------
?>