Features'); define('RMNET_STATE', 'Województwo'); define('RMNET_STATION','Stacja'); define('RMNET_CURHEAD', 'Aktualne
War.'); define('RMNET_CONDL','Aktualne warunki'); define('RMNET_TEMP', 'Temp.'); define('RMNET_TEMPL', 'Temperatura'); define('RMNET_DEWPT', 'Punkt rosy'); define('RMNET_DEWPTABBREV','P. Rosy'); define('RMNET_HUM', 'Wilg.'); define('RMNET_HUML', 'Wilgotność'); define('RMNET_AVGWIND', 'Wiart'); define('RMNET_GUSTWIND', 'Poryw'); define('RMNET_GUSTABBREV', '/P'); define('RMNET_WINDL', 'Kierunek wiatru i Prędkość/Poryw'); define('RMNET_WIND', 'Wiatr'); define('RMNET_WINDFROM', 'Wiatr z'); define('RMNET_PRECIPS', 'Deszcz'); define('RMNET_PRECIPSL', 'Deszcz dziś'); define('RMNET_BAROB', 'Ciśnienie'); define('RMNET_BAROT', 'Trend'); define('RMNET_BAROL', 'Ciśnienie i trend'); define('RMNET_SNOB', 'Śnieg'); define('RMNET_TXTGUST', 'Poryw'); define('RMNET_DATAUPDT', 'Ostatnia
Aktualizacja'); define('RMNET_NOCOND', 'Brak aktualnych danych'); define('RMNET_TOWN',"Miasto"); 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', 'Start'); define('RMNET_PAUSE', 'Pauza'); define('RMNET_STEP', 'Krok'); define('RMNET_CONDSFROM', 'Dane warunków pogodowych zostały zebrane
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' => 'Pn', 'NNE' => 'PnPnWs', 'NE' => 'PnWs', 'ENE' => 'WsPnWs', 'E' => 'Ws', 'ESE' => 'WsPdWs', 'SE' => 'PdWs', 'SSE' => 'PdPdWs', 'S' => 'Pd', 'SSW' => 'PdPdZd', 'SW' => 'PdZd', 'WSW' => 'ZdPdZd', 'W' => 'Zd', 'WNW' => 'ZdPnZd', 'NW' => 'PnZd', 'NNW' => 'PnPnZd', ); if(isset($txtdir[$rawd])) { $txtdire = $txtdir[$rawd]; } else { $txtdire = $rawd; } return $txtdire; } // Barometer trend abbreviations function RMNET_lang_barotrend($rawe) { $txtbarot = array( 'Rising' => 'Rośnie', 'Falling' => 'Spada', 'Rising Rapidly' => 'Szybko rośnie', 'Falling Rapidly' => 'Szybko spada', 'Rising Slowly' => 'Rośnie powoli', 'Falling Slowly' => 'Spada powoli', 'Steady' => 'Stabilne' ); if(isset($txtbarot[$rawe])) { $txtbart = $txtbarot[$rawe]; } else { $txtbart = $rawe; } return $txtbart; } function RMNET_lang_stationfeatures($rawg) { $txtfeat = array( 'Weather, Lightning, WebCam' => 'Pogoda, WebCam, Burze', 'Weather, WebCam, Lightning' => 'Pogoda, WebCam, Burze', 'Weather, WebCam' => 'Pogoda, WebCam', 'Weather, Lightning' => 'Pogoda, Burze', 'Weather' => 'Pogoda' ); $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' => 'Słonecznie', 'Clear' => 'Bezchmurnie', 'Cloudy' => 'Pochmurno', 'Cloudy2' => 'Cloudy2', 'Partly Cloudy' => 'Częściowe zachmurzenie', 'Dry' => 'Sucho', 'Fog' => 'Mgła', 'Haze' => 'Zamglenia', 'Heavy Rain' => 'Gwałtowne opady deszczu', 'Mainly Fine' => 'Przeważnie pogodnie', 'Mist' => 'Mist', 'Fog' => 'Mgła', 'Heavy Rain' => 'Gwałtowne opady deszczu', 'Overcast' => 'Zachmurzenie', 'Rain' => 'Deszcz', 'Showers' => 'Przelotny deszcz', 'Snow' => 'Śnieg', 'Thunder' => 'Burza', 'Overcast' => 'Pochmurno', 'Partly Cloudy' => 'Częściowe zachmurzenie', 'Rain' => 'Deszcz', 'Rain2' => 'Deszcz', 'Showers2' => 'Lekki deszcz', 'Sleet' => 'Deszcz ze śniegiem', 'Sleet Showers' => 'Przelotny deszcz ze śniegiem', 'Snow' => 'Śnieg', 'Snow Melt' => 'Topniejący śnieg', 'Snow Showers2' => 'Przelotny śnieg', 'Sunny' => 'Słonecznie', 'Thunder Showers' => 'Przelotne burze', 'Thunder Showers2' => 'Thunder Showers2', 'Thunder Storms' => 'Burze z piorunami', 'Tornado' => 'Tornado', 'Windy' => 'Wietrznie', 'Stopped Raining' => 'Przestało padać', 'Wind/Rain' => 'Wiatr/Deszcz' ); 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 'Silesian' => 'śląskie', 'Lesser Poland' => 'małopolskie', 'Swietokrzyskie' => 'świętokrzyskie' ); 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.txt------------------------------- ?>