From 9c7c31b408469ed150c304d9dd74de92c0b812d9 Mon Sep 17 00:00:00 2001 From: Thomas Dietrich Date: Sat, 27 Apr 2024 01:50:42 +0200 Subject: [PATCH] Remove fa translation Due to error https://github.com/rejuvenate/lovelace-horizon-card/actions/runs/8807120295/job/24173463577 --- README.md | 3 +-- src/assets/localization/languages/fa.json | 11 ----------- src/constants.ts | 3 +-- 3 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 src/assets/localization/languages/fa.json diff --git a/README.md b/README.md index d3975dd..e1c41f7 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ If showing the moon phase is enabled, the icon will be rotated to match the appr ## Installation -Please ensure you have [HACS](https://hacs.xyz/) and the [Sun integration](https://www.home-assistant.io/integrations/sun/) enabled in your Home Assistant setup. +Please ensure you have [HACS](https://hacs.xyz/) and the [Sun integration](https://www.home-assistant.io/integrations/sun/) enabled in your Home Assistant setup. If you have My Home Assistant configured, simply click here: @@ -154,7 +154,6 @@ Supported options for the `language` setting: - `en` English - `es` Spanish - `et` Estonian -- `fa` Persian - `fi` Finnish - `fr` French - `gl` Galician diff --git a/src/assets/localization/languages/fa.json b/src/assets/localization/languages/fa.json deleted file mode 100644 index 7b1ebff..0000000 --- a/src/assets/localization/languages/fa.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "azimuth": "جهت", - "dawn": "سحرگاه", - "dusk": "شامگاه", - "elevation": "ارتفاع", - "moonrise": "طلوع ماه", - "moonset": "غروب ماه", - "noon": "ظهر", - "sunrise": "طلوع آفتاب", - "sunset": "غروب آفتاب" -} diff --git a/src/constants.ts b/src/constants.ts index 5835e56..c0b6136 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -7,7 +7,6 @@ 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' @@ -146,6 +145,6 @@ export class Constants { static readonly MOON_RADIUS = 14 static readonly LOCALIZATION_LANGUAGES: Record = { - 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 + bg, ca, cs, da, de, el, 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 } }