From 84011f418d7eb6c2ef870efc3f6fbd4a93d30985 Mon Sep 17 00:00:00 2001 From: Regis Philibert Date: Mon, 21 Mar 2022 11:58:10 -0400 Subject: [PATCH] Localize "By" En/De/Es/Fr/It/Pt Fixes #528 --- i18n/de.toml | 3 +++ i18n/en.toml | 3 +++ i18n/es.toml | 3 +++ i18n/fr.toml | 3 +++ i18n/it.toml | 3 +++ i18n/pt.toml | 3 +++ layouts/_default/single.html | 2 +- 7 files changed, 19 insertions(+), 1 deletion(-) diff --git a/i18n/de.toml b/i18n/de.toml index 1109b97..c0b4f10 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -10,6 +10,9 @@ other = "Neuste {{.Title }}" [readMore] other = "weiterlesen" +[by] +other = "Von" + [whatsInThis] other = "Was ist in dieser {{ .Type }}" diff --git a/i18n/en.toml b/i18n/en.toml index 755e3b0..4e5638d 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -10,6 +10,9 @@ other = "Recent {{.Title }}" [readMore] other = "read more" +[by] +other = "By" + [whatsInThis] other = "What's in this {{ .Type }}" diff --git a/i18n/es.toml b/i18n/es.toml index ed7c31f..e5d61b1 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -10,6 +10,9 @@ other = "{{.Title }} recientes" [readMore] other = "Leer más" +[by] +other = "Por" + [whatsInThis] other = "Qué hay en este {{ .Type }}" diff --git a/i18n/fr.toml b/i18n/fr.toml index fb7d42b..47d20aa 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -10,6 +10,9 @@ other = "{{.Title }} récents" [readMore] other = "lire plus" +[by] +other = "Par" + [whatsInThis] other = "Ce qui est dans {{ .Type }}" diff --git a/i18n/it.toml b/i18n/it.toml index 417f4ac..51b96c4 100644 --- a/i18n/it.toml +++ b/i18n/it.toml @@ -10,6 +10,9 @@ other = "Recenti {{.Title }}" [readMore] other = "leggi di più" +[by] +other = "Da" + [whatsInThis] other = "Cosa c'è in {{ .Type }}" diff --git a/i18n/pt.toml b/i18n/pt.toml index 024cd42..2e45736 100644 --- a/i18n/pt.toml +++ b/i18n/pt.toml @@ -10,6 +10,9 @@ other = "{{.Title }} Recentes" [readMore] other = "Leia mais" +[by] +other = "por" + [whatsInThis] other = "O que há neste {{ .Type }}" diff --git a/layouts/_default/single.html b/layouts/_default/single.html index aa871f0..adb0c60 100755 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -20,7 +20,7 @@ {{ with .Params.author | default .Site.Params.author }}

- By + {{ i18n "by" }} {{ if reflect.IsSlice . }} {{ delimit . ", " | markdownify }} {{else}}