mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-23 11:56:45 +00:00
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>
38 lines
922 B
JSON
38 lines
922 B
JSON
{
|
|
"LOADING": "Načítání …",
|
|
|
|
"TODAY": "Dnes",
|
|
"TOMORROW": "Zítra",
|
|
"DAYAFTERTOMORROW": "Pozítří",
|
|
"RUNNING": "Končí za",
|
|
"EMPTY": "Žádné nadcházející události.",
|
|
"WEEK": "{weekNumber}. týden",
|
|
|
|
"N": "S",
|
|
"NNE": "SSV",
|
|
"NE": "SV",
|
|
"ENE": "VSV",
|
|
"E": "V",
|
|
"ESE": "VJV",
|
|
"SE": "JV",
|
|
"SSE": "JJV",
|
|
"S": "J",
|
|
"SSW": "JJZ",
|
|
"SW": "JZ",
|
|
"WSW": "ZJZ",
|
|
"W": "Z",
|
|
"WNW": "ZSZ",
|
|
"NW": "SZ",
|
|
"NNW": "SSZ",
|
|
|
|
"FEELS": "Pocitově {DEGREE}",
|
|
"PRECIP_POP": "Pravděpodobnost deště",
|
|
|
|
"NEWSFEED_NO_ITEMS": "Žádné zprávy.",
|
|
|
|
"UPDATE_NOTIFICATION": "Dostupná aktualizace pro MagicMirror².",
|
|
"UPDATE_NOTIFICATION_MODULE": "Dostupná aktualizace pro modul {MODULE_NAME}.",
|
|
"UPDATE_INFO_SINGLE": "Současná instalace je na větvi {BRANCH_NAME} pozadu o {COMMIT_COUNT} commit.",
|
|
"UPDATE_INFO_MULTIPLE": "Současná instalace je na větvi {BRANCH_NAME} pozadu o {COMMIT_COUNT} commits."
|
|
}
|