mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix transferFrom
localized message (#10395)
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').
This commit is contained in:
parent
85cf35b2d1
commit
88f1233852
@ -220,7 +220,7 @@ export function getTransactionCategoryTitle(t, transactionCategory) {
|
||||
return t('transfer');
|
||||
}
|
||||
case TRANSACTION_CATEGORIES.TOKEN_METHOD_TRANSFER_FROM: {
|
||||
return t('transferfrom');
|
||||
return t('transferFrom');
|
||||
}
|
||||
case TRANSACTION_CATEGORIES.TOKEN_METHOD_APPROVE: {
|
||||
return t('approve');
|
||||
|
Loading…
Reference in New Issue
Block a user