diff --git a/webapp/IronCalc/src/components/SheetTabBar/SheetDeleteDialog.tsx b/webapp/IronCalc/src/components/SheetTabBar/SheetDeleteDialog.tsx index 024f2ea..a8fa955 100644 --- a/webapp/IronCalc/src/components/SheetTabBar/SheetDeleteDialog.tsx +++ b/webapp/IronCalc/src/components/SheetTabBar/SheetDeleteDialog.tsx @@ -27,8 +27,9 @@ function SheetDeleteDialog({ {t("sheet_delete.title")} - {t("sheet_delete.message1")} '{sheetName}'{" "} - {t("sheet_delete.message2")} + {t("sheet_delete.message", { + sheetName, + })} diff --git a/webapp/IronCalc/src/locale/en_us.json b/webapp/IronCalc/src/locale/en_us.json index f4ca681..7c1cfa6 100644 --- a/webapp/IronCalc/src/locale/en_us.json +++ b/webapp/IronCalc/src/locale/en_us.json @@ -70,8 +70,7 @@ }, "sheet_delete": { "title": "Are you sure?", - "message1": "The sheet", - "message2": "will be permanently deleted. This action cannot be undone.", + "message": "The sheet '{{sheetName}}' will be permanently deleted. This action cannot be undone.", "confirm": "Yes, delete sheet", "cancel": "Cancel" },