Skip to content

Commit

Permalink
feat(locale): add Danish language (#2952)
Browse files Browse the repository at this point in the history
  • Loading branch information
rigtigeEmil authored Dec 22, 2024
1 parent 1b3c919 commit e1d385a
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
53 changes: 53 additions & 0 deletions src/runtime/locale/da.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import { defineLocale } from '../composables/defineLocale'

export default defineLocale({
name: 'Danish',
code: 'da',
messages: {
inputMenu: {
noMatch: 'Ingen matchende data',
noData: 'Ingen data',
create: 'Opret "{label}"'
},
calendar: {
prevYear: 'Forrige år',
nextYear: 'Næste år',
prevMonth: 'Forrige måned',
nextMonth: 'Næste måned'
},
inputNumber: {
increment: 'Øg',
decrement: 'Reducer'
},
commandPalette: {
noMatch: 'Ingen matchende data',
noData: 'Ingen data',
close: 'Luk'
},
selectMenu: {
noMatch: 'Ingen matchende data',
noData: 'Ingen data',
create: 'Opret "{label}"'
},
toast: {
close: 'Luk'
},
carousel: {
prev: 'Forrige',
next: 'Næste',
goto: 'Gå til slide {slide}'
},
modal: {
close: 'Luk'
},
slideover: {
close: 'Luk'
},
alert: {
close: 'Luk'
},
table: {
noData: 'Ingen data'
}
}
})
1 change: 1 addition & 0 deletions src/runtime/locale/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export { default as ar } from './ar'
export { default as cs } from './cs'
export { default as da } from './da'
export { default as de } from './de'
export { default as en } from './en'
export { default as es } from './es'
Expand Down

0 comments on commit e1d385a

Please sign in to comment.