about summary refs log tree commit diff
path: root/src/components/hooks
diff options
context:
space:
mode:
authorChristian Schmidt <github@chsc.dk>2025-01-24 20:55:25 +0100
committerGitHub <noreply@github.com>2025-01-24 11:55:25 -0800
commit68c4737b82cba06d88022767d21551b126dba928 (patch)
treeb060e86dfd71717b84936cb5218ac21654629157 /src/components/hooks
parent9cb3b599638a7a2ba25128d4b4d4d4adee2db70c (diff)
downloadvoidsky-68c4737b82cba06d88022767d21551b126dba928.tar.zst
Add Danish localization (#7220)
* Add Danish localization

* Fix

* Update src/locale/locales/da/messages.po

Co-authored-by: Frudrax Cheng <i@cynosura.one>

* 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 <i@cynosura.one>
Diffstat (limited to 'src/components/hooks')
-rw-r--r--src/components/hooks/dates.ts2
1 files changed, 2 insertions, 0 deletions
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<AppLanguage, Locale | undefined> = {
   an: undefined,
   ast: undefined,
   ca,
+  da,
   de,
   el,
   ['en-GB']: enGB,