Skip to content

Commit d8cd144

Browse files
committed
FIX: The label of the viewpoint deletion button should be more explicit.
Please note that the ellipsis is required since the action is fired only after a confirmation is given.
1 parent f928ac8 commit d8cd144

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

features/step_definitions/event.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292

9393
Quand("l'utilisateur supprime le point de vue") do
9494
accept_confirm do
95-
click_on "Supprimer"
95+
click_on "Supprimer ce point de vue..."
9696
end
9797
end
9898

src/components/viewpointPage/Outliner.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Outliner extends React.Component {
4646
() => {
4747
this.applyDelete();
4848
window.confirm(t`Êtes-vous sûr de vouloir supprimer le point de vue ?` + '\n' + t`Attention : Le point de vue sera définitivement supprimé.`);
49-
}}><Trans>Supprimer</Trans></button>
49+
}}><Trans>Supprimer ce point de vue...</Trans></button>
5050
</div>
5151
: ''}
5252
<div className={style}>

src/locales/en/messages.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ msgid "Se déconnecter"
149149
msgstr "Log out"
150150

151151
#: src/components/viewpointPage/Outliner.jsx:49
152-
msgid "Supprimer"
153-
msgstr "Delete"
152+
msgid "Supprimer ce point de vue..."
153+
msgstr "Delete this viewpoint..."
154154

155155
#: src/components/portfolioPage/Status.jsx:11
156156
msgid "Tous les items"

src/locales/fr/messages.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ msgid "Se déconnecter"
149149
msgstr "Se déconnecter"
150150

151151
#: src/components/viewpointPage/Outliner.jsx:49
152-
msgid "Supprimer"
153-
msgstr "Supprimer"
152+
msgid "Supprimer ce point de vue..."
153+
msgstr "Supprimer ce point de vue..."
154154

155155
#: src/components/portfolioPage/Status.jsx:11
156156
msgid "Tous les items"

0 commit comments

Comments
 (0)