From 88f12338525517c576764c2c2107e99b5cfc949a Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Mon, 8 Feb 2021 14:00:27 -0330 Subject: [PATCH] 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'). --- ui/app/helpers/utils/transactions.util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/helpers/utils/transactions.util.js b/ui/app/helpers/utils/transactions.util.js index 06a7a269e..463ddab5e 100644 --- a/ui/app/helpers/utils/transactions.util.js +++ b/ui/app/helpers/utils/transactions.util.js @@ -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');