Skip to content

Commit

Permalink
FWF-3892 [Bugfix] : Text changes fixes in history and discard modules (
Browse files Browse the repository at this point in the history
  • Loading branch information
arun-s-aot authored Nov 12, 2024
1 parent 97e04a5 commit 9711ecc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions forms-flow-web/src/components/Form/EditForm/FlowEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,15 @@ const FlowEdit = forwardRef(({ isPublished = false, CategoryType }, ref) => {
<Card>
<ConfirmModal
show={showDiscardModal}
title={t(`Are you Sure you want to Discard Flow Changes`)}
title={t(`Discard Flow Changes?`)}
message={t(
"Are you sure you want to discard all the changes of the Flow?"
"Are you sure you want to discard all unsaved changes to the flow of the form?"
)}
messageSecondary={t("This action cannot be undone.")}
primaryBtnAction={handleDiscardConfirm}
onClose={handleDiscardModal}
primaryBtnText={t("Discard Changes")}
secondaryBtnText={t("Cancel")}
primaryBtnText={t("Yes, Discard All Unsaved Changes")}
secondaryBtnText={t("No, Keep The Changes")}
secondayBtnAction={handleDiscardModal}
size="sm"
/>
Expand Down
6 changes: 3 additions & 3 deletions forms-flow-web/src/components/Form/EditForm/FormEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -753,14 +753,14 @@ const EditComponent = () => {
};
case "discard":
return {
title: "Are you Sure you want to Discard Layout Changes",
title: "Discard Layout Changes?",
message:
"Are you sure you want to discard all the changes to the layout of the form?",
messageSecondary: "This action cannot be undone.",
primaryBtnAction: discardChanges,
secondayBtnAction: closeModal,
primaryBtnText: "Discard Changes",
secondaryBtnText: "Cancel",
primaryBtnText: "Yes, Discard Changes",
secondaryBtnText: "No, Keep My Changes",
};
default:
return {};
Expand Down

0 comments on commit 9711ecc

Please sign in to comment.