Skip to content

Commit

Permalink
Add tag placeholder to explain select feature (#2025)
Browse files Browse the repository at this point in the history
  • Loading branch information
cicoub13 authored Feb 9, 2024
1 parent 5ecc4ff commit c1d1cab
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion front/src/config/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion front/src/config/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion front/src/config/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions front/src/routes/scene/edit-scene/Settings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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={<Text id="editScene.editTagsPlaceholder" />}
formatCreateLabel={inputValue => (
<Text id="editScene.createTag" fields={{ tagName: inputValue }} />
)}
Expand Down

0 comments on commit c1d1cab

Please sign in to comment.