diff --git a/README.md b/README.md index da2896d..30c7009 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,7 @@ Supported options for the `language` setting: - `hu` Hungarian - `is` Icelandic - `ja` Japanese +- `ko` Korean - `it` Italian - `lt` Lithuanian - `ms` Malay diff --git a/src/assets/localization/languages/ko.json b/src/assets/localization/languages/ko.json new file mode 100644 index 0000000..35178a0 --- /dev/null +++ b/src/assets/localization/languages/ko.json @@ -0,0 +1,12 @@ +{ + "azimuth": "방위각", + "dawn": "새벽", + "dusk": "저녁", + "elevation": "태양 고도", + "noon": "태양 정오", + "sunrise": "해돋이", + "sunset": "해넘이", + "errors": { + "SunIntegrationNotFound": "태양 통합구성요소를 찾을 수 없습니다" + } +} diff --git a/src/constants.ts b/src/constants.ts index 657011a..13f1f2a 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -14,6 +14,7 @@ import hu from './assets/localization/languages/hu.json' import is from './assets/localization/languages/is.json' import it from './assets/localization/languages/it.json' import ja from './assets/localization/languages/ja.json' +import ko from './assets/localization/languages/ko.json' import lt from './assets/localization/languages/lt.json' import ms from './assets/localization/languages/ms.json' import nb from './assets/localization/languages/nb.json' @@ -88,7 +89,7 @@ export class Constants { } static readonly LOCALIZATION_LANGUAGES: Record = { - bg, ca, cs, da, de, en, es, et, fi, fr, he, hr, hu, is, it, ja, 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, en, es, et, 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 } static readonly FALLBACK_LOCALIZATION = en