aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-09-24 12:16:52 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-10-02 00:14:54 +0800
commit7610248f8c09f9fb86da700ae2818e9b4bd07832 (patch)
treed636781a3a8c3b41196663383b061bcf5a2cdb33
parent0fa9299cd150ff81095da76352a55da4909bf812 (diff)
downloadtangerine-wallet-browser-7610248f8c09f9fb86da700ae2818e9b4bd07832.tar
tangerine-wallet-browser-7610248f8c09f9fb86da700ae2818e9b4bd07832.tar.gz
tangerine-wallet-browser-7610248f8c09f9fb86da700ae2818e9b4bd07832.tar.bz2
tangerine-wallet-browser-7610248f8c09f9fb86da700ae2818e9b4bd07832.tar.lz
tangerine-wallet-browser-7610248f8c09f9fb86da700ae2818e9b4bd07832.tar.xz
tangerine-wallet-browser-7610248f8c09f9fb86da700ae2818e9b4bd07832.tar.zst
tangerine-wallet-browser-7610248f8c09f9fb86da700ae2818e9b4bd07832.zip
s/Cancel/Reject/ on confirm screen for clarity
-rw-r--r--app/_locales/en/messages.json6
-rw-r--r--ui/app/components/confirm-page-container/confirm-page-container.component.js3
2 files changed, 8 insertions, 1 deletions
diff --git a/app/_locales/en/messages.json b/app/_locales/en/messages.json
index c48c5cc6d..6f99c50e1 100644
--- a/app/_locales/en/messages.json
+++ b/app/_locales/en/messages.json
@@ -784,6 +784,12 @@
"refundAddress": {
"message": "Your Refund Address"
},
+ "reject": {
+ "message": "Reject"
+ },
+ "rejectTxsN": {
+ "message": "Reject $1 transactions"
+ },
"rejected": {
"message": "Rejected"
},
diff --git a/ui/app/components/confirm-page-container/confirm-page-container.component.js b/ui/app/components/confirm-page-container/confirm-page-container.component.js
index 00100b5af..36d5a1f58 100644
--- a/ui/app/components/confirm-page-container/confirm-page-container.component.js
+++ b/ui/app/components/confirm-page-container/confirm-page-container.component.js
@@ -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>