Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomDietrich authored Apr 23, 2024
2 parents ded9691 + 433f3e6 commit 41d25ee
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 6 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,11 @@ Supported options for the `language` setting:
- `cs` Czech
- `da` Danish
- `de` German
- `el` Greek
- `en` English
- `es` Spanish
- `et` Estonian
- `fa` Persian
- `fi` Finnish
- `fr` French
- `gl` Galician
Expand Down
11 changes: 11 additions & 0 deletions src/assets/localization/languages/el.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"azimuth": "Αζιμούθιο",
"dawn": "Αυγή",
"dusk": "Σούρουπο",
"elevation": "Υψόμετρο",
"moonrise": "Aνατολή σελήνης",
"moonset": "Δύση σελήνης",
"noon": "Μεσημέρι",
"sunrise": "Ανατολή",
"sunset": "Δύση"
}
11 changes: 11 additions & 0 deletions src/assets/localization/languages/fa.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"azimuth": "جهت",
"dawn": "سحرگاه",
"dusk": "شامگاه",
"elevation": "ارتفاع",
"moonrise": "طلوع ماه",
"moonset": "غروب ماه",
"noon": "ظهر",
"sunrise": "طلوع آفتاب",
"sunset": "غروب آفتاب"
}
10 changes: 5 additions & 5 deletions src/assets/localization/languages/ja.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"azimuth": "方位角",
"dawn": "明け方",
"dusk": "",
"elevation": "仰俯角",
"dusk": "夕方",
"elevation": "高度",
"moonrise": "月の出",
"moonset": "月の入り",
"noon": "太陽の正午",
"sunrise": "日出",
"sunset": "日沒"
"noon": "南中",
"sunrise": "日の出",
"sunset": "日没"
}
4 changes: 3 additions & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ import ca from './assets/localization/languages/ca.json'
import cs from './assets/localization/languages/cs.json'
import da from './assets/localization/languages/da.json'
import de from './assets/localization/languages/de.json'
import el from './assets/localization/languages/el.json'
import en from './assets/localization/languages/en.json'
import es from './assets/localization/languages/es.json'
import et from './assets/localization/languages/et.json'
import fa from './assets/localization/languages/fa.json'
import fi from './assets/localization/languages/fi.json'
import fr from './assets/localization/languages/fr.json'
import gl from './assets/localization/languages/gl.json'
Expand Down Expand Up @@ -144,6 +146,6 @@ export class Constants {
static readonly MOON_RADIUS = 14

static readonly LOCALIZATION_LANGUAGES: Record<string, THorizonCardI18NKeys> = {
bg, ca, cs, da, de, en, es, et, fi, fr, gl, he, hr, hu, is, it, ja, ko, lt, ms, nb, nl, nn, pl, 'pt-BR': ptBR, ro, ru, sk, sl, sv, tr, uk, 'zh-Hans': zh_Hans, 'zh-Hant': zh_Hant
bg, ca, cs, da, de, el, en, es, et, fa, fi, fr, gl, he, hr, hu, is, it, ja, ko, lt, ms, nb, nl, nn, pl, 'pt-BR': ptBR, ro, ru, sk, sl, sv, tr, uk, 'zh-Hans': zh_Hans, 'zh-Hant': zh_Hant
}
}

0 comments on commit 41d25ee

Please sign in to comment.