From 2de95d06c4e32f6cf816e5b2c1247fc95c4c4780 Mon Sep 17 00:00:00 2001 From: Frieder Schrempf Date: Tue, 1 Oct 2019 14:20:49 +0200 Subject: [PATCH] Add translations for 'Last modified' and 'Created'. --- i18n/de.toml | 6 ++++++ i18n/en.toml | 6 ++++++ i18n/fr.toml | 6 ++++++ i18n/pt.toml | 6 ++++++ i18n/sv.toml | 6 ++++++ layouts/partials/dates.html | 4 ++-- 6 files changed, 32 insertions(+), 2 deletions(-) diff --git a/i18n/de.toml b/i18n/de.toml index 9f8591f..2ddcb3e 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -16,6 +16,12 @@ other = "Zurück" [taxo_tags] other = "Tags" +[last_mod] +other = "Zuletzt geändert:" + +[created] +other = "Erstellt:" + [search_placeholder] other = "Suche" diff --git a/i18n/en.toml b/i18n/en.toml index 783fec6..f0c87b9 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -16,6 +16,12 @@ other = "Prev" [taxo_tags] other = "Tags" +[last_mod] +other = "Last modified:" + +[created] +other = "Created:" + [search_placeholder] other = "Search" diff --git a/i18n/fr.toml b/i18n/fr.toml index 3797ad7..e4c0a50 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -16,6 +16,12 @@ other = "Précédent" [taxo_tags] other = "Tags" +[last_mod] +other = "Dernière modification:" + +[created] +other = "Établi:" + [search_placeholder] other = "Rechercher" diff --git a/i18n/pt.toml b/i18n/pt.toml index bc740a0..ee9af9c 100644 --- a/i18n/pt.toml +++ b/i18n/pt.toml @@ -16,6 +16,12 @@ other = "Anterior" [taxo_tags] other = "Tags" +[last_mod] +other = "Última modificação:" + +[created] +other = "Criado:" + [search_placeholder] other = "Procurar" diff --git a/i18n/sv.toml b/i18n/sv.toml index 556247d..5b85e1a 100644 --- a/i18n/sv.toml +++ b/i18n/sv.toml @@ -16,6 +16,12 @@ other = "Föregående" [taxo_tags] other = "Taggar" +[last_mod] +other = "Senast ändrad:" + +[created] +other = "Skapad:" + [search_placeholder] other = "Sök" diff --git a/layouts/partials/dates.html b/layouts/partials/dates.html index ddafe29..31fff9f 100644 --- a/layouts/partials/dates.html +++ b/layouts/partials/dates.html @@ -1,4 +1,4 @@

-Last modified: {{ .Lastmod.Format ($.Param "dateformat" | default "2 January, 2006") }}
-Created: {{ .Date.Format ($.Param "dateformat" | default "2 January, 2006") }} +{{ i18n "last_mod" }} {{ .Lastmod.Format ($.Param "dateformat" | default "2 January, 2006") }}
+{{ i18n "created" }} {{ .Date.Format ($.Param "dateformat" | default "2 January, 2006") }}