From 5c06a3564c5d9e86f168a515762813b0b600a469 Mon Sep 17 00:00:00 2001 From: ROSPARS Benoit <benoit.rospars@inria.fr> Date: Fri, 17 Dec 2021 16:02:12 +0100 Subject: [PATCH] Missing translation in input placeholders --- data/tuto1/templates/chapitre03_etape02.handlebars | 2 +- data/tuto1/templates/chapitre03_etape03.handlebars | 2 +- data/tuto1/translations/de.json | 4 +++- data/tuto1/translations/en.json | 4 +++- data/tuto1/translations/it.json | 4 +++- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/data/tuto1/templates/chapitre03_etape02.handlebars b/data/tuto1/templates/chapitre03_etape02.handlebars index 43cb98a..96fcf1c 100644 --- a/data/tuto1/templates/chapitre03_etape02.handlebars +++ b/data/tuto1/templates/chapitre03_etape02.handlebars @@ -12,7 +12,7 @@ <div class="instructions-panel-left no-padding-left"> <!-- Nom de la première catégorie --> <div class="input-for-category-parent"> - <input type="text" placeholder="Définir la catégorie #1" class="category-input" /> + <input type="text" placeholder="{{i18n "Définir la catégorie #1"}}" class="category-input" /> </div> <!-- Webcam --> <div class="columns with-padding-left"> diff --git a/data/tuto1/templates/chapitre03_etape03.handlebars b/data/tuto1/templates/chapitre03_etape03.handlebars index 099af6d..97014f3 100644 --- a/data/tuto1/templates/chapitre03_etape03.handlebars +++ b/data/tuto1/templates/chapitre03_etape03.handlebars @@ -12,7 +12,7 @@ <div class="instructions-panel-left no-padding-left"> <!-- Nom de la seconde catégorie --> <div class="input-for-category-parent"> - <input type="text" placeholder="Définir la catégorie #2" class="category-input" /> + <input type="text" placeholder="{{i18n "Définir la catégorie #2"}}" class="category-input" /> </div> <!-- Webcam --> <div class="columns with-padding-left"> diff --git a/data/tuto1/translations/de.json b/data/tuto1/translations/de.json index ca3df8b..707ad5c 100644 --- a/data/tuto1/translations/de.json +++ b/data/tuto1/translations/de.json @@ -89,6 +89,8 @@ "Licorne": "Einhorn", "Lion": "Löwe", "Lune": "Mond", - "Tigre": "Tiger" + "Tigre": "Tiger", + "Définir la catégorie #1": "Die Kategorie #1", + "Définir la catégorie #2": "Die Kategorie #2" } } \ No newline at end of file diff --git a/data/tuto1/translations/en.json b/data/tuto1/translations/en.json index d44d316..5a0149c 100644 --- a/data/tuto1/translations/en.json +++ b/data/tuto1/translations/en.json @@ -95,6 +95,8 @@ "Triangle": "Triangle", "Vélo": "Bike", "catégorie": "Category", - "Tigre": "Tiger" + "Tigre": "Tiger", + "Définir la catégorie #1": "Define the category #1", + "Définir la catégorie #2": "Define the category #2" } } diff --git a/data/tuto1/translations/it.json b/data/tuto1/translations/it.json index 3889372..d3707bf 100644 --- a/data/tuto1/translations/it.json +++ b/data/tuto1/translations/it.json @@ -94,6 +94,8 @@ "Triangle": "Triangolo", "Vélo": "Bici", "catégorie": "categoria", - "Tigre": "Tigre" + "Tigre": "Tigre", + "Définir la catégorie #1": "Definire la categoria #1", + "Définir la catégorie #2": "Definire la categoria #2" } } -- GitLab