Pobrałem pogodę z omnimo 3.1 . Chciałem spolszczyć takie elementy jak barometer, humidity itp.(
Czy mógłby mi ktoś pomóc. Próbowałem spolszczyć elementy pogody ale nie działają
Kod:
[Variables]
@include=#SKINSPATH#\WP7\Common\Variables\UserVariables.inc
@include1=#CURRENTPATH#\UserVariables.inc
@include4=#SKINSPATH#\WP7\Common\color\color.inc
@include3=#SKINSPATH#\WP7\Panels\Weather\UserVariables.inc
@include2=#SKINSPATH#\WP7\Common\Variables\Languages\lang.inc
[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=30
Url=http: //weather.yahooapis.com/forecastrss?p=#WEATHERCODE#&u=#UNIT#
RegExp=(?siU)<link.*>(.*)</link>.*city=\"(.*)\".*chill=\"(.*)\".*direction=\"(.*)\".*speed=\"(.*)\".*humidity=\"(.*)\".*visibility=\"(.*)\".*pressure=\"(.*)\".*sunrise=\"(.*)\".*sunset=\"(.*)\".*<image>.*<url>(.*)</url>.*<title>.*: .*m .*(.*)</title>.*lat>(.*)<.*long>(.*)<.*yweather: condition.*text=\"(.*)\".*code=\"(.*)\".*temp=\"(.*)\".*yweather: forecast.*day=\"(.*)\".*high=\"(.*)\".*code=\"(.*)\".*yweather: forecast.*day=\"(.*)\".*high=\"(.*)\".*code=\"(.*)\".*
StringIndex=1
[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=15
Substitute="Mostly Cloudy": "Pochmurnie","Light Snow": "Opady Śniegu","Light Rain": "Lekki Deszcz","Light Rain Shower": "Lekki Deszcz","Cloudy": Pochmurnie"","Drizzle": "Mżawka","Lgt.": "Hafif","And": "oraz","Partly": "Zachmurzenie","Mostly": "Przeważnie","and": "oraz","with": "ze","Clear": "Przejaśnienie","Fair": "Czyte","Partly Cloudy": "Częściowe zachmurzenie","Cloudy": "Pochmurnie","Freezing Rain": "Grad","Light Rain Shower": "Lekki Deszcz","Light Rain": "#Lekki Deszcz#","Rain": "Deszcz","Thunderstorm": "#Burza#","Thunder": "#Grzmot#","in the Vicinity": "w pobliżu","Shower": "Przelotny Deszcz","Light Snow": "Lekki Śnieg","Snow": "Śnieg","Sunny": "Słonecznie","Windy": "Wierznie","Haze": "Mgła","Fog": "Zamglenie","W-ead Dust": "Zamieć","Set": "Set","Light Drizzle": "Lekka Mżawka","Wintry Mix": "Lodowato","Light": "Lekko","Mist": "#Mgła#"
[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=16
[MeasureWeatherIconMod]
Measure=CALC
Formula=8800000 + (MeasureWeatherIcon*1000) + 99
Substitute="88": "#SKINSPATH#\WP7\Panels\Weather\simple\","099": ".png"
[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=17
[MeasureWindChill]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=3
[MeasureWindDirection]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=4
[MeasureWindSpeed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=5
[MeasureHumidity]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=6
[MeasureVisibility]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=7
[MeasurePressure]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=8
[MeasureSunrise]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=9
[MeasureSunset]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=10
[Icons]
MeasureName=MeasureWeatherIconMod
Meter=IMAGE
X=(#height#/5#itemshadowoffsetX#)
Hidden=#ItemShadow#
ImageTint=#ItemShadowColor#
Greyscale=1
Y=(#height#/6#itemshadowoffsetY#)
w=(#height#/1.5)
ImageRotate=#rotationangle#
[Icon]
MeasureName=MeasureWeatherIconMod
Meter=IMAGE
X=5
ImageTint=#TextColor#
Greyscale=1
Y=110
w=160
[MeasureCity]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=2
[city]
Meter=STRING
Antialias=1
MeasureName=MeasureCity
X=15
Y=5
H=15
W=150
FontColor=#textcolor#,255
FontSize=15
FontFace=Segoe WP
AntiAlias=1
StringCase=UPPER
[name1]
Meter=STRING
Antialias=1
Text=Prognoza na Dziś
X=5
Y=24
H=15
W=150
FontColor=#textcolor#,100
FontSize=45
FontFace=Segoe WP Light
AntiAlias=1
[activearea0]
Meter=IMAGE
SolidColor=255,255,255,1
X=0
Y=0
W=500
H=520
Hidden=0
MouseOverAction=!Execute [!RainmeterShowMeter MeterSettings][!RainmeterShowMeter MeterClose][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter MeterSettings][!RainmeterHideMeter MeterClose][!RainmeterRedraw]
[Temp]
Meter=STRING
Antialias=1
MeasureName=MeasureWeatherTemp
X=180
Y=124
H=15
W=150
FontColor=#textcolor#
FontSize=50
FontFace=Segoe WP semiLight
AntiAlias=1
[Desc]
MeasureName=MeasureWeatherDesc
Meter=STRING
Antialias=1
X=192
Y=200
H=15
W=150
FontColor=#colorskin#
FontSize=11
FontFace=Segoe WP Semibold
AntiAlias=1
[Style]
FontSize=14
Y=25r
[1]
MeterStyle=Style
Meter=STRING
X=10
Y=270
FontFace=#FontFaceUI#
MeterStyle=DriveText
FontColor=#textcolor#
Text=#Barometer#
AntiAlias=1
[2]
MeterStyle=Style
Meter=STRING
X=r
FontFace=#FontFaceUI#
MeterStyle=DriveText
FontColor=#textcolor#
Text=#Humidity#
AntiAlias=1
[3]
MeterStyle=Style
Meter=STRING
X=r
FontFace=#FontFaceUI#
MeterStyle=DriveText
FontColor=#textcolor#
Text=#Visibility#
AntiAlias=1
[4]
MeterStyle=Style
Meter=STRING
X=r
FontFace=#FontFaceUI#
MeterStyle=DriveText
FontColor=#textcolor#
Text=#Wind#
AntiAlias=1
[5]
MeterStyle=Style
Meter=STRING
X=r
FontFace=#FontFaceUI#
MeterStyle=DriveText
FontColor=#textcolor#
Text=#Windchill#
AntiAlias=1
[6]
MeterStyle=Style
Meter=STRING
X=r
FontFace=#FontFaceUI#
MeterStyle=DriveText
FontColor=#textcolor#
Text=#Winddirection#
AntiAlias=1
[7]
MeterStyle=Style
Meter=STRING
X=r
FontFace=#FontFaceUI#
MeterStyle=DriveText
FontColor=#textcolor#
Text=#Sunrise#
AntiAlias=1
[8]
MeterStyle=Style
Meter=STRING
X=r
FontFace=#FontFaceUI#
MeterStyle=DriveText
FontColor=#textcolor#
Text=#Sunset#
AntiAlias=1
[i1]
MeterStyle=Style
Meter=STRING
X=310
Y=270
FontFace=#FontFaceUI#
MeterStyle=DriveText
FontColor=#colorskin#
MeasureName=MeasurePressure
AntiAlias=1
[i2]
MeterStyle=Style
Meter=STRING
X=r
FontFace=#FontFaceUI#
MeterStyle=DriveText
FontColor=#colorskin#
MeasureName=MeasureHumidity
AntiAlias=1
[i3]
MeterStyle=Style
Meter=STRING
X=r
FontFace=#FontFaceUI#
MeterStyle=DriveText
FontColor=#colorskin#
MeasureName=MeasureVisibility
AntiAlias=1
[i4]
MeterStyle=Style
Meter=STRING
X=r
FontFace=#FontFaceUI#
MeterStyle=DriveText
FontColor=#colorskin#
MeasureName=MeasureWindSpeed
AntiAlias=1
[i5]
MeterStyle=Style
Meter=STRING
X=r
FontFace=#FontFaceUI#
MeterStyle=DriveText
FontColor=#colorskin#
MeasureName=MeasureWindChill
AntiAlias=1
[i6]
MeterStyle=Style
Meter=STRING
X=r
FontFace=#FontFaceUI#
MeterStyle=DriveText
FontColor=#colorskin#
MeasureName=MeasureWindDirection
AntiAlias=1
[i7]
MeterStyle=Style
Meter=STRING
X=r
FontFace=#FontFaceUI#
MeterStyle=DriveText
FontColor=#colorskin#
MeasureName=MeasureSunrise
AntiAlias=1
[i8]
MeterStyle=Style
Meter=STRING
X=r
FontFace=#FontFaceUI#
MeterStyle=DriveText
FontColor=#colorskin#
MeasureName=MeasureSunset
AntiAlias=1
MENU
----
[MeterClose]
Meter=image
Imagename=rem.png
X=200
Y=0
LeftMouseUpAction=!RainmeterDeactivateConfig
Hidden=1
[MeterSettings]
Meter=BUTTON
ButtonImage=settings.png
X=230
Y=0
ButtonCommand=!Execute ["#SKINSPATH#WP7\Common\Config\config.exe" #CURRENTCONFIG#]
Hidden=1
[Statistics]
Since=Mon Jan 10 17: 27: 21 2011
NetStatsCount=18
NetStatsInHigh1=0
NetStatsInLow1=0
NetStatsOutHigh1=0
NetStatsOutLow1=0
NetStatsInHigh2=0
NetStatsInLow2=0
NetStatsOutHigh2=0
NetStatsOutLow2=0
NetStatsInHigh3=0
NetStatsInLow3=4082798
NetStatsOutHigh3=0
NetStatsOutLow3=393527
NetStatsInHigh4=0
NetStatsInLow4=4082798
NetStatsOutHigh4=0
NetStatsOutLow4=393527
NetStatsInHigh5=0
NetStatsInLow5=0
NetStatsOutHigh5=0
NetStatsOutLow5=0
NetStatsInHigh6=0
NetStatsInLow6=0
NetStatsOutHigh6=0
NetStatsOutLow6=0
NetStatsInHigh7=0
NetStatsInLow7=4082798
NetStatsOutHigh7=0
NetStatsOutLow7=393527
NetStatsInHigh8=0
NetStatsInLow8=0
NetStatsOutHigh8=0
NetStatsOutLow8=0
NetStatsInHigh9=0
NetStatsInLow9=0
NetStatsOutHigh9=0
NetStatsOutLow9=0
NetStatsInHigh10=0
NetStatsInLow10=0
NetStatsOutHigh10=0
NetStatsOutLow10=0
NetStatsInHigh11=0
NetStatsInLow11=0
NetStatsOutHigh11=0
NetStatsOutLow11=0
NetStatsInHigh12=0
NetStatsInLow12=0
NetStatsOutHigh12=0
NetStatsOutLow12=0
NetStatsInHigh13=0
NetStatsInLow13=0
NetStatsOutHigh13=0
NetStatsOutLow13=0
NetStatsInHigh14=0
NetStatsInLow14=0
NetStatsOutHigh14=0
NetStatsOutLow14=0
NetStatsInHigh15=0
NetStatsInLow15=0
NetStatsOutHigh15=0
NetStatsOutLow15=0
NetStatsInHigh16=0
NetStatsInLow16=0
NetStatsOutHigh16=0
NetStatsOutLow16=0
NetStatsInHigh17=0
NetStatsInLow17=0
NetStatsOutHigh17=0
NetStatsOutLow17=0
NetStatsInHigh18=0
NetStatsInLow18=0
NetStatsOutHigh18=0
NetStatsOutLow18=0