Skip to content

Commit

Permalink
Remove fa translation
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomDietrich committed Apr 26, 2024
1 parent 5126225 commit 9c7c31b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -154,7 +154,6 @@ Supported options for the `language` setting:
- `en` English
- `es` Spanish
- `et` Estonian
- `fa` Persian
- `fi` Finnish
- `fr` French
- `gl` Galician
Expand Down
11 changes: 0 additions & 11 deletions src/assets/localization/languages/fa.json

This file was deleted.

3 changes: 1 addition & 2 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -146,6 +145,6 @@ export class Constants {
static readonly MOON_RADIUS = 14

static readonly LOCALIZATION_LANGUAGES: Record<string, THorizonCardI18NKeys> = {
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
}
}

0 comments on commit 9c7c31b

Please sign in to comment.