From 68c4737b82cba06d88022767d21551b126dba928 Mon Sep 17 00:00:00 2001 From: Christian Schmidt Date: Fri, 24 Jan 2025 20:55:25 +0100 Subject: Add Danish localization (#7220) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add Danish localization * Fix * Update src/locale/locales/da/messages.po Co-authored-by: Frudrax Cheng * Typo * Inconsistent translation of "draft" * Do not use "post" as verb * Change "post"/"repost" to "opslag"/"videredeling" * Fix "About" * Fix * Add to iOS config * Sort alphabetically * Typo fixes by @kseistrup * Fix gender of "opslag" * Plural * "videredeling" > "deling" * Be specific that ÆØÅ is not allowed * Add new strings from main --------- Co-authored-by: Frudrax Cheng --- src/components/hooks/dates.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/components/hooks/dates.ts') diff --git a/src/components/hooks/dates.ts b/src/components/hooks/dates.ts index 4ee32c776..5cb6e9cac 100644 --- a/src/components/hooks/dates.ts +++ b/src/components/hooks/dates.ts @@ -11,6 +11,7 @@ import React from 'react' import {formatDistance, Locale} from 'date-fns' import { ca, + da, de, el, enGB, @@ -52,6 +53,7 @@ const locales: Record = { an: undefined, ast: undefined, ca, + da, de, el, ['en-GB']: enGB, -- cgit 1.4.1