Skip to content

Commit e980bee

Browse files
limitless00netedwardtfnThomDietrich
authored
Add Korean translation (#55)
* Update README.md * Update constants.ts * Create ko.json * Update constants.ts --------- Co-authored-by: Edward Firmo <[email protected]> Co-authored-by: Thomas Dietrich <[email protected]>
1 parent 4561fd2 commit e980bee

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ Supported options for the `language` setting:
121121
- `hu` Hungarian
122122
- `is` Icelandic
123123
- `ja` Japanese
124+
- `ko` Korean
124125
- `it` Italian
125126
- `lt` Lithuanian
126127
- `ms` Malay
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"azimuth": "방위각",
3+
"dawn": "새벽",
4+
"dusk": "저녁",
5+
"elevation": "태양 고도",
6+
"noon": "태양 정오",
7+
"sunrise": "해돋이",
8+
"sunset": "해넘이",
9+
"errors": {
10+
"SunIntegrationNotFound": "태양 통합구성요소를 찾을 수 없습니다"
11+
}
12+
}

src/constants.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import hu from './assets/localization/languages/hu.json'
1414
import is from './assets/localization/languages/is.json'
1515
import it from './assets/localization/languages/it.json'
1616
import ja from './assets/localization/languages/ja.json'
17+
import ko from './assets/localization/languages/ko.json'
1718
import lt from './assets/localization/languages/lt.json'
1819
import ms from './assets/localization/languages/ms.json'
1920
import nb from './assets/localization/languages/nb.json'
@@ -88,7 +89,7 @@ export class Constants {
8889
}
8990

9091
static readonly LOCALIZATION_LANGUAGES: Record<string, THorizonCardI18NKeys> = {
91-
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
92+
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
9293
}
9394

9495
static readonly FALLBACK_LOCALIZATION = en

0 commit comments

Comments
 (0)