-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
do not show amounts for approvals #9032
Conversation
"alertSettingsUnconnectedAccount": { | ||
"message": "Browsing a website with an unconnected account selected" | ||
}, | ||
"alertSettingsUnconnectedAccountDescription": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
¿Que pasó?
Builds ready [5455ebb]
Page Load Metrics (606 ± 34 ms)
|
Builds ready [df85746]
Page Load Metrics (648 ± 27 ms)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@@ -106,7 +106,7 @@ export function useTransactionDisplayData (transactionGroup) { | |||
subtitleContainsOrigin = true | |||
} else if (transactionCategory === TOKEN_METHOD_APPROVE) { | |||
category = TRANSACTION_CATEGORY_APPROVAL | |||
title = t('approve') | |||
title = t('approve', [token?.symbol || t('token')]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, actually, we shouldn't do this. approve
is used elsewhere as a key where no substitution will ever be passed in (e.g. confirm-transaction-base.component
, where transactionCategory
is passed to t(..)
).
We should leave the old "Approve" message there and preserve the translations, but add a new message for this particular case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Gudahtt. Pushed up a resolution for this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Builds ready [f0837eb]
Page Load Metrics (619 ± 61 ms)
|
For conversation see: https://consensys.slack.com/archives/GTQAGKY5V/p1595014477062700