Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/seanlane/gochowdown.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasper Meijn <casper@meijn.net>2021-05-04 22:15:53 +0300
committerCasper Meijn <casper@meijn.net>2021-05-04 22:15:53 +0300
commitc0c75a3b36ef233b0272b21b10a181809d13ea5e (patch)
tree86a90cb65dac5e3d5d9a3330aaff35e3d2b14432
parentd207f64f7a9d9ab8e81d2244ec358afb168b8fab (diff)
i18n: Move parameter to translation
-rw-r--r--i18n/de.toml6
-rw-r--r--i18n/en.toml6
-rw-r--r--i18n/fr.toml6
-rw-r--r--i18n/nl.toml6
-rw-r--r--layouts/components/single.html6
-rw-r--r--layouts/recipes/single.html6
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 <casper@meijn.net>
[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 @@
<div class="clearfix mt3">
{{ with .Params.yield }}
<div class="sm-col sm-col-2">
- <h4 class="blue mt0 mb2 xs-center">{{ i18n "yields" }}: {{ . }}</h4>
+ <h4 class="blue mt0 mb2 xs-center">{{ i18n "yields" . }}</h4>
</div>
{{ end }}
{{ with .Params.prepTime }}
<div class="sm-col sm-col-2">
- <h4 class="blue mt0 mb2 xs-center">{{ i18n "prepTime" }}: {{ . }}</h4>
+ <h4 class="blue mt0 mb2 xs-center">{{ i18n "prepTime" . }}</h4>
</div>
{{ end }}
{{ with .Params.cookTime }}
<div class="sm-col sm-col-2">
- <h4 class="blue mt0 mb2 xs-center">{{ i18n "cookTime" }}: {{ . }}</h4>
+ <h4 class="blue mt0 mb2 xs-center">{{ i18n "cookTime" . }}</h4>
</div>
{{ end }}
</div>
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 @@
<div class="clearfix mt3">
{{ with .Params.yield }}
<div class="sm-col sm-col-2">
- <h4 class="blue mt0 mb2 xs-center">{{ i18n "yields" }}: {{ . }}</h4>
+ <h4 class="blue mt0 mb2 xs-center">{{ i18n "yields" . }}</h4>
</div>
{{ end }}
{{ with .Params.prepTime }}
<div class="sm-col sm-col-2">
- <h4 class="blue mt0 mb2 xs-center">{{ i18n "prepTime" }}: {{ . }}</h4>
+ <h4 class="blue mt0 mb2 xs-center">{{ i18n "prepTime" . }}</h4>
</div>
{{ end }}
{{ with .Params.cookTime }}
<div class="sm-col sm-col-2">
- <h4 class="blue mt0 mb2 xs-center">{{ i18n "cookTime" }}: {{ . }}</h4>
+ <h4 class="blue mt0 mb2 xs-center">{{ i18n "cookTime" . }}</h4>
</div>
{{ end }}
</div>