From cca42179bc8f2ebbf2ad6c5cbe3cbd04fa19b111 Mon Sep 17 00:00:00 2001 From: Lars Sommer Date: Thu, 14 Nov 2024 08:48:43 +0100 Subject: [PATCH] fix: update da.ts --- core/src/locale/da.ts | 44 +++++++++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/core/src/locale/da.ts b/core/src/locale/da.ts index fb59848..8ac2e8c 100644 --- a/core/src/locale/da.ts +++ b/core/src/locale/da.ts @@ -12,39 +12,47 @@ const locale: Localization = { }, month: { '*': { prefix: 'i' }, - // TODO: translate to danish - empty: { text: 'every month' }, + empty: { text: 'hver måned' }, value: { text: '{{value.alt}}' }, range: { text: '{{start.alt}}-{{end.alt}}' }, }, day: { - '*': { prefix: 'på' }, - // TODO: translate to danish - empty: { text: 'every day' }, + '*': { prefix: 'og' }, + empty: { text: 'hver dag' }, + value: { text: '{{value.alt}}.' }, + range: { text: '{{start.alt}}.-{{end.alt}}.' }, + noSpecific: { + text: 'ingen specifik dag', + }, }, + dayOfWeek: { '*': { prefix: 'på' }, empty: { text: 'hver dag i ugen' }, value: { text: '{{value.alt}}' }, range: { text: '{{start.alt}}-{{end.alt}}' }, + noSpecific: { + text: 'ingen specifik dag i ugen', + }, }, hour: { '*': { prefix: 'klokken' }, - // TODO: translate to danish - empty: { text: 'every hour' }, + empty: { text: 'hver time' }, }, minute: { '*': { prefix: ':' }, - // TODO: translate to danish - empty: { text: 'every minute' }, + empty: { text: 'hvert minut' }, }, second: { '*': { prefix: ':' }, - // TODO: translate to danish - empty: { text: 'every second' }, + empty: { text: 'hvert sekund' }, }, }, + second: { + prefix: 'Hvert', + }, minute: { + prefix: 'Hvert', text: 'Minut', }, hour: { @@ -70,6 +78,7 @@ const locale: Localization = { }, }, year: { + prefix: 'Hvert', text: 'År', dayOfWeek: { '*': { prefix: 'og' }, @@ -79,23 +88,22 @@ const locale: Localization = { // quartz format // TODO: translate to danish 'q-second': { - text: 'Second', + text: 'Sekund', }, 'q-minute': { - text: 'Minute', + text: 'Minut', second: { '*': { - prefix: 'at', - suffix: 'second(s)', + suffix: 'sekund(er)', }, - empty: { text: 'every' }, + empty: { text: 'hvert' }, }, }, 'q-hour': { - text: 'Hour', + text: 'Time', minute: { '*': { - prefix: 'at', + prefix: 'på', }, }, },