diff --git a/src/assets/locales/en/common.json b/src/assets/locales/en/common.json index 2a4af8ea5..c57d39349 100644 --- a/src/assets/locales/en/common.json +++ b/src/assets/locales/en/common.json @@ -1854,7 +1854,8 @@ "voteOrApprovalDialog": { "title": { "vote": "Sign Vote", - "approval": "Approve" + "approval": "Approve", + "approval_execute": "Approve and execute" }, "button": { "vote": { @@ -1863,7 +1864,8 @@ }, "approval": { "success": "Continue to proposal", - "approve": "Approve proposal" + "approve": "Approve", + "approve_execute": "Approve and execute" } } } diff --git a/src/containers/voteOrApprovalDialog/voteOrApprovalDialog.tsx b/src/containers/voteOrApprovalDialog/voteOrApprovalDialog.tsx index 17db1717a..ba4f67671 100644 --- a/src/containers/voteOrApprovalDialog/voteOrApprovalDialog.tsx +++ b/src/containers/voteOrApprovalDialog/voteOrApprovalDialog.tsx @@ -76,14 +76,20 @@ export const VoteOrApprovalDialog: React.FC< const dialogType = pluginType === 'multisig.plugin.dao.eth' ? 'approval' : 'vote'; + const dialogContext = + dialogType === 'approval' && tryExecution ? 'execute' : undefined; + return (