Skip to content

Commit 736a8c1

Browse files
committed
fix: adjust text on sponsor extra questions delete popup
Signed-off-by: Tomás Castillo <[email protected]>
1 parent 87ed418 commit 736a8c1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/components/forms/sponsor-general-form/extra-questions.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@ const SponsorExtraQuestions = ({
191191
onEdit={handleEditExtraQuestion}
192192
onDelete={handleDeleteExtraQuestion}
193193
onReorder={handleReorder}
194+
deleteDialogBody={(name) =>
195+
T.translate("edit_sponsor.extra_question_remove_warning", {
196+
name
197+
})
198+
}
194199
/>
195200
)}
196201
</Grid2>

src/i18n/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2342,6 +2342,7 @@
23422342
"extra_question_saved": "Extra Question saved successfully",
23432343
"extra_question_created": "Extra Question created successfully",
23442344
"extra_question_deleted": "Extra Question deleted successfully",
2345+
"extra_question_remove_warning": "Please verify you want to delete {name}",
23452346
"remove_warning_ads": "Are you sure you want to delete advertisement ",
23462347
"remove_warning_materials": "Are you sure you want to delete material ",
23472348
"remove_warning_social_networks": "Are you sure you want to delete social network ",

0 commit comments

Comments
 (0)