mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-29 21:24:45 +02:00
Improved list-weather.ps1
This commit is contained in:
parent
784ebdcf31
commit
49b529496a
@ -47,7 +47,7 @@ function GetDescription([string]$text) {
|
|||||||
"Moderate snow" { return "❄️ moderate snow" }
|
"Moderate snow" { return "❄️ moderate snow" }
|
||||||
"Mist" { return "🌫 misty" }
|
"Mist" { return "🌫 misty" }
|
||||||
"Overcast" { return "☁️ overcast" }
|
"Overcast" { return "☁️ overcast" }
|
||||||
"Partly cloudy" { return "⛅️partly cloudy" }
|
"Partly cloudy" { return "⛅️ partly cloudy" }
|
||||||
"Patchy heavy snow" { return "❄️ patchy heavy snow ⚠️" }
|
"Patchy heavy snow" { return "❄️ patchy heavy snow ⚠️" }
|
||||||
"Patchy light drizzle" { return "💧 patchy light drizzle" }
|
"Patchy light drizzle" { return "💧 patchy light drizzle" }
|
||||||
"Patchy light rain" { return "💧 patchy light rain" }
|
"Patchy light rain" { return "💧 patchy light rain" }
|
||||||
@ -61,8 +61,8 @@ function GetDescription([string]$text) {
|
|||||||
"Patchy snow nearby" { return "❄️ patchy snow nearby" }
|
"Patchy snow nearby" { return "❄️ patchy snow nearby" }
|
||||||
"Patchy snow possible" { return "❄️ patchy snow possible" }
|
"Patchy snow possible" { return "❄️ patchy snow possible" }
|
||||||
"Sunny" { return "☀️ sunny" }
|
"Sunny" { return "☀️ sunny" }
|
||||||
"Thundery outbreaks possible" { return "⚡️thundery outbreaks possible" }
|
"Thundery outbreaks possible" { return "⚡️ thundery outbreaks possible" }
|
||||||
"Thundery outbreaks in nearby" { return "⚡️thundery outbreaks in nearby" }
|
"Thundery outbreaks in nearby" { return "⚡️ thundery outbreaks in nearby" }
|
||||||
default { return $text }
|
default { return $text }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user