diff options
author | hed854 <hed854@users.noreply.github.com> | 2021-01-05 12:56:31 +0300 |
---|---|---|
committer | hed854 <hed854@users.noreply.github.com> | 2021-01-05 12:56:31 +0300 |
commit | ad934edbefa1278aa3bfb9233511d7ba1340cc9c (patch) | |
tree | 9521c710a26ffe8d72ebd38fad96ffc7ba683d03 | |
parent | edadf30f2201e11d3bd8337ad8323dbb971f09a1 (diff) |
Add missing translations
-rw-r--r-- | i18n/en.toml | 6 | ||||
-rw-r--r-- | i18n/fr.toml | 6 | ||||
-rw-r--r-- | layouts/components/single.html | 4 | ||||
-rw-r--r-- | layouts/recipes/single.html | 4 |
4 files changed, 16 insertions, 4 deletions
diff --git a/i18n/en.toml b/i18n/en.toml index 2137579..5b95088 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -13,6 +13,12 @@ other = "ingredients" [directions] other = "directions" +[components] +other = "Components" + +[steps] +other = "Steps" + [category] other = "category" diff --git a/i18n/fr.toml b/i18n/fr.toml index 5ab2929..e5391e0 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -13,6 +13,12 @@ other = "Ingrédients" [directions] other = "Instructions" +[components] +other = "Composantes" + +[steps] +other = "Etapes" + [category] other = "Catégorie" diff --git a/layouts/components/single.html b/layouts/components/single.html index 4d180e8..cefaca7 100644 --- a/layouts/components/single.html +++ b/layouts/components/single.html @@ -50,7 +50,7 @@ <div class="sm-col sm-col-6 lg-col-6 recipeItems"> <!-- check if it's a component-based recipe --> {{ with .Params.Components}} - <h4 class="blue mt0 mb2 xs-center">Components</h4> + <h4 class="blue mt0 mb2 xs-center">{{ i18n "components" }}</h4> <ul> <!-- list components that make up recipe --> {{ range . }} @@ -121,7 +121,7 @@ {{ end }} </ul> - <h4 class="blue regular xs-center">Steps</h4> + <h4 class="blue regular xs-center">{{ i18n "steps" }}</h4> <ul itemprop="instructions"> {{ range .Params.Directions }} <li> diff --git a/layouts/recipes/single.html b/layouts/recipes/single.html index 2894049..dce2901 100644 --- a/layouts/recipes/single.html +++ b/layouts/recipes/single.html @@ -50,7 +50,7 @@ <div class="sm-col sm-col-6 lg-col-6 recipeItems"> <!-- check if it's a component-based recipe --> {{ with .Params.Components}} - <h4 class="blue mt0 mb2 xs-center">Components</h4> + <h4 class="blue mt0 mb2 xs-center">{{ i18n "components" }}</h4> <ul> <!-- list components that make up recipe --> {{ range . }} @@ -121,7 +121,7 @@ {{ end }} </ul> - <h4 class="blue regular xs-center">Steps</h4> + <h4 class="blue regular xs-center">{{ i18n "steps" }}</h4> <ul itemprop="instructions"> {{ range .Params.Directions }} <li> |