1 parent
0ce584029c
commit
56ceeeb4c7
2 files changed
+5
-3
No files matched your search
@@ -574,7 +574,9 @@
|
|||||||
"create": {
|
"create": {
|
||||||
"header": "Create Option",
|
"header": "Create Option",
|
||||||
"successToast": "Option {{title}} was successfully created."
|
"successToast": "Option {{title}} was successfully created."
|
||||||
}
|
},
|
||||||
|
"deleteWarning": "You are about to delete the product option: {{title}}. This action cannot be undone."
|
||||||
|
|
||||||
},
|
},
|
||||||
"organization": {
|
"organization": {
|
||||||
"header": "Organize",
|
"header": "Organize",
|
||||||
|
|||||||
+2
-2
@@ -20,8 +20,8 @@ const OptionActions = ({
|
|||||||
const handleDelete = async () => {
|
const handleDelete = async () => {
|
||||||
const res = await prompt({
|
const res = await prompt({
|
||||||
title: t("general.areYouSure"),
|
title: t("general.areYouSure"),
|
||||||
description: t("products.deleteWarning", {
|
description: t("products.options.deleteWarning", {
|
||||||
title: product.title,
|
title: option.title,
|
||||||
}),
|
}),
|
||||||
confirmText: t("actions.delete"),
|
confirmText: t("actions.delete"),
|
||||||
cancelText: t("actions.cancel"),
|
cancelText: t("actions.cancel"),
|
||||||
|
|||||||
Reference in new issue
Block a user