1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

Copy update on Transaction breakdown for ApproveToken (#17296)

This commit is contained in:
Niranjana Binoy 2023-01-25 10:15:58 -05:00 committed by GitHub
parent 47f6d46bb3
commit 129a06cc12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
24 changed files with 18 additions and 149 deletions

View File

@ -370,10 +370,6 @@
"approveButtonText": { "approveButtonText": {
"message": "Genehmigen" "message": "Genehmigen"
}, },
"approveSpendLimit": {
"message": "$1 Ausgabelimit genehmigen",
"description": "The token symbol that is being approved"
},
"approveTokenDescription": { "approveTokenDescription": {
"message": "Dies gestattet es Dritten, ohne weitere Benachrichtigung auf die folgenden NFTs zuzugreifen und diese zu übertragen, bis Sie dieses Zugriffsrecht widerrufen." "message": "Dies gestattet es Dritten, ohne weitere Benachrichtigung auf die folgenden NFTs zuzugreifen und diese zu übertragen, bis Sie dieses Zugriffsrecht widerrufen."
}, },
@ -3442,9 +3438,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "Diese Transaktion beschleunigen" "message": "Diese Transaktion beschleunigen"
}, },
"spendLimitAmount": {
"message": "Ausgabelimitbetrag"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "Ausgabelimit unzureichend" "message": "Ausgabelimit unzureichend"
}, },

View File

@ -370,10 +370,6 @@
"approveButtonText": { "approveButtonText": {
"message": "Έγκριση" "message": "Έγκριση"
}, },
"approveSpendLimit": {
"message": "Έγκριση ορίου δαπανών $1",
"description": "The token symbol that is being approved"
},
"approveTokenDescription": { "approveTokenDescription": {
"message": "Αυτό επιτρέπει σε τρίτα μέρη να έχουν πρόσβαση και να μεταφέρουν τα ακόλουθα NFT χωρίς περαιτέρω ειδοποίηση μέχρι να ανακαλέσετε την πρόσβασή τους." "message": "Αυτό επιτρέπει σε τρίτα μέρη να έχουν πρόσβαση και να μεταφέρουν τα ακόλουθα NFT χωρίς περαιτέρω ειδοποίηση μέχρι να ανακαλέσετε την πρόσβασή τους."
}, },
@ -3442,9 +3438,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "Επιτάχυνση αυτής της συναλλαγής" "message": "Επιτάχυνση αυτής της συναλλαγής"
}, },
"spendLimitAmount": {
"message": "Ποσό ορίου δαπανών"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "Ανεπαρκές όριο δαπανών" "message": "Ανεπαρκές όριο δαπανών"
}, },

View File

@ -370,8 +370,8 @@
"approveButtonText": { "approveButtonText": {
"message": "Approve" "message": "Approve"
}, },
"approveSpendLimit": { "approveSpendingCap": {
"message": "Approve $1 spend limit", "message": "Approve $1 spending cap",
"description": "The token symbol that is being approved" "description": "The token symbol that is being approved"
}, },
"approveTokenDescription": { "approveTokenDescription": {
@ -3473,9 +3473,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "Speed up this transaction" "message": "Speed up this transaction"
}, },
"spendLimitAmount": {
"message": "Spend limit amount"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "Spend limit insufficient" "message": "Spend limit insufficient"
}, },
@ -3492,6 +3489,9 @@
"spendLimitTooLarge": { "spendLimitTooLarge": {
"message": "Spend limit too large" "message": "Spend limit too large"
}, },
"spendingCap": {
"message": "Spending cap"
},
"spendingCapError": { "spendingCapError": {
"message": "Error: Enter numbers only" "message": "Error: Enter numbers only"
}, },

View File

@ -370,10 +370,6 @@
"approveButtonText": { "approveButtonText": {
"message": "Aprobar" "message": "Aprobar"
}, },
"approveSpendLimit": {
"message": "Aprobar límite de gastos de $1",
"description": "The token symbol that is being approved"
},
"approveTokenDescription": { "approveTokenDescription": {
"message": "Esto permite que un tercero acceda y transfiera los siguientes NFT sin previo aviso hasta que usted revoque su acceso." "message": "Esto permite que un tercero acceda y transfiera los siguientes NFT sin previo aviso hasta que usted revoque su acceso."
}, },
@ -3442,9 +3438,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "Acelerar esta transacción" "message": "Acelerar esta transacción"
}, },
"spendLimitAmount": {
"message": "Monto de límite de gastos"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "Límite de gastos insuficiente" "message": "Límite de gastos insuficiente"
}, },

View File

@ -226,10 +226,6 @@
"approveButtonText": { "approveButtonText": {
"message": "Aprobar" "message": "Aprobar"
}, },
"approveSpendLimit": {
"message": "Aprobar límite de gastos de $1",
"description": "The token symbol that is being approved"
},
"approved": { "approved": {
"message": "Aprobado" "message": "Aprobado"
}, },
@ -2360,9 +2356,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "Acelerar esta transacción" "message": "Acelerar esta transacción"
}, },
"spendLimitAmount": {
"message": "Monto de límite de gastos"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "Límite de gastos insuficiente" "message": "Límite de gastos insuficiente"
}, },

View File

@ -370,10 +370,6 @@
"approveButtonText": { "approveButtonText": {
"message": "Approuver" "message": "Approuver"
}, },
"approveSpendLimit": {
"message": "Approuver la limite de dépenses de $1",
"description": "The token symbol that is being approved"
},
"approveTokenDescription": { "approveTokenDescription": {
"message": "Tant que vous naurez pas révoqué cette autorisation, lautre partie pourra accéder à votre portefeuille et transférer sans préavis les NFT suivants." "message": "Tant que vous naurez pas révoqué cette autorisation, lautre partie pourra accéder à votre portefeuille et transférer sans préavis les NFT suivants."
}, },
@ -3442,9 +3438,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "Accélérez cette transaction" "message": "Accélérez cette transaction"
}, },
"spendLimitAmount": {
"message": "Montant limite de dépenses"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "Limite de dépenses insuffisante" "message": "Limite de dépenses insuffisante"
}, },

View File

@ -370,10 +370,6 @@
"approveButtonText": { "approveButtonText": {
"message": "अनुमोदित करें" "message": "अनुमोदित करें"
}, },
"approveSpendLimit": {
"message": "$1 खर्च सीमा अनुमोदित करें",
"description": "The token symbol that is being approved"
},
"approveTokenDescription": { "approveTokenDescription": {
"message": "यह किसी तीसरे पक्ष को बिना किसी नोटिस के निम्नलिखित NFTs को ऐक्सेस करने और स्थानांतरित करने की अनुमति देता है जब तक कि आप इसकी ऐक्सेस को रद्द नहीं कर देते।" "message": "यह किसी तीसरे पक्ष को बिना किसी नोटिस के निम्नलिखित NFTs को ऐक्सेस करने और स्थानांतरित करने की अनुमति देता है जब तक कि आप इसकी ऐक्सेस को रद्द नहीं कर देते।"
}, },
@ -3442,9 +3438,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "इस लेनदेन को गति दें" "message": "इस लेनदेन को गति दें"
}, },
"spendLimitAmount": {
"message": "खर्च सीमा राशि"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "खर्च सीमा अपर्याप्त है" "message": "खर्च सीमा अपर्याप्त है"
}, },

View File

@ -370,10 +370,6 @@
"approveButtonText": { "approveButtonText": {
"message": "Setujui" "message": "Setujui"
}, },
"approveSpendLimit": {
"message": "Setujui batas penggunaan $1",
"description": "The token symbol that is being approved"
},
"approveTokenDescription": { "approveTokenDescription": {
"message": "Hal ini memungkinkan pihak ketiga untuk mengakses dan mentransfer NFT berikut tanpa pemberitahuan lebih lanjut sampai Anda mencabut aksesnya." "message": "Hal ini memungkinkan pihak ketiga untuk mengakses dan mentransfer NFT berikut tanpa pemberitahuan lebih lanjut sampai Anda mencabut aksesnya."
}, },
@ -3442,9 +3438,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "Percepat transaksi ini" "message": "Percepat transaksi ini"
}, },
"spendLimitAmount": {
"message": "Jumlah batas penggunaan"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "Batas penggunaan tidak mencukupi" "message": "Batas penggunaan tidak mencukupi"
}, },

View File

@ -305,10 +305,6 @@
"approveButtonText": { "approveButtonText": {
"message": "Approva" "message": "Approva"
}, },
"approveSpendLimit": {
"message": "Approva limite di spesa per $1",
"description": "The token symbol that is being approved"
},
"approved": { "approved": {
"message": "Approvato" "message": "Approvato"
}, },
@ -1753,9 +1749,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "Accelera questa transazione" "message": "Accelera questa transazione"
}, },
"spendLimitAmount": {
"message": "Limite di spesa"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "Limite di spesa insufficiente" "message": "Limite di spesa insufficiente"
}, },

View File

@ -370,10 +370,6 @@
"approveButtonText": { "approveButtonText": {
"message": "承認" "message": "承認"
}, },
"approveSpendLimit": {
"message": "$1使用限度額の承認",
"description": "The token symbol that is being approved"
},
"approveTokenDescription": { "approveTokenDescription": {
"message": "これにより、アクセス許可を取り消すまで、第三者が今後通知なしに次の NFT にアクセスし、転送できるようになります。" "message": "これにより、アクセス許可を取り消すまで、第三者が今後通知なしに次の NFT にアクセスし、転送できるようになります。"
}, },
@ -3442,9 +3438,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "このトランザクションをスピードアップ" "message": "このトランザクションをスピードアップ"
}, },
"spendLimitAmount": {
"message": "使用限度額"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "使用限度額が十分ではありません" "message": "使用限度額が十分ではありません"
}, },

View File

@ -370,10 +370,6 @@
"approveButtonText": { "approveButtonText": {
"message": "승인" "message": "승인"
}, },
"approveSpendLimit": {
"message": "$1 지출 한도 승인",
"description": "The token symbol that is being approved"
},
"approveTokenDescription": { "approveTokenDescription": {
"message": "이렇게 하면 사용자가 액세스를 취소할 때까지 제삼자가 가 통지 없이 다음과 같은 NFT에 액세스하고 이를 전송할 수 있습니다." "message": "이렇게 하면 사용자가 액세스를 취소할 때까지 제삼자가 가 통지 없이 다음과 같은 NFT에 액세스하고 이를 전송할 수 있습니다."
}, },
@ -3442,9 +3438,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "이 거래 가속화" "message": "이 거래 가속화"
}, },
"spendLimitAmount": {
"message": "지출 한도 금액"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "지출 한도 부족" "message": "지출 한도 부족"
}, },

View File

@ -134,10 +134,6 @@
"approveButtonText": { "approveButtonText": {
"message": "Aprubahan" "message": "Aprubahan"
}, },
"approveSpendLimit": {
"message": "Aprubahan ang limitasyon sa paggastos na $1",
"description": "The token symbol that is being approved"
},
"approved": { "approved": {
"message": "Inaprubahan" "message": "Inaprubahan"
}, },
@ -1555,9 +1551,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "Pabilisin ang transaksyong ito" "message": "Pabilisin ang transaksyong ito"
}, },
"spendLimitAmount": {
"message": "Halaga ng limitasyon sa paggastos"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "Hindi sapat ang limitasyon sa paggastos" "message": "Hindi sapat ang limitasyon sa paggastos"
}, },

View File

@ -370,10 +370,6 @@
"approveButtonText": { "approveButtonText": {
"message": "Aprovar" "message": "Aprovar"
}, },
"approveSpendLimit": {
"message": "Aprovar limite de gastos de $1",
"description": "The token symbol that is being approved"
},
"approveTokenDescription": { "approveTokenDescription": {
"message": "Isso permite que terceiros acessem e transfiram os seguintes NFTs sem aviso prévio até que você revogue o acesso." "message": "Isso permite que terceiros acessem e transfiram os seguintes NFTs sem aviso prévio até que você revogue o acesso."
}, },
@ -3442,9 +3438,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "Acelerar essa transação" "message": "Acelerar essa transação"
}, },
"spendLimitAmount": {
"message": "Valor do limite de gastos"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "Limite de gastos insuficiente" "message": "Limite de gastos insuficiente"
}, },

View File

@ -226,10 +226,6 @@
"approveButtonText": { "approveButtonText": {
"message": "Aprovar" "message": "Aprovar"
}, },
"approveSpendLimit": {
"message": "Aprovar limite de gastos de $1",
"description": "The token symbol that is being approved"
},
"approved": { "approved": {
"message": "Aprovado" "message": "Aprovado"
}, },
@ -2360,9 +2356,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "Acelerar essa transação" "message": "Acelerar essa transação"
}, },
"spendLimitAmount": {
"message": "Valor do limite de gastos"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "Limite de gastos insuficiente" "message": "Limite de gastos insuficiente"
}, },

View File

@ -370,10 +370,6 @@
"approveButtonText": { "approveButtonText": {
"message": "Одобрить" "message": "Одобрить"
}, },
"approveSpendLimit": {
"message": "Одобрить предел расходов $1",
"description": "The token symbol that is being approved"
},
"approveTokenDescription": { "approveTokenDescription": {
"message": "Это позволяет третьей стороне получать доступ и передавать следующие NFT без дополнительного уведомления, пока вы не отзовете ее доступ." "message": "Это позволяет третьей стороне получать доступ и передавать следующие NFT без дополнительного уведомления, пока вы не отзовете ее доступ."
}, },
@ -3442,9 +3438,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "Ускорить эту транзакцию" "message": "Ускорить эту транзакцию"
}, },
"spendLimitAmount": {
"message": "Сумма лимита расходов"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "Недостаточный лимит расходов" "message": "Недостаточный лимит расходов"
}, },

View File

@ -370,10 +370,6 @@
"approveButtonText": { "approveButtonText": {
"message": "Aprubahan" "message": "Aprubahan"
}, },
"approveSpendLimit": {
"message": "Aprubahan ang limitasyon sa paggastos na $1",
"description": "The token symbol that is being approved"
},
"approveTokenDescription": { "approveTokenDescription": {
"message": "Nagbibigay-daan ito sa third party na i-access at ilipat ang mga sumusunod na NFT nang walang karagdagang abiso hanggang sa bawiin mo ang pag-access nito." "message": "Nagbibigay-daan ito sa third party na i-access at ilipat ang mga sumusunod na NFT nang walang karagdagang abiso hanggang sa bawiin mo ang pag-access nito."
}, },
@ -3442,9 +3438,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "Pabilisin ang transaksyong ito" "message": "Pabilisin ang transaksyong ito"
}, },
"spendLimitAmount": {
"message": "Halaga ng limitasyon sa paggastos"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "Hindi sapat ang limitasyon sa paggastos" "message": "Hindi sapat ang limitasyon sa paggastos"
}, },

View File

@ -370,10 +370,6 @@
"approveButtonText": { "approveButtonText": {
"message": "Onayla" "message": "Onayla"
}, },
"approveSpendLimit": {
"message": "$1 harcama limitini onayla",
"description": "The token symbol that is being approved"
},
"approveTokenDescription": { "approveTokenDescription": {
"message": "Üçüncü bir tarafın, siz bu erişimi iptal edene kadar başka bildirim yapılmaksızın aşağıdaki NFT'lere erişim sağlamasına ve onları transfer edebilmesine izin verir." "message": "Üçüncü bir tarafın, siz bu erişimi iptal edene kadar başka bildirim yapılmaksızın aşağıdaki NFT'lere erişim sağlamasına ve onları transfer edebilmesine izin verir."
}, },
@ -3442,9 +3438,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "Bu işlemi hızlandır" "message": "Bu işlemi hızlandır"
}, },
"spendLimitAmount": {
"message": "Harcama limiti tutarı"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "Harcama limiti yetersiz" "message": "Harcama limiti yetersiz"
}, },

View File

@ -370,10 +370,6 @@
"approveButtonText": { "approveButtonText": {
"message": "Phê duyệt" "message": "Phê duyệt"
}, },
"approveSpendLimit": {
"message": "Phê duyệt giới hạn chi tiêu $1",
"description": "The token symbol that is being approved"
},
"approveTokenDescription": { "approveTokenDescription": {
"message": "Điều này cho phép bên thứ ba được quyền truy cập và chuyển các NFT sau đây mà không cần thông báo thêm cho đến khi bạn thu hồi quyền truy cập của họ." "message": "Điều này cho phép bên thứ ba được quyền truy cập và chuyển các NFT sau đây mà không cần thông báo thêm cho đến khi bạn thu hồi quyền truy cập của họ."
}, },
@ -3442,9 +3438,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "Tăng tốc giao dịch này" "message": "Tăng tốc giao dịch này"
}, },
"spendLimitAmount": {
"message": "Khoản tiền giới hạn chi tiêu"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "Giới hạn chi tiêu không đủ" "message": "Giới hạn chi tiêu không đủ"
}, },

View File

@ -370,10 +370,6 @@
"approveButtonText": { "approveButtonText": {
"message": "批准" "message": "批准"
}, },
"approveSpendLimit": {
"message": "批准 $1 消费限额",
"description": "The token symbol that is being approved"
},
"approveTokenDescription": { "approveTokenDescription": {
"message": "这允许第三方访问和转移以下 NFT而无需另行通知直到您撤销其访问权限。" "message": "这允许第三方访问和转移以下 NFT而无需另行通知直到您撤销其访问权限。"
}, },
@ -3442,9 +3438,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "加速该交易" "message": "加速该交易"
}, },
"spendLimitAmount": {
"message": "消费限额"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "消费限额不足" "message": "消费限额不足"
}, },

View File

@ -133,10 +133,6 @@
"approveButtonText": { "approveButtonText": {
"message": "批准" "message": "批准"
}, },
"approveSpendLimit": {
"message": "批准 $1 花費限額",
"description": "The token symbol that is being approved"
},
"approved": { "approved": {
"message": "已許可" "message": "已許可"
}, },
@ -1462,9 +1458,6 @@
"speedUpTransaction": { "speedUpTransaction": {
"message": "加速這筆交易" "message": "加速這筆交易"
}, },
"spendLimitAmount": {
"message": "花費額度上限"
},
"spendLimitInsufficient": { "spendLimitInsufficient": {
"message": "花費額度上限不足" "message": "花費額度上限不足"
}, },

View File

@ -131,7 +131,7 @@ describe('Collectibles', function () {
// Verify transaction // Verify transaction
const completedTx = await driver.findElement('.list-item__title'); const completedTx = await driver.findElement('.list-item__title');
const completedTxText = await completedTx.getText(); const completedTxText = await completedTx.getText();
assert.equal(completedTxText, 'Approve Token spend limit'); assert.equal(completedTxText, 'Approve token spending cap');
}, },
); );
}); });

View File

@ -196,11 +196,11 @@ describe('Create token, approve token and approve token without gas', function (
const approveTokenTask = await driver.waitForSelector({ const approveTokenTask = await driver.waitForSelector({
// Selects only the very first transaction list item immediately following the 'Pending' header // Selects only the very first transaction list item immediately following the 'Pending' header
css: '.transaction-list__completed-transactions .transaction-list-item:first-child .list-item__heading', css: '.transaction-list__completed-transactions .transaction-list-item:first-child .list-item__heading',
text: 'Approve Token spend limit', text: 'Approve token spending cap',
}); });
assert.equal( assert.equal(
await approveTokenTask.getText(), await approveTokenTask.getText(),
'Approve Token spend limit', 'Approve token spending cap',
); );
}, },
); );
@ -339,11 +339,11 @@ describe('Create token, approve token and approve token without gas', function (
const approveTokenTask = await driver.waitForSelector({ const approveTokenTask = await driver.waitForSelector({
// Select only the heading of the first entry in the transaction list. // Select only the heading of the first entry in the transaction list.
css: '.transaction-list__completed-transactions .transaction-list-item:first-child .list-item__heading', css: '.transaction-list__completed-transactions .transaction-list-item:first-child .list-item__heading',
text: 'Approve Token spend limit', text: 'Approve token spending cap',
}); });
assert.equal( assert.equal(
await approveTokenTask.getText(), await approveTokenTask.getText(),
'Approve Token spend limit', 'Approve token spending cap',
); );
}, },
); );
@ -426,11 +426,11 @@ describe('Create token, approve token and approve token without gas', function (
const approveTokenTask = await driver.waitForSelector({ const approveTokenTask = await driver.waitForSelector({
// Select only the heading of the first entry in the transaction list. // Select only the heading of the first entry in the transaction list.
css: '.transaction-list__completed-transactions .transaction-list-item:first-child .list-item__heading', css: '.transaction-list__completed-transactions .transaction-list-item:first-child .list-item__heading',
text: 'Approve Token spend limit', text: 'Approve token spending cap',
}); });
assert.equal( assert.equal(
await approveTokenTask.getText(), await approveTokenTask.getText(),
'Approve Token spend limit', 'Approve token spending cap',
); );
}, },
); );
@ -490,11 +490,11 @@ describe('Create token, approve token and approve token without gas', function (
// check transaction in Activity tab // check transaction in Activity tab
const approveTokenTask = await driver.waitForSelector({ const approveTokenTask = await driver.waitForSelector({
css: '.transaction-list__completed-transactions .transaction-list-item:first-child .list-item__heading', css: '.transaction-list__completed-transactions .transaction-list-item:first-child .list-item__heading',
text: 'Approve Token spend limit', text: 'Approve token spending cap',
}); });
assert.equal( assert.equal(
await approveTokenTask.getText(), await approveTokenTask.getText(),
'Approve Token spend limit', 'Approve token spending cap',
); );
}, },
); );

View File

@ -74,7 +74,7 @@ export default class TransactionBreakdown extends PureComponent {
)} )}
</TransactionBreakdownRow> </TransactionBreakdownRow>
<TransactionBreakdownRow <TransactionBreakdownRow
title={isTokenApprove ? t('spendLimitAmount') : t('amount')} title={isTokenApprove ? t('spendingCap') : t('amount')}
> >
<span className="transaction-breakdown__value transaction-breakdown__value--amount"> <span className="transaction-breakdown__value transaction-breakdown__value--amount">
{primaryCurrency} {primaryCurrency}

View File

@ -222,7 +222,9 @@ export function useTransactionDisplayData(transactionGroup) {
} else if (type === TransactionType.tokenMethodApprove) { } else if (type === TransactionType.tokenMethodApprove) {
category = TransactionGroupCategory.approval; category = TransactionGroupCategory.approval;
prefix = ''; prefix = '';
title = t('approveSpendLimit', [token?.symbol || t('token')]); title = t('approveSpendingCap', [
token?.symbol || t('token').toLowerCase(),
]);
subtitle = origin; subtitle = origin;
subtitleContainsOrigin = true; subtitleContainsOrigin = true;
} else if (type === TransactionType.tokenMethodSetApprovalForAll) { } else if (type === TransactionType.tokenMethodSetApprovalForAll) {