From 21a5834a2faff056815d8bb4c3b500a171971094 Mon Sep 17 00:00:00 2001 From: Matthias Thym Date: Sat, 27 Mar 2021 14:20:47 +0100 Subject: [PATCH 1/2] i18n: German translation --- exampleSite/config.yaml | 2 +- i18n/de.yaml | 53 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 i18n/de.yaml diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 67dcfc2..3357712 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -11,7 +11,7 @@ disqusShortname: hugo-theme-stack googleAnalytics: # Theme i18n support -# Available values: en, fr, id, ja, ko, pt-br, zh-cn +# Available values: en, fr, id, ja, ko, pt-br, zh-cn, de DefaultContentLanguage: en permalinks: diff --git a/i18n/de.yaml b/i18n/de.yaml new file mode 100644 index 0000000..25a708a --- /dev/null +++ b/i18n/de.yaml @@ -0,0 +1,53 @@ +toggleMenu: + other: Menü umschalten + +darkMode: + other: Dunkler Modus + +list: + page: + one: "{{ .Count }} Seite" + other: "{{ .Count }} Seiten" + + section: + other: Abschnitt + + subsection: + one: Unterabschnitt + other: Unterabschnitte + +article: + relatedContents: + other: Verwandte Inhalte + lastUpdatedOn: + other: Zuletzt aktualisiert am + +notFound: + title: + other: Seite nicht gefunden + subtitle: + other: Diese Seite existiert nicht. + +widget: + archives: + title: + other: Archiv + more: + other: Weitere + tagCloud: + title: + other: Schlagwörter + +search: + title: + other: Suche + placeholder: + other: Etwas tippen... + resultTitle: + other: "#PAGES_COUNT pages (#TIME_SECONDS seconds)" + +footer: + builtWith: + other: Erstellt mit {{ .Generator }} + designedBy: + other: Theme {{ .Theme }} gestaltet von {{ .DesignedBy }} From 87fad5fd81deff42d686c634fdf54cdec0a16221 Mon Sep 17 00:00:00 2001 From: Matthias Thym Date: Sat, 27 Mar 2021 14:34:00 +0100 Subject: [PATCH 2/2] refactor: add missing i18n option 'es' --- exampleSite/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 3357712..9a22130 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -11,7 +11,7 @@ disqusShortname: hugo-theme-stack googleAnalytics: # Theme i18n support -# Available values: en, fr, id, ja, ko, pt-br, zh-cn, de +# Available values: en, fr, id, ja, ko, pt-br, zh-cn, es, de DefaultContentLanguage: en permalinks: