Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support Korean Language #256

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/language/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const localeMap = new Map<string, string>([
['es', 'es-ES'],
['ja', 'ja-JP'],
['pl', 'pl-PL'],
['ko', 'ko-KR'],
]);

export default {
Expand Down
9 changes: 7 additions & 2 deletions src/language/keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -47,6 +49,7 @@ export const languageKeys = {
"es-ES": "Día",
"ja-JP": "日",
"pl-PL": "Dzień",
"ko-KR": "일",
},

/** Other keys */
Expand All @@ -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',
Expand All @@ -81,5 +85,6 @@ export const languageKeys = {
'es-ES': 'No hay eventos',
"ja-JP": "イベントなし",
"pl-PL": "Brak wydarzeń",
"ko-KR": "일정 없음",
},
};
Loading