2016-05-11 12:38:41 +02:00
|
|
|
{
|
2022-12-10 21:50:56 +01:00
|
|
|
"LOADING": "Loading …",
|
2016-05-11 12:38:41 +02:00
|
|
|
|
2016-06-04 21:36:03 +02:00
|
|
|
"TODAY": "Today",
|
|
|
|
"TOMORROW": "Tomorrow",
|
|
|
|
"RUNNING": "Ends in",
|
|
|
|
"EMPTY": "No upcoming events.",
|
2017-10-03 21:18:25 +02:00
|
|
|
"WEEK": "Week {weekNumber}",
|
2017-03-28 22:02:30 +02:00
|
|
|
|
2016-11-18 22:19:45 -03:00
|
|
|
"N": "N",
|
|
|
|
"NNE": "NNE",
|
|
|
|
"NE": "NE",
|
|
|
|
"ENE": "ENE",
|
|
|
|
"E": "E",
|
|
|
|
"ESE": "ESE",
|
|
|
|
"SE": "SE",
|
|
|
|
"SSE": "SSE",
|
|
|
|
"S": "S",
|
|
|
|
"SSW": "SSW",
|
|
|
|
"SW": "SW",
|
|
|
|
"WSW": "WSW",
|
|
|
|
"W": "W",
|
|
|
|
"WNW": "WNW",
|
|
|
|
"NW": "NW",
|
|
|
|
"NNW": "NNW",
|
2016-10-15 13:08:46 +02:00
|
|
|
|
2021-01-13 16:31:36 +01:00
|
|
|
"FEELS": "Feels like {DEGREE}",
|
Tidy up precipitation (#3023)
Fixes #2953
This is an attempt to fix the issue with precipitation amount and
percentage mixup. I have created a separate
`precipitationPercentage`-variable where the probability of rain can be
stored.
The config options now has the old `showPrecipitationAmount` in addition
to a new setting: `showPrecipitationProbability` (shows the likelihood
of rain).
<details>
<summary>Examples</summary>
### Yr
I tested the Yr weather provider for a Norwegian city Bergen that has a
lot of rain. I have removed properties that are irrelevant for this demo
from the config-samples below.
Config:
```js
{
module: "weather",
config: {
weatherProvider: "yr",
type: "current",
showPrecipitationAmount: true,
showPrecipitationProbability: true
}
},
{
module: "weather",
config: {
weatherProvider: "yr",
type: "hourly",
showPrecipitationAmount: true,
showPrecipitationProbability: true
}
},
{
module: "weather",
config: {
weatherProvider: "yr",
type: "daily",
showPrecipitationAmount: true,
showPrecipitationProbability: true
}
}
```
Result:<br/>
<img width="444" alt="screenshot"
src="https://user-images.githubusercontent.com/34011212/216775423-4e37345c-f915-47e5-8551-7c544ebd24b1.png">
</details>
---------
Co-authored-by: Magnus Marthinsen <magmar@online.no>
Co-authored-by: Veeck <github@veeck.de>
2023-02-04 19:02:55 +01:00
|
|
|
"PRECIP_POP": "PoP",
|
|
|
|
"PRECIP_AMOUNT": "Precipitation amount",
|
2021-01-13 16:31:36 +01:00
|
|
|
|
2020-07-12 08:25:07 +02:00
|
|
|
"MODULE_CONFIG_CHANGED": "The configuration options for the {MODULE_NAME} module have changed.\nPlease check the documentation.",
|
2021-03-16 19:16:07 +01:00
|
|
|
"MODULE_CONFIG_ERROR": "Error in the {MODULE_NAME} module. {ERROR}",
|
2021-05-02 10:24:22 +02:00
|
|
|
"MODULE_ERROR_MALFORMED_URL": "Malformed url.",
|
|
|
|
"MODULE_ERROR_NO_CONNECTION": "No internet connection.",
|
2021-05-02 14:43:12 +02:00
|
|
|
"MODULE_ERROR_UNAUTHORIZED": "Authorization failed.",
|
2021-05-02 10:24:22 +02:00
|
|
|
"MODULE_ERROR_UNSPECIFIED": "Check logs for more details.",
|
2020-07-12 08:25:07 +02:00
|
|
|
|
2021-12-20 13:29:56 +01:00
|
|
|
"NEWSFEED_NO_ITEMS": "No news at the moment.",
|
|
|
|
|
2016-10-15 13:08:46 +02:00
|
|
|
"UPDATE_NOTIFICATION": "MagicMirror² update available.",
|
2018-02-17 10:14:37 +01:00
|
|
|
"UPDATE_NOTIFICATION_MODULE": "Update available for {MODULE_NAME} module.",
|
2018-08-30 00:21:43 +02:00
|
|
|
"UPDATE_INFO_SINGLE": "The current installation is {COMMIT_COUNT} commit behind on the {BRANCH_NAME} branch.",
|
2021-01-13 16:31:36 +01:00
|
|
|
"UPDATE_INFO_MULTIPLE": "The current installation is {COMMIT_COUNT} commits behind on the {BRANCH_NAME} branch."
|
2016-05-11 12:38:41 +02:00
|
|
|
}
|