diff --git a/README.md b/README.md index 89e27fd..d3975dd 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,7 @@ Supported options for the `language` setting: - `fa` Persian - `fi` Finnish - `fr` French +- `gl` Galician - `he` Hebrew - `hr` Croatian - `hu` Hungarian diff --git a/src/assets/localization/languages/gl.json b/src/assets/localization/languages/gl.json new file mode 100644 index 0000000..de7539d --- /dev/null +++ b/src/assets/localization/languages/gl.json @@ -0,0 +1,11 @@ +{ + "azimuth": "Acimut", + "dawn": "Amencer", + "dusk": "Luscofusco", + "elevation": "Elevación", + "moonrise": "Saída da lúa", + "moonset": "Posta da lúa", + "noon": "Mediodía solar", + "sunrise": "Saída do sol", + "sunset": "Atardecer" +} diff --git a/src/constants.ts b/src/constants.ts index 88eb080..5835e56 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -10,6 +10,7 @@ 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' import he from './assets/localization/languages/he.json' import hr from './assets/localization/languages/hr.json' import hu from './assets/localization/languages/hu.json' @@ -145,6 +146,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, 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 } }