diff options
author | Markus Lindenmann <8123039+Tiliavir@users.noreply.github.com> | 2021-01-24 16:41:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-24 16:41:13 +0300 |
commit | c0d4c9f9ebe510ec15d6267f468e737b44bad20e (patch) | |
tree | 299fbc8b2cec11f970a395460f7e0d5bdb5f0d34 | |
parent | 5804835b484b23c0a78c1ba23672f93db6bf4b62 (diff) |
Adds some missing translations (#19)
* Add missing translations in component based recipe
* Add missing translations
* Add english
* Add german
* Add french
* Fix french translation according to @hed854 suggested
Co-authored-by: H. Rakoto <hed854@users.noreply.github.com>
* Fix french translation according to @hed854 suggested
Co-authored-by: H. Rakoto <hed854@users.noreply.github.com>
Co-authored-by: Markus Lindenmann <Tiliavir@users.noreply.github.com>
Co-authored-by: H. Rakoto <hed854@users.noreply.github.com>
-rw-r--r-- | i18n/de.toml | 9 | ||||
-rw-r--r-- | i18n/en.toml | 9 | ||||
-rw-r--r-- | i18n/fr.toml | 9 | ||||
-rw-r--r-- | layouts/components/single.html | 4 | ||||
-rw-r--r-- | layouts/recipes/single.html | 4 |
5 files changed, 31 insertions, 4 deletions
diff --git a/i18n/de.toml b/i18n/de.toml index fcefbe9..682ea1d 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -16,6 +16,15 @@ other = "Arbeitsschritte" [components] other = "Komponenten" +[this-is-a] +other = "Das ist ein" + +[component-based-recipe] +other = "komponenten-basiertes Rezept" + +[fancy-talk] +other = "ausgefallen formuliert um ein Gericht in Teilen anzurichten" + [steps] other = "Arbeitsschritte" diff --git a/i18n/en.toml b/i18n/en.toml index 24778b5..d2a1f45 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -16,6 +16,15 @@ other = "Directions" [components] other = "Components" +[this-is-a] +other = "This is a" + +[component-based-recipe] +other = "component-based recipe" + +[fancy-talk] +other = "fancy talk for making the dish in pieces, then assembling" + [steps] other = "Steps" diff --git a/i18n/fr.toml b/i18n/fr.toml index e5391e0..314b0ea 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -16,6 +16,15 @@ other = "Instructions" [components] other = "Composantes" +[this-is-a] +other = "Ceci est une" + +[component-based-recipe] +other = "recette à base de composants" + +[fancy-talk] +other = "formulation désignant la création d'un plat à partir de sous-recettes" + [steps] other = "Etapes" diff --git a/layouts/components/single.html b/layouts/components/single.html index cefaca7..189ba87 100644 --- a/layouts/components/single.html +++ b/layouts/components/single.html @@ -89,7 +89,7 @@ <!-- check if it's a component-based recipe, render it --> {{ with .Params.Components }} <div class="components bg-darken-2 p2 mt3 mb3 center"> - ↓ This is a <strong class="blue">component-based recipe</strong> (fancy talk for making the dish in pieces, then assembling). ↓ + ↓ {{ i18n "this-is-a" }} <strong class="blue">{{ i18n "component-based-recipe" }}</strong> ({{ i18n "fancy-talk" }}). ↓ </div> <div class="clearfix mxn2"> @@ -112,7 +112,7 @@ </a> {{ end }} - <h4 class="blue regular xs-center">Ingredients</h4> + <h4 class="blue regular xs-center">{{ i18n "ingredients" }}</h4> <ul class="ingredients" itemprop="ingredients"> {{ range .Params.Ingredients }} <li itemprop="ingredient"> diff --git a/layouts/recipes/single.html b/layouts/recipes/single.html index dce2901..1aae1a5 100644 --- a/layouts/recipes/single.html +++ b/layouts/recipes/single.html @@ -89,7 +89,7 @@ <!-- check if it's a component-based recipe, render it --> {{ with .Params.Components }} <div class="components bg-darken-2 p2 mt3 mb3 center"> - ↓ This is a <strong class="blue">component-based recipe</strong> (fancy talk for making the dish in pieces, then assembling). ↓ + ↓ {{ i18n "this-is-a" }} <strong class="blue">{{ i18n "component-based-recipe" }}</strong> ({{ i18n "fancy-talk" }}). ↓ </div> <div class="clearfix mxn2"> @@ -112,7 +112,7 @@ </a> {{ end }} - <h4 class="blue regular xs-center">Ingredients</h4> + <h4 class="blue regular xs-center">{{ i18n "ingredients" }}</h4> <ul class="ingredients" itemprop="ingredients"> {{ range .Params.Ingredients }} <li itemprop="ingredient"> |