From dd648da06cc4b317114667a0e17331875491f097 Mon Sep 17 00:00:00 2001 From: James Choi Date: Sun, 23 Jun 2024 18:44:47 +0900 Subject: [PATCH] feat: Support Korean Language --- src/language/index.ts | 1 + src/language/keys.ts | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/language/index.ts b/src/language/index.ts index d38fe2fd..5d8421c4 100644 --- a/src/language/index.ts +++ b/src/language/index.ts @@ -15,6 +15,7 @@ export const localeMap = new Map([ ['es', 'es-ES'], ['ja', 'ja-JP'], ['pl', 'pl-PL'], + ['ko', 'ko-KR'], ]); export default { diff --git a/src/language/keys.ts b/src/language/keys.ts index 2b52d1ce..73ee5d81 100644 --- a/src/language/keys.ts +++ b/src/language/keys.ts @@ -14,7 +14,8 @@ export const languageKeys = { "ar-YE": "إسبوع", "es-ES": "Semana", "ja-JP": "週", - "pl-PL": "Tydzień", + "pl-PL": "Tydzień", + "ko-KR": "주", }, month: { "it-IT": "Mese", @@ -30,7 +31,8 @@ export const languageKeys = { "ar-YE": "شهر", "es-ES": "Mes", "ja-JP": "月", - "pl-PL": "Miesiąc", + "pl-PL": "Miesiąc", + "ko-KR": "월", }, day: { "it-IT": "Giorno", @@ -47,6 +49,7 @@ export const languageKeys = { "es-ES": "Día", "ja-JP": "日", "pl-PL": "Dzień", + "ko-KR": "일", }, /** Other keys */ @@ -65,6 +68,7 @@ export const languageKeys = { "es-ES": "más eventos", "ja-JP": "その他イベント", "pl-PL": "+ więcej wydarzeń", + "ko-KR": "+ 더 보기", }, noEvent: { 'it-IT': 'Nessun evento', @@ -81,5 +85,6 @@ export const languageKeys = { 'es-ES': 'No hay eventos', "ja-JP": "イベントなし", "pl-PL": "Brak wydarzeń", + "ko-KR": "일정 없음", }, };