From 92ef36a38e4fbcee9f7b4ef0a9dee38545851244 Mon Sep 17 00:00:00 2001 From: Serge Bibauw <sbibauw@gmail.com> Date: Thu, 24 Apr 2025 23:47:15 +0200 Subject: [PATCH] Revert "Admin Task creation form: 2 rows for textareas" This reverts commit f44b3108672a1e7e420daf68a9580285da00cb18. --- frontend/src/lang/fr.json | 6 +++--- frontend/src/routes/admin/tasks/TaskForm.svelte | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/frontend/src/lang/fr.json b/frontend/src/lang/fr.json index 99d79554..331a6e4a 100644 --- a/frontend/src/lang/fr.json +++ b/frontend/src/lang/fr.json @@ -408,9 +408,9 @@ "editTitle": "Modifier la tâche", "level": "Niveau CEFR", "shortTitle": "Nom de la tâche (max 5 mots)", - "instructions": "Instructions pour le tuteur", - "learnerInstructions": "Instructions pour l'apprenant", - "examples": "Exemples", + "instructions": "Instructions pour le tuteur (plusieurs lignes si besoin)", + "learnerInstructions": "Instructions pour l'apprenant (plusieurs lignes si besoin)", + "examples": "Exemples (plusieurs lignes si besoin)", "create": "Créer une nouvelle tâche", "taskInProgress": "Tâche en cours", "taskFinished": "Tâche terminée avec succès", diff --git a/frontend/src/routes/admin/tasks/TaskForm.svelte b/frontend/src/routes/admin/tasks/TaskForm.svelte index 33169e2f..42c0fb29 100644 --- a/frontend/src/routes/admin/tasks/TaskForm.svelte +++ b/frontend/src/routes/admin/tasks/TaskForm.svelte @@ -54,7 +54,6 @@ <label class="label" for="instructions">{$t('tasks.instructions')}</label> <textarea use:autosize - rows="2" class="input w-full" id="instructions" name="instructions" @@ -64,7 +63,6 @@ <label class="label" for="learnerInstructions">{$t('tasks.learnerInstructions')}</label> <textarea use:autosize - rows="2" class="input w-full" id="learnerInstructions" name="learnerInstructions" @@ -74,7 +72,6 @@ <label class="label" for="examples">{$t('tasks.examples')} *</label> <textarea use:autosize - rows="2" class="input w-full" id="examples" name="examples" -- GitLab