diff --git a/_site/content/posts/modules/prettyweather.md b/_site/content/posts/modules/prettyweather.md index 66a78c1e..24c0c4ca 100644 --- a/_site/content/posts/modules/prettyweather.md +++ b/_site/content/posts/modules/prettyweather.md @@ -37,6 +37,7 @@ None. refreshInterval: 300 unit: "c" view: 0 + language: "en" ``` ### Attributes @@ -65,3 +66,7 @@ Values: `F` for Fahrenheit, `C` for Celcius. `view`
_Optional_ Wttr.in view configuration.
Values: See `curl wttr.in/:help` for more details. + +`language`
+_Optional_ Wttr.in language configuration.
+Values: See `curl wttr.in/:translation` for more details. diff --git a/docs/index.xml b/docs/index.xml index 0cee85dc..3c9c63ad 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -207,7 +207,7 @@ position Defines where in the grid this module’s widget will be displa Displays weather information as ASCII art from Wttr.in. Source Code wtf/prettyweather/ Required ENV Variables None. Keyboard Commands None. -Configuration prettyweather:enabled:truecity:"tehran"position:top:3left:5height:1width:1refreshInterval:300unit:"c"view:0 Attributes city Optional. It will grab the current location from your IP address if omitted. +Configuration prettyweather:enabled:truecity:"tehran"position:top:3left:5height:1width:1refreshInterval:300unit:"c"view:0language:"en" Attributes city Optional. It will grab the current location from your IP address if omitted. Values: The name of any city supported by Wttr.in. enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false. position Defines where in the grid this module’s widget will be displayed. diff --git a/docs/posts/index.xml b/docs/posts/index.xml index 14be3c50..4fcdae0b 100644 --- a/docs/posts/index.xml +++ b/docs/posts/index.xml @@ -207,7 +207,7 @@ position Defines where in the grid this module’s widget will be displa Displays weather information as ASCII art from Wttr.in. Source Code wtf/prettyweather/ Required ENV Variables None. Keyboard Commands None. -Configuration prettyweather:enabled:truecity:"tehran"position:top:3left:5height:1width:1refreshInterval:300unit:"c"view:0 Attributes city Optional. It will grab the current location from your IP address if omitted. +Configuration prettyweather:enabled:truecity:"tehran"position:top:3left:5height:1width:1refreshInterval:300unit:"c"view:0language:"en" Attributes city Optional. It will grab the current location from your IP address if omitted. Values: The name of any city supported by Wttr.in. enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false. position Defines where in the grid this module’s widget will be displayed. diff --git a/docs/posts/modules/prettyweather/index.html b/docs/posts/modules/prettyweather/index.html index fc88defa..18fade25 100644 --- a/docs/posts/modules/prettyweather/index.html +++ b/docs/posts/modules/prettyweather/index.html @@ -162,7 +162,8 @@ height="0" width="0" style="display:none;visibility:hidden"> width: 1 refreshInterval: 300 unit: "c" - view: 0 + view: 0 + language: "en"

Attributes

city
@@ -190,6 +191,10 @@ Values: F for Fahrenheit, C for Celcius.

Optional Wttr.in view configuration.
Values: See curl wttr.in/:help for more details.

+

language
+Optional Wttr.in language configuration.
+Values: See curl wttr.in/:translation for more details.

+