From c1d1cab8929c4d3dc0d4b8d7c07c3f4a92928228 Mon Sep 17 00:00:00 2001 From: Cyril Beslay Date: Fri, 9 Feb 2024 11:25:34 +0100 Subject: [PATCH] Add tag placeholder to explain select feature (#2025) --- front/src/config/i18n/de.json | 2 +- front/src/config/i18n/en.json | 2 +- front/src/config/i18n/fr.json | 2 +- front/src/routes/scene/edit-scene/Settings.jsx | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/front/src/config/i18n/de.json b/front/src/config/i18n/de.json index f4ff49b0e5..beef13dd4e 100644 --- a/front/src/config/i18n/de.json +++ b/front/src/config/i18n/de.json @@ -1623,7 +1623,7 @@ "iconLabel": "Symbol", "editDescriptionPlaceholder": "Gib eine Beschreibung für die Szene ein", "tagsTitle": "Tags", - "editTagsPlaceholder": "Gib Tags für die Szene ein", + "editTagsPlaceholder": "Geben Sie ein Tag für die Szene ein oder wählen Sie es aus", "createTag": "Tag erstellen: '{{tagName}}'", "startButton": "Start", "saveButton": "Sichern", diff --git a/front/src/config/i18n/en.json b/front/src/config/i18n/en.json index 1b832441d4..f23a51691b 100644 --- a/front/src/config/i18n/en.json +++ b/front/src/config/i18n/en.json @@ -1625,7 +1625,7 @@ "iconLabel": "Icon", "editDescriptionPlaceholder": "Enter a scene description", "tagsTitle": "Tags", - "editTagsPlaceholder": "Enter a scene tags", + "editTagsPlaceholder": "Enter or choose a tag scene", "createTag": "Create tag: '{{tagName}}'", "startButton": "Start", "saveButton": "Save", diff --git a/front/src/config/i18n/fr.json b/front/src/config/i18n/fr.json index 1bcbaad197..552c2a9a83 100644 --- a/front/src/config/i18n/fr.json +++ b/front/src/config/i18n/fr.json @@ -1628,7 +1628,7 @@ "editDescriptionPlaceholder": "Entrez une description pour la scène", "createTag": "Créer le tag : '{{tagName}}'", "tagsTitle": "Tags", - "editTagsPlaceholder": "Entrez un tag pour la scène", + "editTagsPlaceholder": "Entrez ou choisissez un tag pour la scène", "startButton": "Démarrer", "saveButton": "Sauvegarder", "deleteButton": "Supprimer", diff --git a/front/src/routes/scene/edit-scene/Settings.jsx b/front/src/routes/scene/edit-scene/Settings.jsx index ff47c36437..764a073dcd 100644 --- a/front/src/routes/scene/edit-scene/Settings.jsx +++ b/front/src/routes/scene/edit-scene/Settings.jsx @@ -89,6 +89,7 @@ class Settings extends Component { isMulti options={props.tags && props.tags.map(tag => ({ value: tag.name, label: tag.name }))} onChange={tags => props.setTags(tags.map(tag => tag.value))} + placeholder={} formatCreateLabel={inputValue => ( )}