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>
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"LOADING": "Chargement…",
|
|
|
|
"TODAY": "Aujourd'hui",
|
|
"TOMORROW": "Demain",
|
|
"DAYAFTERTOMORROW": "Après-demain",
|
|
"RUNNING": "Se termine dans",
|
|
"EMPTY": "Aucun RDV à venir.",
|
|
"WEEK": "Semaine {weekNumber}",
|
|
|
|
"N": "N",
|
|
"NNE": "NNE",
|
|
"NE": "NE",
|
|
"ENE": "ENE",
|
|
"E": "E",
|
|
"ESE": "ESE",
|
|
"SE": "SE",
|
|
"SSE": "SSE",
|
|
"S": "S",
|
|
"SSW": "SSO",
|
|
"SW": "SO",
|
|
"WSW": "OSO",
|
|
"W": "O",
|
|
"WNW": "ONO",
|
|
"NW": "NO",
|
|
"NNW": "NNO",
|
|
|
|
"FEELS": "Ressenti {DEGREE}",
|
|
"PRECIP_POP": "Probabilité de précipitations",
|
|
|
|
"MODULE_CONFIG_CHANGED": "Les options de configuration du module {MODULE_NAME} ont changé.\nVeuillez consulter la documentation.",
|
|
"MODULE_CONFIG_ERROR": "Erreur dans le module {MODULE_NAME}. {ERROR}",
|
|
|
|
"UPDATE_NOTIFICATION": "Une mise à jour de MagicMirror² est disponible",
|
|
"UPDATE_NOTIFICATION_MODULE": "Une mise à jour est disponible pour le module {MODULE_NAME}.",
|
|
"UPDATE_INFO_SINGLE": "L'installation actuelle est {COMMIT_COUNT} commit en retard sur la branche {BRANCH_NAME}.",
|
|
"UPDATE_INFO_MULTIPLE": "L'installation actuelle est {COMMIT_COUNT} commits en retard sur la branche {BRANCH_NAME}."
|
|
}
|