Skip to content

Commit

Permalink
feat(locale): add Hungarian language
Browse files Browse the repository at this point in the history
magyar 🇭🇺
  • Loading branch information
nandordudas committed Jan 21, 2025
1 parent 53d636a commit 037e9ed
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/app/components/content/SupportedLanguages.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ function getEmojiFlag(locale: string): string {
el: 'gr',
et: 'ee',
en: 'gb',
hu: 'hu',
ja: 'jp',
kh: 'km',
ko: 'kr',
Expand Down
55 changes: 55 additions & 0 deletions src/runtime/locale/hu.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import { defineLocale } from '../composables/defineLocale'

export default defineLocale({
name: 'Magyar',
code: 'hu',
messages: {
inputMenu: {
noMatch: 'Nincs találat',
noData: 'Nincs adat',
create: '"{label}" létrehozása'
},
calendar: {
prevYear: 'Előző év',
nextYear: 'Következő év',
prevMonth: 'Előző hónap',
nextMonth: 'Következő hónap'
},
inputNumber: {
increment: 'Növel',
decrement: 'Csökkent'
},
commandPalette: {
placeholder: 'Írjon be egy parancsot vagy keressen...',
noMatch: 'Nincs találat',
noData: 'Nincs adat',
close: 'Bezárás'
},
selectMenu: {
noMatch: 'Nincs találat',
noData: 'Nincs adat',
create: '"{label}" létrehozása',
search: 'Keresés...'
},
toast: {
close: 'Bezárás'
},
carousel: {
prev: 'Előző',
next: 'Következő',
goto: 'Ugrás ide {slide}'
},
modal: {
close: 'Bezárás'
},
slideover: {
close: 'Bezárás'
},
alert: {
close: 'Bezárás'
},
table: {
noData: 'Nincs adat'
}
}
})

0 comments on commit 037e9ed

Please sign in to comment.