Skip to content

Commit e1d385a

Browse files
authoredDec 22, 2024··
feat(locale): add Danish language (#2952)
1 parent 1b3c919 commit e1d385a

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed
 

‎src/runtime/locale/da.ts

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
import { defineLocale } from '../composables/defineLocale'
2+
3+
export default defineLocale({
4+
name: 'Danish',
5+
code: 'da',
6+
messages: {
7+
inputMenu: {
8+
noMatch: 'Ingen matchende data',
9+
noData: 'Ingen data',
10+
create: 'Opret "{label}"'
11+
},
12+
calendar: {
13+
prevYear: 'Forrige år',
14+
nextYear: 'Næste år',
15+
prevMonth: 'Forrige måned',
16+
nextMonth: 'Næste måned'
17+
},
18+
inputNumber: {
19+
increment: 'Øg',
20+
decrement: 'Reducer'
21+
},
22+
commandPalette: {
23+
noMatch: 'Ingen matchende data',
24+
noData: 'Ingen data',
25+
close: 'Luk'
26+
},
27+
selectMenu: {
28+
noMatch: 'Ingen matchende data',
29+
noData: 'Ingen data',
30+
create: 'Opret "{label}"'
31+
},
32+
toast: {
33+
close: 'Luk'
34+
},
35+
carousel: {
36+
prev: 'Forrige',
37+
next: 'Næste',
38+
goto: 'Gå til slide {slide}'
39+
},
40+
modal: {
41+
close: 'Luk'
42+
},
43+
slideover: {
44+
close: 'Luk'
45+
},
46+
alert: {
47+
close: 'Luk'
48+
},
49+
table: {
50+
noData: 'Ingen data'
51+
}
52+
}
53+
})

‎src/runtime/locale/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export { default as ar } from './ar'
22
export { default as cs } from './cs'
3+
export { default as da } from './da'
34
export { default as de } from './de'
45
export { default as en } from './en'
56
export { default as es } from './es'

0 commit comments

Comments
 (0)
Please sign in to comment.