Skip to content

Commit eb49d41

Browse files
authored
chore: update gas fees sponsored tooltip message (MetaMask#24321)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> Enhances the gas fee sponsorship user experience by updating the tooltip message of "network fee" when the transaction is gas fees sponsored. ### Problem The tooltip message of "network fee" when the transaction is gas fees sponsored is not enough explicit for send transactions. ### Solution Implement a workaround that updates the tooltip message for gas fees sponsored. ## **Changelog** CHANGELOG entry: fixed gas fees sponsored tooltip message ## **Related issues** Fixes: null ## **Manual testing steps** 1. Go to the send page. 2. Send token to an address on a chain eligible of gas fees sponsored. 3. The "network fee" tooltip message should be explicit. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> <img width="400" height="596" alt="ext send msg" src="https://github.com/user-attachments/assets/cac1c17d-0453-46b2-8106-89884fe1e15a" /> ## **Pre-merge author checklist** - [X] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [X] I've completed the PR template to the best of my ability - [X] I’ve included tests if applicable - [X] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [X] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [X] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [X] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Refines tooltip copy for sponsored network fees to be transaction-agnostic. > > - Updates `network_fee_info_content_sponsored` in multiple locale JSONs to use "transact" instead of "swap" for clarity across send and other flows > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 7db6f5b. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 9e3cb84 commit eb49d41

15 files changed

Lines changed: 15 additions & 15 deletions

File tree

locales/languages/de.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6169,7 +6169,7 @@
61696169
"quote_info_title": "Rate",
61706170
"network_fee_info_title": "Netzwerkgebühr",
61716171
"network_fee_info_content": "Die Netzwerkgebühren richten sich nach der Netzwerkauslastung und der Komplexität Ihrer Transaktion.",
6172-
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can swap without {{nativeToken}} in your account.",
6172+
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can transact without {{nativeToken}} in your account.",
61736173
"points": "Geschätzte Punkte",
61746174
"points_tooltip": "Punkte",
61756175
"points_tooltip_content_1": "Durch Punkte erhalten Sie MetaMask-Belohnungen für die Durchführung von Transaktionen, z. B. beim Swap, Bridge oder Handeln von Perps.",

locales/languages/el.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6169,7 +6169,7 @@
61696169
"quote_info_title": "Χρέωση",
61706170
"network_fee_info_title": "Τέλη δικτύου",
61716171
"network_fee_info_content": "Τα τέλη δικτύου εξαρτώνται από το φόρτο του δικτύου και από το πόσο περίπλοκη είναι η συναλλαγή σας.",
6172-
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can swap without {{nativeToken}} in your account.",
6172+
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can transact without {{nativeToken}} in your account.",
61736173
"points": "Εκτ. πόντοι",
61746174
"points_tooltip": "Πόντοι",
61756175
"points_tooltip_content_1": "Οι πόντοι είναι ο τρόπος με τον οποίο κερδίζετε ανταμοιβές στο MetaMask Rewards, ολοκληρώνοντας συναλλαγές όπως ανταλλαγές, μεταφορές ή συμβόλαια αορίστου διάρκειας (perps).",

locales/languages/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6169,7 +6169,7 @@
61696169
"quote_info_title": "Rate",
61706170
"network_fee_info_title": "Network fee",
61716171
"network_fee_info_content": "Network fees depend on how busy the network is and how complex your transaction is.",
6172-
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can swap without {{nativeToken}} in your account.",
6172+
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can transact without {{nativeToken}} in your account.",
61736173
"points": "Est. points",
61746174
"points_tooltip": "Points",
61756175
"points_tooltip_content_1": "Points are how you earn MetaMask Rewards for completing transactions, like when you swap, bridge, or trade perps.",

locales/languages/es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6169,7 +6169,7 @@
61696169
"quote_info_title": "Tasa",
61706170
"network_fee_info_title": "Tarifa de red",
61716171
"network_fee_info_content": "Las tarifas de red dependen de qué tan ocupada esté la red y de qué tan compleja sea tu transacción.",
6172-
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can swap without {{nativeToken}} in your account.",
6172+
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can transact without {{nativeToken}} in your account.",
61736173
"points": "Puntos estimados",
61746174
"points_tooltip": "Puntos",
61756175
"points_tooltip_content_1": "Los puntos son la forma de ganar recompensas de MetaMask por completar transacciones, como cuando canjeas, puenteas u operas con contratos perpetuos.",

locales/languages/fr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6169,7 +6169,7 @@
61696169
"quote_info_title": "Taux",
61706170
"network_fee_info_title": "Frais de réseau",
61716171
"network_fee_info_content": "Les frais de réseau dépendent du trafic sur le réseau et de la complexité de votre transaction.",
6172-
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can swap without {{nativeToken}} in your account.",
6172+
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can transact without {{nativeToken}} in your account.",
61736173
"points": "Points estimés",
61746174
"points_tooltip": "Points",
61756175
"points_tooltip_content_1": "Les points vous permettent de gagner des récompenses MetaMask lorsque vous effectuez des transactions, par exemple lorsque vous échangez, transférez ou tradez des contrats à terme.",

locales/languages/hi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6169,7 +6169,7 @@
61696169
"quote_info_title": "रेट",
61706170
"network_fee_info_title": "नेटवर्क फीस",
61716171
"network_fee_info_content": "नेटवर्क फीस इस बात पर निर्भर करते हैं कि नेटवर्क कितना व्यस्त है और आपका ट्रांसेक्शन कितना जटिल है।",
6172-
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can swap without {{nativeToken}} in your account.",
6172+
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can transact without {{nativeToken}} in your account.",
61736173
"points": "अनुमानित पॉइंट्स",
61746174
"points_tooltip": "पॉइंट्स",
61756175
"points_tooltip_content_1": "पॉइंट्स वह हैं जिनसे आप ट्रांसेक्शन पूरा करने पर MetaMask रिवार्ड्स कमाते हैं, जैसे जब आप स्वैप, ब्रिज या पर्प्स ट्रेड करते हैं।",

locales/languages/id.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6169,7 +6169,7 @@
61696169
"quote_info_title": "Tingkat",
61706170
"network_fee_info_title": "Biaya jaringan",
61716171
"network_fee_info_content": "Biaya jaringan bergantung pada seberapa sibuk jaringan dan seberapa rumit transaksi Anda.",
6172-
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can swap without {{nativeToken}} in your account.",
6172+
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can transact without {{nativeToken}} in your account.",
61736173
"points": "Estimasi poin",
61746174
"points_tooltip": "Poin",
61756175
"points_tooltip_content_1": "Poin merupakan cara Anda memperoleh MetaMask Rewards untuk menyelesaikan transaksi, seperti saat Anda menukar, menggunakan bridge, atau memperdagangkan perp.",

locales/languages/ja.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6169,7 +6169,7 @@
61696169
"quote_info_title": "レート",
61706170
"network_fee_info_title": "ネットワーク手数料",
61716171
"network_fee_info_content": "ネットワーク手数料は、ネットワークの混雑状況とトランザクションの複雑さによって異なります。",
6172-
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can swap without {{nativeToken}} in your account.",
6172+
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can transact without {{nativeToken}} in your account.",
61736173
"points": "推定ポイント数",
61746174
"points_tooltip": "ポイント",
61756175
"points_tooltip_content_1": "ポイントは、スワップ、ブリッジ、パーペチュアル取引など、トランザクションを完了したことによるMetaMaskリワードの獲得状況を示します。",

locales/languages/ko.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6169,7 +6169,7 @@
61696169
"quote_info_title": "비율",
61706170
"network_fee_info_title": "네트워크 수수료",
61716171
"network_fee_info_content": "네트워크 수수료는 네트워크의 혼잡도와 트랜잭션의 복잡성에 따라 달라집니다.",
6172-
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can swap without {{nativeToken}} in your account.",
6172+
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can transact without {{nativeToken}} in your account.",
61736173
"points": "예상 포인트",
61746174
"points_tooltip": "포인트",
61756175
"points_tooltip_content_1": "포인트는 스왑, 브릿지, 무기한 선물 거래 등의 트랜잭션을 완료할 때마다 적립되며, 이를 통해 MetaMask 보상을 획득할 수 있습니다.",

locales/languages/pt.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6169,7 +6169,7 @@
61696169
"quote_info_title": "Avaliar",
61706170
"network_fee_info_title": "Taxa de rede",
61716171
"network_fee_info_content": "As taxas de rede dependem do nível de atividade da rede e da complexidade da sua transação.",
6172-
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can swap without {{nativeToken}} in your account.",
6172+
"network_fee_info_content_sponsored": "This network fee is paid by MetaMask, so you can transact without {{nativeToken}} in your account.",
61736173
"points": "Est. de pontos",
61746174
"points_tooltip": "Pontos",
61756175
"points_tooltip_content_1": "Os pontos são a forma de você ganhar MetaMask Rewards ao concluir transações, como quando você faz trocas, pontes ou negocia perps.",

0 commit comments

Comments
 (0)