mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
s/Cancel/Reject/ on confirm screen for clarity
This commit is contained in:
parent
0fa9299cd1
commit
7610248f8c
@ -784,6 +784,12 @@
|
|||||||
"refundAddress": {
|
"refundAddress": {
|
||||||
"message": "Your Refund Address"
|
"message": "Your Refund Address"
|
||||||
},
|
},
|
||||||
|
"reject": {
|
||||||
|
"message": "Reject"
|
||||||
|
},
|
||||||
|
"rejectTxsN": {
|
||||||
|
"message": "Reject $1 transactions"
|
||||||
|
},
|
||||||
"rejected": {
|
"rejected": {
|
||||||
"message": "Rejected"
|
"message": "Rejected"
|
||||||
},
|
},
|
||||||
|
@ -116,6 +116,7 @@ export default class ConfirmPageContainer extends Component {
|
|||||||
}
|
}
|
||||||
<PageContainerFooter
|
<PageContainerFooter
|
||||||
onCancel={() => onCancel()}
|
onCancel={() => onCancel()}
|
||||||
|
cancelText={this.context.t('reject')}
|
||||||
onSubmit={() => onSubmit()}
|
onSubmit={() => onSubmit()}
|
||||||
submitText={this.context.t('confirm')}
|
submitText={this.context.t('confirm')}
|
||||||
submitButtonType="confirm"
|
submitButtonType="confirm"
|
||||||
@ -123,7 +124,7 @@ export default class ConfirmPageContainer extends Component {
|
|||||||
>
|
>
|
||||||
{unapprovedTxCount > 1 && (
|
{unapprovedTxCount > 1 && (
|
||||||
<a onClick={() => onCancelAll()}>
|
<a onClick={() => onCancelAll()}>
|
||||||
{this.context.t('cancelN', [unapprovedTxCount])}
|
{this.context.t('rejectTxsN', [unapprovedTxCount])}
|
||||||
</a>
|
</a>
|
||||||
)}
|
)}
|
||||||
</PageContainerFooter>
|
</PageContainerFooter>
|
||||||
|
Loading…
Reference in New Issue
Block a user