2016-05-19 23:26:56 +02:00
|
|
|
{
|
2022-12-10 21:50:56 +01:00
|
|
|
"LOADING": "Laster …",
|
2016-05-19 23:26:56 +02:00
|
|
|
|
2023-02-21 22:39:21 +01:00
|
|
|
"DAYBEFOREYESTERDAY": "I forgårs",
|
|
|
|
"YESTERDAY": "I går",
|
2016-06-04 21:36:03 +02:00
|
|
|
"TODAY": "I dag",
|
|
|
|
"TOMORROW": "I morgen",
|
2017-03-17 22:36:09 -03:00
|
|
|
"DAYAFTERTOMORROW": "I overmorgen",
|
2016-06-04 21:36:03 +02:00
|
|
|
"RUNNING": "Slutter om",
|
|
|
|
"EMPTY": "Ingen kommende arrangementer.",
|
2017-10-03 21:18:25 +02:00
|
|
|
"WEEK": "Uke {weekNumber}",
|
2017-06-13 01:52:13 +02:00
|
|
|
|
2016-11-18 22:19:45 -03:00
|
|
|
"N": "N",
|
|
|
|
"NNE": "NNØ",
|
|
|
|
"NE": "NØ",
|
|
|
|
"ENE": "ØNØ",
|
|
|
|
"E": "Ø",
|
|
|
|
"ESE": "ØSØ",
|
|
|
|
"SE": "SØ",
|
|
|
|
"SSE": "SSØ",
|
|
|
|
"S": "S",
|
|
|
|
"SSW": "SSV",
|
|
|
|
"SW": "SV",
|
|
|
|
"WSW": "VSV",
|
|
|
|
"W": "V",
|
|
|
|
"WNW": "VNV",
|
|
|
|
"NW": "NV",
|
2017-03-17 22:36:09 -03:00
|
|
|
"NNW": "NNV",
|
|
|
|
|
2021-01-13 16:31:36 +01:00
|
|
|
"FEELS": "Føles som {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": "Sannsynlighet for nedbør",
|
|
|
|
"PRECIP_AMOUNT": "Nedbørsmengde",
|
2021-01-13 16:31:36 +01:00
|
|
|
|
2017-06-13 01:52:13 +02:00
|
|
|
"UPDATE_NOTIFICATION": "MagicMirror²-oppdatering er tilgjengelig.",
|
2018-02-17 10:14:37 +01:00
|
|
|
"UPDATE_NOTIFICATION_MODULE": "Oppdatering tilgjengelig for modulen {MODULE_NAME}.",
|
2018-08-30 00:21:43 +02:00
|
|
|
"UPDATE_INFO_SINGLE": "Nåværende installasjon er {COMMIT_COUNT} commit bak {BRANCH_NAME} grenen.",
|
2021-01-13 16:31:36 +01:00
|
|
|
"UPDATE_INFO_MULTIPLE": "Nåværende installasjon er {COMMIT_COUNT} commits bak {BRANCH_NAME} grenen."
|
2016-05-19 23:26:56 +02:00
|
|
|
}
|