From 9f48eb62457f486be6a7a2273d22562cef3902ef Mon Sep 17 00:00:00 2001 From: Djordje Atlialp Date: Sat, 2 Feb 2019 20:58:44 +0100 Subject: [PATCH] Add translations and support for fr --- i18n/de.toml | 36 ++++++++++++++++++++++++++++++++++++ i18n/en.toml | 27 +++++++++++++++++++++------ i18n/fr.toml | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 93 insertions(+), 6 deletions(-) create mode 100644 i18n/de.toml create mode 100644 i18n/fr.toml diff --git a/i18n/de.toml b/i18n/de.toml new file mode 100644 index 0000000..397b0a5 --- /dev/null +++ b/i18n/de.toml @@ -0,0 +1,36 @@ +# Translations for English +# https://gohugo.io/content-management/multilingual/#translation-of-strings + +# Generic +# +[translations] +other = "Übersetzungen" + +[postAvailable] +other = "Auch verfügbar auf" + + +# 404.html +# +[archives] +other = "Archiv" + +[home] +other = "Home" + +[notFound] +other = "Oops, Seite nicht gefunden ..." + + +# posts/single.html +# +[readingTime] +one = "Eine Minute" +other = "{{ .Count }} Minuten" + +[tableOfContents] +other = "Inhaltsverzeichnis" + +[wordCount] +one = "Ein Wort" +other = "{{ .Count }} Wörter" diff --git a/i18n/en.toml b/i18n/en.toml index c751a34..467981c 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -1,21 +1,36 @@ # Translations for English # https://gohugo.io/content-management/multilingual/#translation-of-strings +# Generic +# +[translations] +other = "Translations" + +[postAvailable] +other = "Also available in" + + # 404.html # -[notFound] -other = "Oops, page not found…" +[archives] +other = "Archives" [home] other = "Home" -[archives] -other = "Archives" +[notFound] +other = "Oops, page not found…" + # posts/single.html # -[wordCount] -other = "{{ .WordCount }} Words" +[readingTime] +one = "One minute" +other = "{{ .Count }} minutes" [tableOfContents] other = "Table of Contents" + +[wordCount] +one = "One Word" +other = "{{ .Count }} Words" diff --git a/i18n/fr.toml b/i18n/fr.toml new file mode 100644 index 0000000..34af70d --- /dev/null +++ b/i18n/fr.toml @@ -0,0 +1,36 @@ +# Translations for France +# https://gohugo.io/content-management/multilingual/#translation-of-strings + +# Generic +# +[translations] +other = "Traductions" + +[postAvailable] +other = "Aussi disponible en" + + +# 404.html +# +[archives] +other = "Les archives" + +[home] +other = "Accueil" + +[notFound] +other = "Oups, page non trouvée …" + + +# posts/single.html +# +[readingTime] +one = "Une minute" +other = "{{ .Count }} minutes" + +[tableOfContents] +other = "Table des matières" + +[wordCount] +one = "Une Mot" +other = "{{ .Count }} Mots"