Skip to content

Commit

Permalink
chore: Add Luxembourgish language (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkissling authored Sep 8, 2024
1 parent 6cb9f66 commit c5aedff
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ In the above image, the 9° on Thursday represents the low across all of the for
The colored portion of the bar represents the range of temperatures that are forecast for that day (so 12° to 21° on Monday).
The circle represents the current temperature (16° or roughly midway between 12° and 21° in your case).

*Thanks to @deprecatedcoder for this text from [#143](https://github.com/pkissling/clock-weather-card/issues/143)*
_Thanks to @deprecatedcoder for this text from [#143](https://github.com/pkissling/clock-weather-card/issues/143)_

The basic idea of the forecast bars is to be able to understand the weather trend for the upcoming days in a single glance.

Expand Down Expand Up @@ -72,7 +72,7 @@ The basic idea of the forecast bars is to be able to understand the weather tren
```

2. **UI:** Add Lovelace resource [![My Home Assistant](https://my.home-assistant.io/badges/lovelace_resources.svg)](https://my.home-assistant.io/redirect/lovelace_resources).
*(Alternatively go to Settings -> Dashboards -> Resources -> Add Resource)*
_(Alternatively go to Settings -> Dashboards -> Resources -> Add Resource)_

```yaml
URL: /hacsfiles/clock-weather-card/clock-weather-card.js
Expand Down Expand Up @@ -152,4 +152,4 @@ aqi_sensor: sensor.air_quality_index
## Footnotes

[^1]: Theme used: [lovelace-ios-themes](https://github.com/basnijholt/lovelace-ios-themes).
[^2]: Supported languages: `bg`, `ca`, `cs` `da`, `de`, `el`,`en`, `es`, `et`, `fi`, `fr`, `he`, `hu`, `id`, `is`, `it`, `ko`, `lt`, `nb`, `nl`, `pl`, `pt`, `pt-BR`, `ro`, `ru`, `sk`, `sl`, `sr`, `sr-Latn`, `sv`, `th`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-TW`
[^2]: Supported languages: `bg`, `ca`, `cs` `da`, `de`, `el`,`en`, `es`, `et`, `fi`, `fr`, `he`, `hu`, `id`, `is`, `it`, `ko`, `lb`, `lt`, `nb`, `nl`, `pl`, `pt`, `pt-BR`, `ro`, `ru`, `sk`, `sl`, `sr`, `sr-Latn`, `sv`, `th`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-TW`
33 changes: 33 additions & 0 deletions src/localize/languages/lb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"weather": {
"clear-night": "kloer",
"cloudy": "wollekeg",
"fog": "Niwwel",
"hail": "Knëppelsteng",
"lightning": "Donnerwieder",
"lightning-rainy": "Donnerwieder",
"partlycloudy": "deels wollekeg",
"pouring": "staarke Reen",
"rainy": "Reen",
"snowy": "Schnéi",
"snowy-rainy": "Schnéireen",
"sunny": "sonneg",
"windy": "lëfteg",
"windy-variant": "staarke Wand",
"exceptional": "Onwieder"
},
"day": {
"1": "",
"2": "",
"3": "",
"4": "Do",
"5": "Fr",
"6": "Sa",
"7": "So"
},
"misc": {
"aqi": "AQI",
"humidity": "Loftfiichtegkeet",
"feels-like": "Gefillt"
}
}
2 changes: 2 additions & 0 deletions src/localize/localize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import * as id from './languages/id.json'
import * as is from './languages/is.json'
import * as it from './languages/it.json'
import * as ko from './languages/ko.json'
import * as lb from './languages/lb.json'
import * as lt from './languages/lt.json'
import * as nb from './languages/nb.json'
import * as nl from './languages/nl.json'
Expand Down Expand Up @@ -55,6 +56,7 @@ const languages: any = {
is,
it,
ko,
lb,
lt,
nb,
nl,
Expand Down

0 comments on commit c5aedff

Please sign in to comment.