feat(weather-widget): add imperial windspeed option (#4253)

This commit is contained in:
Meier Lukas
2025-10-10 19:59:05 +02:00
committed by GitHub
parent 6d0a1452a6
commit 50a23d76e3
6 changed files with 44 additions and 6 deletions

View File

@@ -1145,6 +1145,12 @@
"groupNameTaken": "Group name already taken"
}
}
},
"unit": {
"speed": {
"kilometersPerHour": "km/h",
"milesPerHour": "mph"
}
}
},
"section": {
@@ -1744,6 +1750,9 @@
"label": "Show current wind speed",
"description": "Only on current weather"
},
"useImperialSpeed": {
"label": "Use mph for windspeed"
},
"location": {
"label": "Weather location"
},
@@ -1762,12 +1771,12 @@
"description": "How the date should look like"
}
},
"currentWindSpeed": "{currentWindSpeed} km/h",
"currentWindSpeed": "{currentWindSpeed} {unit}",
"dailyForecast": {
"sunrise": "Sunrise",
"sunset": "Sunset",
"maxWindSpeed": "Max wind speed: {maxWindSpeed} km/h",
"maxWindGusts": "Max wind gusts: {maxWindGusts} km/h"
"maxWindSpeed": "Max wind speed: {maxWindSpeed} {unit}",
"maxWindGusts": "Max wind gusts: {maxWindGusts} {unit}"
},
"kind": {
"clear": "Clear",