From 3b60fe6a7aea3a5431cc213df9531da30b1544fd Mon Sep 17 00:00:00 2001 From: ztychr <> Date: Wed, 8 Nov 2023 22:22:17 +0100 Subject: [PATCH 1/3] Added support for Danish i18n --- data/langFlags.yaml | 1 + i18n/da.toml | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 i18n/da.toml diff --git a/data/langFlags.yaml b/data/langFlags.yaml index 2c1e1ec..987e736 100644 --- a/data/langFlags.yaml +++ b/data/langFlags.yaml @@ -1,3 +1,4 @@ +da: dk de: de en: gb es: es diff --git a/i18n/da.toml b/i18n/da.toml new file mode 100644 index 0000000..6a21e49 --- /dev/null +++ b/i18n/da.toml @@ -0,0 +1,39 @@ +# Translations for English +# https://gohugo.io/content-management/multilingual/#translation-of-strings + +# Generic +# +[translations] +other = "Oversættelser" + +[postAvailable] +other = "Også tilgængelig på" + + +# 404.html +# +[archives] +other = "Arkiver" + +[home] +other = "Hjem" + +[notFound] +other = "Ups, siden blev ikke fundet…" + + +# posts/single.html +# +[readingTime] +one = "Ét minut" +other = "{{ .Count }} minutter" + +[tableOfContents] +other = "Indholdsfortegnelse" + +[wordCount] +one = "Ét ord" +other = "{{ .Count }} Ord" + +[lastModified] +other = "Sidst opdateret" From 550b41c1f8bf87648c47f4f33ece64335754a3e6 Mon Sep 17 00:00:00 2001 From: ztychr <> Date: Wed, 8 Nov 2023 22:26:52 +0100 Subject: [PATCH 2/3] Change comment --- i18n/da.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/da.toml b/i18n/da.toml index 6a21e49..b6c903b 100644 --- a/i18n/da.toml +++ b/i18n/da.toml @@ -1,4 +1,4 @@ -# Translations for English +# Translations for Danish # https://gohugo.io/content-management/multilingual/#translation-of-strings # Generic From 806cf7ca58daf45a6f0902ede47de0418b5e7ffb Mon Sep 17 00:00:00 2001 From: ztychr <> Date: Wed, 8 Nov 2023 22:30:19 +0100 Subject: [PATCH 3/3] Capitalization. --- i18n/da.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/da.toml b/i18n/da.toml index b6c903b..15c1152 100644 --- a/i18n/da.toml +++ b/i18n/da.toml @@ -32,7 +32,7 @@ other = "{{ .Count }} minutter" other = "Indholdsfortegnelse" [wordCount] -one = "Ét ord" +one = "Ét Ord" other = "{{ .Count }} Ord" [lastModified]