Skip to content

Commit cca4217

Browse files
Lars Sommerabichinger
authored andcommitted
fix: update da.ts
1 parent 8b73e1f commit cca4217

File tree

1 file changed

+26
-18
lines changed

1 file changed

+26
-18
lines changed

core/src/locale/da.ts

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,39 +12,47 @@ const locale: Localization = {
1212
},
1313
month: {
1414
'*': { prefix: 'i' },
15-
// TODO: translate to danish
16-
empty: { text: 'every month' },
15+
empty: { text: 'hver måned' },
1716
value: { text: '{{value.alt}}' },
1817
range: { text: '{{start.alt}}-{{end.alt}}' },
1918
},
2019
day: {
21-
'*': { prefix: 'på' },
22-
// TODO: translate to danish
23-
empty: { text: 'every day' },
20+
'*': { prefix: 'og' },
21+
empty: { text: 'hver dag' },
22+
value: { text: '{{value.alt}}.' },
23+
range: { text: '{{start.alt}}.-{{end.alt}}.' },
24+
noSpecific: {
25+
text: 'ingen specifik dag',
26+
},
2427
},
28+
2529
dayOfWeek: {
2630
'*': { prefix: 'på' },
2731
empty: { text: 'hver dag i ugen' },
2832
value: { text: '{{value.alt}}' },
2933
range: { text: '{{start.alt}}-{{end.alt}}' },
34+
noSpecific: {
35+
text: 'ingen specifik dag i ugen',
36+
},
3037
},
3138
hour: {
3239
'*': { prefix: 'klokken' },
33-
// TODO: translate to danish
34-
empty: { text: 'every hour' },
40+
empty: { text: 'hver time' },
3541
},
3642
minute: {
3743
'*': { prefix: ':' },
38-
// TODO: translate to danish
39-
empty: { text: 'every minute' },
44+
empty: { text: 'hvert minut' },
4045
},
4146
second: {
4247
'*': { prefix: ':' },
43-
// TODO: translate to danish
44-
empty: { text: 'every second' },
48+
empty: { text: 'hvert sekund' },
4549
},
4650
},
51+
second: {
52+
prefix: 'Hvert',
53+
},
4754
minute: {
55+
prefix: 'Hvert',
4856
text: 'Minut',
4957
},
5058
hour: {
@@ -70,6 +78,7 @@ const locale: Localization = {
7078
},
7179
},
7280
year: {
81+
prefix: 'Hvert',
7382
text: 'År',
7483
dayOfWeek: {
7584
'*': { prefix: 'og' },
@@ -79,23 +88,22 @@ const locale: Localization = {
7988
// quartz format
8089
// TODO: translate to danish
8190
'q-second': {
82-
text: 'Second',
91+
text: 'Sekund',
8392
},
8493
'q-minute': {
85-
text: 'Minute',
94+
text: 'Minut',
8695
second: {
8796
'*': {
88-
prefix: 'at',
89-
suffix: 'second(s)',
97+
suffix: 'sekund(er)',
9098
},
91-
empty: { text: 'every' },
99+
empty: { text: 'hvert' },
92100
},
93101
},
94102
'q-hour': {
95-
text: 'Hour',
103+
text: 'Time',
96104
minute: {
97105
'*': {
98-
prefix: 'at',
106+
prefix: '',
99107
},
100108
},
101109
},

0 commit comments

Comments
 (0)