Skip to content

Commit

Permalink
Add Greek as supported language
Browse files Browse the repository at this point in the history
  • Loading branch information
Pana-g authored and pkissling committed Aug 16, 2023
1 parent b8641db commit b00f8fc
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 4 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,19 @@ Credits go to [basmilius](https://github.com/basmilius) for the awesome [weather

## FAQ

- [Why don't I see the current day in my weather forecast?](#why-dont-i-see-the-current-day-in-my-weather-forecast)
- [Why does the forecast show less days than expected?](#why-does-the-forecast-show-less-days-than-expected)
- [What does the card actually display?](#what-does-the-card-actually-display)
- [Clock Weather Card](#clock-weather-card)
- [FAQ](#faq)
- [Why don't I see the current day in my weather forecast?](#why-dont-i-see-the-current-day-in-my-weather-forecast)
- [Why does the forecast show less days than expected?](#why-does-the-forecast-show-less-days-than-expected)
- [What does the card actually display?](#what-does-the-card-actually-display)
- [Installation](#installation)
- [Manual Installation](#manual-installation)
- [Installation and tracking with `hacs`](#installation-and-tracking-with-hacs)
- [Configuration](#configuration)
- [Minimal configuration](#minimal-configuration)
- [Full configuration](#full-configuration)
- [Options](#options)
- [Footnotes](#footnotes)

### Why don't I see the current day in my weather forecast?

Expand Down Expand Up @@ -137,4 +147,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`, `et`, `fi`, `fr`, `he`, `hu`, `it`, `ko`, `nb`, `nl`, `pl`, `pt`, `pt-BR`, `ro`, `ru`, `sk`, `sl`, `sv`, `th`, `uk`, `vi`, `zh-CN`, `zh-TW`
[^2]: Supported languages: `bg`, `ca`, `cs` `da`, `de`, `el`,`en`, `es`, `et`, `fi`, `fr`, `he`, `hu`, `it`, `ko`, `nb`, `nl`, `pl`, `pt`, `pt-BR`, `ro`, `ru`, `sk`, `sl`, `sv`, `th`, `uk`, `vi`, `zh-CN`, `zh-TW`
28 changes: 28 additions & 0 deletions src/localize/languages/el.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"weather": {
"clear-night": "Καθαρός",
"cloudy": "Συννεφιασμένος",
"fog": "Ομίχλη",
"hail": "Χαλάζι",
"lightning": "Καταιγίδες",
"lightning-rainy": "Καταιγίδες με βροχή",
"partlycloudy": "Λίγα σύννεφα",
"pouring": "Έντονη βροχή",
"rainy": "Βροχερός",
"snowy": "Χιόνι",
"snowy-rainy": "Χιονόνερο",
"sunny": "Ηλιόλουστος",
"windy": "Θυελλώδης",
"windy-variant": "Έντονοι άνεμοι",
"exceptional": "Εξαιρετικός"
},
"day": {
"0": "Κυρ",
"1": "Δευ",
"2": "Τρί",
"3": "Τετ",
"4": "Πεμ",
"5": "Παρ",
"6": "Σαβ"
}
}
2 changes: 2 additions & 0 deletions src/localize/localize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import * as da from './languages/da.json';
import * as ca from './languages/ca.json';
import * as cs from './languages/cs.json';
import * as de from './languages/de.json';
import * as el from './languages/el.json';
import * as en from './languages/en.json';
import * as es from './languages/es.json';
import * as et from './languages/et.json';
Expand Down Expand Up @@ -35,6 +36,7 @@ const languages: any = {
ca,
da,
de,
el,
en,
es,
et,
Expand Down

0 comments on commit b00f8fc

Please sign in to comment.