Skip to content

Fix transferFrom localized message#10395

Merged
Gudahtt merged 1 commit intodevelopfrom
fix-transfer-from-localized-message
Feb 8, 2021
Merged

Fix transferFrom localized message#10395
Gudahtt merged 1 commit intodevelopfrom
fix-transfer-from-localized-message

Conversation

@Gudahtt
Copy link
Copy Markdown
Member

@Gudahtt Gudahtt commented Feb 8, 2021

The transferFrom localized message has been unused at least since the transaction list redesign was implemented. The transactionCategory has been used directly as the localized message key since then. For most of the other categories this was fine, but for transferFrom the message differs slightly from the category (the category is transferfrom, with a lower-cased 'f').

I am not yet sure how to manually test this. I only discovered this incidentally via the verify-locales script.

@Gudahtt
Copy link
Copy Markdown
Member Author

Gudahtt commented Feb 8, 2021

This depends upon #10391

kumavis
kumavis previously approved these changes Feb 8, 2021
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [c7e9fea]
Page Load Metrics (572 ± 25 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint48805994
domContentLoaded3676355715125
load3696365725125
domInteractive3676355705125

@Gudahtt Gudahtt force-pushed the use-string-literals-for-transaction-category-messages branch from de1aa5c to a8ab8e8 Compare February 8, 2021 12:54
@Gudahtt Gudahtt force-pushed the fix-transfer-from-localized-message branch from c7e9fea to 32513b7 Compare February 8, 2021 13:06
brad-decker
brad-decker previously approved these changes Feb 8, 2021
Base automatically changed from use-string-literals-for-transaction-category-messages to develop February 8, 2021 16:07
@Gudahtt Gudahtt dismissed stale reviews from brad-decker and kumavis February 8, 2021 16:07

The base branch was changed.

The `transferFrom` localized message has been unused at least since the
transaction list redesign was implemented. The `transactionCategory`
has been used directly as the localized message key since then. For
most of the other categories this was fine, but for `transferFrom` the
message differs slightly from the category (the category is
`transferfrom`, with a lower-cased 'f').
@Gudahtt Gudahtt force-pushed the fix-transfer-from-localized-message branch from 6412e86 to aa6cb9a Compare February 8, 2021 16:29
@Gudahtt Gudahtt marked this pull request as ready for review February 8, 2021 16:32
@Gudahtt Gudahtt requested a review from a team as a code owner February 8, 2021 16:32
@Gudahtt Gudahtt requested a review from danjm February 8, 2021 16:32
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [aa6cb9a]
Page Load Metrics (582 ± 45 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint49745973
domContentLoaded3737075819345
load3747085829345
domInteractive3727075809344

@Gudahtt Gudahtt merged commit 88f1233 into develop Feb 8, 2021
@Gudahtt Gudahtt deleted the fix-transfer-from-localized-message branch February 8, 2021 17:30
@github-actions github-actions bot locked and limited conversation to collaborators Feb 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants