Skip to content

Commit 8b73e1f

Browse files
committed
fix(locale): add todo's to danish locale
1 parent 69d3138 commit 8b73e1f

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

core/src/locale/da.ts

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,21 @@ const locale: Localization = {
66
suffix: '',
77
text: 'Ukendt',
88
'*': {
9-
empty: { text: 'hver {{field.id}}' },
109
value: { text: '{{value.text}}' },
1110
range: { text: '{{start.text}}-{{end.text}}' },
1211
everyX: { text: 'hver {{every.value}}' },
1312
},
1413
month: {
1514
'*': { prefix: 'i' },
15+
// TODO: translate to danish
16+
empty: { text: 'every month' },
1617
value: { text: '{{value.alt}}' },
1718
range: { text: '{{start.alt}}-{{end.alt}}' },
1819
},
1920
day: {
2021
'*': { prefix: 'på' },
22+
// TODO: translate to danish
23+
empty: { text: 'every day' },
2124
},
2225
dayOfWeek: {
2326
'*': { prefix: 'på' },
@@ -27,9 +30,18 @@ const locale: Localization = {
2730
},
2831
hour: {
2932
'*': { prefix: 'klokken' },
33+
// TODO: translate to danish
34+
empty: { text: 'every hour' },
3035
},
3136
minute: {
3237
'*': { prefix: ':' },
38+
// TODO: translate to danish
39+
empty: { text: 'every minute' },
40+
},
41+
second: {
42+
'*': { prefix: ':' },
43+
// TODO: translate to danish
44+
empty: { text: 'every second' },
3345
},
3446
},
3547
minute: {
@@ -63,6 +75,30 @@ const locale: Localization = {
6375
'*': { prefix: 'og' },
6476
},
6577
},
78+
79+
// quartz format
80+
// TODO: translate to danish
81+
'q-second': {
82+
text: 'Second',
83+
},
84+
'q-minute': {
85+
text: 'Minute',
86+
second: {
87+
'*': {
88+
prefix: 'at',
89+
suffix: 'second(s)',
90+
},
91+
empty: { text: 'every' },
92+
},
93+
},
94+
'q-hour': {
95+
text: 'Hour',
96+
minute: {
97+
'*': {
98+
prefix: 'at',
99+
},
100+
},
101+
},
66102
}
67103

68104
export default locale

0 commit comments

Comments
 (0)