You are not logged in.

#21 Yesterday 17:46:22

loutch
Member
Registered: 2015-12-12
Posts: 1,052

Re: MyForecast Script

Re

not so

Sprinkles late must be Quelques averses en fin de journée & not arrose tard


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#22 Yesterday 17:54:49

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 1,173

Re: MyForecast Script

^ I assumed it was because MyForecast has a different weather description style than Accuweather.

That's why I always use English.
I know all the phrases well, even though my English is bad.  big_smile


If people would know how little brain is ruling the world, they would die of fear.

Offline

#23 Today 06:57:08

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,937

Re: MyForecast Script

unklar wrote:

^^Thanks for your work, it works.  smile

https://forums.bunsenlabs.org/viewtopic … 49#p150249
------------------------------
https://workupload.com/file/ZNrf2FHDRez

In my configuration the time data needs to be changed like this:
line 85

${voffset -60}${goto 20}${time %H} h\
${goto 95}${tztime GMT-3 %H} h\
${goto 170}${tztime GMT-4 %H} h\

in

${voffset -60}${goto 20}${tztime GMT-3 %H} h\
${goto 95}${tztime GMT-4 %H} h\
${goto 170}${tztime GMT-5 %H} h\

Offline

#24 Today 08:21:00

loutch
Member
Registered: 2015-12-12
Posts: 1,052

Re: MyForecast Script

Hello

As usual, your script works a treat. As for the translation, I’m adding this, and then at some point I’ll have them all .

##### traduction moi forecast #######
sed -i -e 's/Sprinkles early. Breaks of sun late. Mild./Quelques averses en début de journée. Éclaircies en fin de journée./' $HOME/MyForecast/phrase
sed -i -e 's/Mostly cloudy. Mild./Ciel couvert./' $HOME/MyForecast/phrase
sed -i -e 's/Overcast. Mild./Quelques averses en début de journée. Éclaircies en fin de journée./' $HOME/MyForecast/phrase
sed -i -e 's/Sunny. Mild./Ensoleillé./' $HOME/MyForecast/phrase
sed -i -e 's/Broken clouds. Mild./Ciel partiellement nuageux./' $HOME/MyForecast/phrase
sed -i -e 's/Mostly sunny. Mild./Principalement ensoleillé./' $HOME/MyForecast/phrase
sed -i -e 's/Sunny. Mild./Ensoleillé./' $HOME/MyForecast/phrase
sed -i -e "s/Afternoon clouds. Mild./Nuageux en fin d'après-midi./" $HOME/MyForecast/phrase
sed -i -e "s/Cloudy. Mild./Nuageux./" $HOME/MyForecast/phrase
sed -i -e "s/Increasing cloudiness. Mild./De plus en plus couvert./" $HOME/MyForecast/phrase
sed -i -e "s/Scattered clouds. Mild./Partiellement nuageux./" $HOME/MyForecast/phrase
  

do the same for now & hourly.

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

Board footer

Powered by FluxBB