mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-24 12:20:59 +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>
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"LOADING": "Bezig met laden …",
|
|
|
|
"TODAY": "Vandaag",
|
|
"TOMORROW": "Morgen",
|
|
"DAYAFTERTOMORROW": "Overmorgen",
|
|
"RUNNING": "Eindigt over",
|
|
"EMPTY": "Geen geplande afspraken.",
|
|
"WEEK": "Week {weekNumber}",
|
|
|
|
"N": "N",
|
|
"NNE": "NNO",
|
|
"NE": "NO",
|
|
"ENE": "ONO",
|
|
"E": "O",
|
|
"ESE": "OZO",
|
|
"SE": "ZO",
|
|
"SSE": "ZZO",
|
|
"S": "Z",
|
|
"SSW": "ZZW",
|
|
"SW": "ZW",
|
|
"WSW": "WZW",
|
|
"W": "W",
|
|
"WNW": "WNW",
|
|
"NW": "NW",
|
|
"NNW": "NNW",
|
|
|
|
"FEELS": "Voelt als {DEGREE}",
|
|
"PRECIP_POP": "Neerslagkans",
|
|
|
|
"MODULE_CONFIG_CHANGED": "De configuratie opties voor de module {MODULE_NAME} zijn gewijzigd.\nControleer de documentatie.",
|
|
"MODULE_CONFIG_ERROR": "Fout in de {MODULE_NAME} module. {ERROR}",
|
|
"MODULE_ERROR_MALFORMED_URL": "Ongeldige url.",
|
|
"MODULE_ERROR_NO_CONNECTION": "Geen internet verbinding.",
|
|
"MODULE_ERROR_UNAUTHORIZED": "Authenticatie mislukt.",
|
|
"MODULE_ERROR_UNSPECIFIED": "Bekijk de logs voor meer informatie.",
|
|
|
|
"NEWSFEED_NO_ITEMS": "Geen nieuws op dit moment.",
|
|
|
|
"UPDATE_NOTIFICATION": "MagicMirror² update beschikbaar.",
|
|
"UPDATE_NOTIFICATION_MODULE": "Update beschikbaar voor {MODULE_NAME} module.",
|
|
"UPDATE_INFO_SINGLE": "De huidige installatie loopt {COMMIT_COUNT} commit achter op de {BRANCH_NAME} branch.",
|
|
"UPDATE_INFO_MULTIPLE": "De huidige installatie loopt {COMMIT_COUNT} commits achter op de {BRANCH_NAME} branch."
|
|
}
|