From c0c75a3b36ef233b0272b21b10a181809d13ea5e Mon Sep 17 00:00:00 2001 From: Casper Meijn Date: Tue, 4 May 2021 21:15:53 +0200 Subject: i18n: Move parameter to translation --- i18n/de.toml | 6 +++--- i18n/en.toml | 6 +++--- i18n/fr.toml | 6 +++--- i18n/nl.toml | 6 +++--- layouts/components/single.html | 6 +++--- layouts/recipes/single.html | 6 +++--- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/i18n/de.toml b/i18n/de.toml index 682ea1d..38b54ae 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -1,11 +1,11 @@ [yields] -other = "Zutaten für" +other = "Zutaten für: {{.}}" [prepTime] -other = "Vorbereitungszeit" +other = "Vorbereitungszeit: {{.}}" [cookTime] -other = "Koch-/Backzeit" +other = "Koch-/Backzeit: {{.}}" [ingredients] other = "Zutaten" diff --git a/i18n/en.toml b/i18n/en.toml index d2a1f45..e5d1bb4 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -1,11 +1,11 @@ [yields] -other = "Yields" +other = "Yields: {{.}}" [prepTime] -other = "Preparation time" +other = "Preparation time: {{.}}" [cookTime] -other = "Cooking time" +other = "Cooking time: {{.}}" [ingredients] other = "Ingredients" diff --git a/i18n/fr.toml b/i18n/fr.toml index 314b0ea..8112ece 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -1,11 +1,11 @@ [yields] -other = "Pour" +other = "Pour: {{.}}" [prepTime] -other = "Préparation" +other = "Préparation: {{.}}" [cookTime] -other = "Cuisson" +other = "Cuisson: {{.}}" [ingredients] other = "Ingrédients" diff --git a/i18n/nl.toml b/i18n/nl.toml index ea02385..3f039c8 100644 --- a/i18n/nl.toml +++ b/i18n/nl.toml @@ -2,13 +2,13 @@ # Copyright © 2021 Casper Meijn [yields] -other = "Opbrengst" +other = "Opbrengst: {{.}}" [prepTime] -other = "Bereidingstijd" +other = "Bereidingstijd: {{.}}" [cookTime] -other = "Baktijd" +other = "Baktijd: {{.}}" [ingredients] other = "Ingrediënten" diff --git a/layouts/components/single.html b/layouts/components/single.html index 189ba87..159fa1a 100644 --- a/layouts/components/single.html +++ b/layouts/components/single.html @@ -30,17 +30,17 @@
{{ with .Params.yield }}
-

{{ i18n "yields" }}: {{ . }}

+

{{ i18n "yields" . }}

{{ end }} {{ with .Params.prepTime }}
-

{{ i18n "prepTime" }}: {{ . }}

+

{{ i18n "prepTime" . }}

{{ end }} {{ with .Params.cookTime }}
-

{{ i18n "cookTime" }}: {{ . }}

+

{{ i18n "cookTime" . }}

{{ end }}
diff --git a/layouts/recipes/single.html b/layouts/recipes/single.html index 1aae1a5..c2078f3 100644 --- a/layouts/recipes/single.html +++ b/layouts/recipes/single.html @@ -30,17 +30,17 @@
{{ with .Params.yield }}
-

{{ i18n "yields" }}: {{ . }}

+

{{ i18n "yields" . }}

{{ end }} {{ with .Params.prepTime }}
-

{{ i18n "prepTime" }}: {{ . }}

+

{{ i18n "prepTime" . }}

{{ end }} {{ with .Params.cookTime }}
-

{{ i18n "cookTime" }}: {{ . }}

+

{{ i18n "cookTime" . }}

{{ end }}
-- cgit v1.2.3 From e5336ac286d612dceb7448abd47a7725c0adfcb9 Mon Sep 17 00:00:00 2001 From: Casper Meijn Date: Tue, 4 May 2021 21:17:44 +0200 Subject: i18n: Improve Dutch translation --- i18n/nl.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/nl.toml b/i18n/nl.toml index 3f039c8..0c610df 100644 --- a/i18n/nl.toml +++ b/i18n/nl.toml @@ -2,7 +2,7 @@ # Copyright © 2021 Casper Meijn [yields] -other = "Opbrengst: {{.}}" +other = "Genoeg voor: {{.}}" [prepTime] other = "Bereidingstijd: {{.}}" @@ -14,7 +14,7 @@ other = "Baktijd: {{.}}" other = "Ingrediënten" [directions] -other = "Instructies" +other = "Bereiding" [components] other = "Onderdelen" -- cgit v1.2.3 From d05e76aea671d21481f868f5f001863b0f0d5566 Mon Sep 17 00:00:00 2001 From: Casper Meijn Date: Tue, 4 May 2021 21:31:19 +0200 Subject: recipe: Increase size of columns to make room for longer languages --- layouts/components/single.html | 6 +++--- layouts/recipes/single.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/layouts/components/single.html b/layouts/components/single.html index 159fa1a..b20b51b 100644 --- a/layouts/components/single.html +++ b/layouts/components/single.html @@ -29,17 +29,17 @@
{{ with .Params.yield }} -
+

{{ i18n "yields" . }}

{{ end }} {{ with .Params.prepTime }} -
+

{{ i18n "prepTime" . }}

{{ end }} {{ with .Params.cookTime }} -
+

{{ i18n "cookTime" . }}

{{ end }} diff --git a/layouts/recipes/single.html b/layouts/recipes/single.html index c2078f3..d60ed1f 100644 --- a/layouts/recipes/single.html +++ b/layouts/recipes/single.html @@ -29,17 +29,17 @@
{{ with .Params.yield }} -
+

{{ i18n "yields" . }}

{{ end }} {{ with .Params.prepTime }} -
+

{{ i18n "prepTime" . }}

{{ end }} {{ with .Params.cookTime }} -
+

{{ i18n "cookTime" . }}

{{ end }} -- cgit v1.2.3