s/Cancel/Reject/ on confirm screen for clarity

feature/default_network_editable
Whymarrh Whitby 6 years ago
parent 0fa9299cd1
commit 7610248f8c
  1. 6
      app/_locales/en/messages.json
  2. 3
      ui/app/components/confirm-page-container/confirm-page-container.component.js

@ -784,6 +784,12 @@
"refundAddress": {
"message": "Your Refund Address"
},
"reject": {
"message": "Reject"
},
"rejectTxsN": {
"message": "Reject $1 transactions"
},
"rejected": {
"message": "Rejected"
},

@ -116,6 +116,7 @@ export default class ConfirmPageContainer extends Component {
}
<PageContainerFooter
onCancel={() => onCancel()}
cancelText={this.context.t('reject')}
onSubmit={() => onSubmit()}
submitText={this.context.t('confirm')}
submitButtonType="confirm"
@ -123,7 +124,7 @@ export default class ConfirmPageContainer extends Component {
>
{unapprovedTxCount > 1 && (
<a onClick={() => onCancelAll()}>
{this.context.t('cancelN', [unapprovedTxCount])}
{this.context.t('rejectTxsN', [unapprovedTxCount])}
</a>
)}
</PageContainerFooter>

Loading…
Cancel
Save