diff options
author | Sean Lane <5761232+seanlane@users.noreply.github.com> | 2022-06-03 15:19:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-03 15:19:50 +0300 |
commit | 56023b2b71140c9be590b4418e0a79daf9464c8a (patch) | |
tree | 2b544f7a09844c38b8c0589561cd7b172666f3ea | |
parent | d207f64f7a9d9ab8e81d2244ec358afb168b8fab (diff) | |
parent | d05e76aea671d21481f868f5f001863b0f0d5566 (diff) |
Merge pull request #29 from caspermeijn/dutch-translation
Several language improvements
-rw-r--r-- | i18n/de.toml | 6 | ||||
-rw-r--r-- | i18n/en.toml | 6 | ||||
-rw-r--r-- | i18n/fr.toml | 6 | ||||
-rw-r--r-- | i18n/nl.toml | 8 | ||||
-rw-r--r-- | layouts/components/single.html | 12 | ||||
-rw-r--r-- | layouts/recipes/single.html | 12 |
6 files changed, 25 insertions, 25 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..0c610df 100644 --- a/i18n/nl.toml +++ b/i18n/nl.toml @@ -2,19 +2,19 @@ # Copyright © 2021 Casper Meijn <casper@meijn.net> [yields] -other = "Opbrengst" +other = "Genoeg voor: {{.}}" [prepTime] -other = "Bereidingstijd" +other = "Bereidingstijd: {{.}}" [cookTime] -other = "Baktijd" +other = "Baktijd: {{.}}" [ingredients] other = "Ingrediënten" [directions] -other = "Instructies" +other = "Bereiding" [components] other = "Onderdelen" diff --git a/layouts/components/single.html b/layouts/components/single.html index 189ba87..b20b51b 100644 --- a/layouts/components/single.html +++ b/layouts/components/single.html @@ -29,18 +29,18 @@ <div class="clearfix mt3"> {{ with .Params.yield }} - <div class="sm-col sm-col-2"> - <h4 class="blue mt0 mb2 xs-center">{{ i18n "yields" }}: {{ . }}</h4> + <div class="sm-col sm-col-3"> + <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> + <div class="sm-col sm-col-3"> + <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> + <div class="sm-col sm-col-3"> + <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..d60ed1f 100644 --- a/layouts/recipes/single.html +++ b/layouts/recipes/single.html @@ -29,18 +29,18 @@ <div class="clearfix mt3"> {{ with .Params.yield }} - <div class="sm-col sm-col-2"> - <h4 class="blue mt0 mb2 xs-center">{{ i18n "yields" }}: {{ . }}</h4> + <div class="sm-col sm-col-3"> + <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> + <div class="sm-col sm-col-3"> + <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> + <div class="sm-col sm-col-3"> + <h4 class="blue mt0 mb2 xs-center">{{ i18n "cookTime" . }}</h4> </div> {{ end }} </div> |