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

add hungarian locale #259

Merged
merged 1 commit into from
Oct 11, 2024
Merged
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'],
['hu', 'hu-HU'],
]);

export default {
Expand Down
5 changes: 5 additions & 0 deletions src/language/keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const languageKeys = {
"es-ES": "Semana",
"ja-JP": "週",
"pl-PL": "Tydzień",
"hu-HU": "Hét",
},
month: {
"it-IT": "Mese",
Expand All @@ -31,6 +32,7 @@ export const languageKeys = {
"es-ES": "Mes",
"ja-JP": "月",
"pl-PL": "Miesiąc",
"hu-HU": "Hónap",
},
day: {
"it-IT": "Giorno",
Expand All @@ -47,6 +49,7 @@ export const languageKeys = {
"es-ES": "Día",
"ja-JP": "日",
"pl-PL": "Dzień",
"hu-HU": "Nap",
},

/** Other keys */
Expand All @@ -65,6 +68,7 @@ export const languageKeys = {
"es-ES": "más eventos",
"ja-JP": "その他イベント",
"pl-PL": "+ więcej wydarzeń",
"hu-HU": "További események",
},
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ń",
"hu-HU": "Nincs esemény",
},
};