Skip to content

Commit

Permalink
Add Estonian language support
Browse files Browse the repository at this point in the history
  • Loading branch information
pkissling committed Jun 6, 2023
1 parent 3aa2e49 commit 71c050f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,4 @@ The basic idea of the forecast bars is to be able to understand the weather tren
## Footnotes

[^1]: Theme used: [lovelace-ios-themes](https://github.com/basnijholt/lovelace-ios-themes).
[^2]: Supported languages: `bg`, `ca`, `cs` `da`, `de`, `en`, `es`, `fi`, `fr`, `he`, `hu`, `it`, `ko`, `nb`, `nl`, `pl`, `pt`, `pt-BR`, `ro`, `ru`, `sk`, `sv`, `th`, `uk`, `vi`, `zh-CN`, `zh-TW`
[^2]: Supported languages: `bg`, `ca`, `cs` `da`, `de`, `en`, `es`, `et`, `fi`, `fr`, `he`, `hu`, `it`, `ko`, `nb`, `nl`, `pl`, `pt`, `pt-BR`, `ro`, `ru`, `sk`, `sv`, `th`, `uk`, `vi`, `zh-CN`, `zh-TW`
28 changes: 28 additions & 0 deletions src/localize/languages/et.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"weather": {
"clear-night": "Selge",
"cloudy": "Pilvine",
"fog": "Udu",
"hail": "Rahe",
"lightning": "Äike",
"lightning-rainy": "Äiksevihm",
"partlycloudy": "Vahelduv pilvisus",
"pouring": "Paduvihm",
"rainy": "Vihm",
"snowy": "Lumi",
"snowy-rainy": "Lörts",
"sunny": "Päike",
"windy": "Tuuline",
"windy-variant": "Tuuline",
"exceptional": "Äärmuslik"
},
"day": {
"0": "P",
"1": "E",
"2": "T",
"3": "K",
"4": "N",
"5": "R",
"6": "L"
}
}
2 changes: 2 additions & 0 deletions src/localize/localize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import * as cs from './languages/cs.json';
import * as de from './languages/de.json';
import * as en from './languages/en.json';
import * as es from './languages/es.json';
import * as et from './languages/et.json';
import * as fi from './languages/fi.json';
import * as fr from './languages/fr.json';
import * as he from './languages/he.json';
Expand Down Expand Up @@ -35,6 +36,7 @@ const languages: any = {
de,
en,
es,
et,
fi,
fr,
he,
Expand Down

0 comments on commit 71c050f

Please sign in to comment.