Skip to content

Commit 68a3041

Browse files
authored
fix(confirmations): update bonus payout subtitle (MetaMask#26019)
<!-- 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** Updates the claim bonus subtitle copy to be more concise and natural-sounding. **Before:** "Bonus payout will be on {{networkName}} Network." **After:** "Bonus will be paid out on {{networkName}}." ## **Changelog** <!-- If this PR is not End-User-Facing and should not show up in the CHANGELOG, you can choose to either: 1. Write `CHANGELOG entry: null` 2. Label with `no-changelog` If this PR is End-User-Facing, please write a short User-Facing description in the past tense like: `CHANGELOG entry: Added a new tab for users to see their NFTs` `CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker` (This helps the Release Engineer do their job more quickly and accurately) --> CHANGELOG entry: Updated mUSD claim bonus subtitle copy ## **Related issues** Fixes: https://consensyssoftware.atlassian.net/browse/MUSD-312 ## **Manual testing steps** ```gherkin Feature: mUSD Claim Bonus Subtitle Scenario: user views claim bonus confirmation screen Given user has mUSD tokens with claimable yield rewards And user is on the mUSD token details screen When user taps the "Claim" button to claim bonus Then the confirmation screen displays "Claim bonus" as the title And the subtitle shows "Bonus will be paid out on Linea." ``` ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <img width="388" height="565" alt="Screenshot 2026-02-12 at 16 55 22" src="https://github.com/user-attachments/assets/d4508e6d-7114-4859-a3e0-3d369fe9a8ef" /> <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile Coding Standards](https://github.com/MetaMask/metamask-mobile/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-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] 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] > **Low Risk** > String-only localization copy change plus a matching test update; no logic, security, or data-handling behavior is modified. > > **Overview** > Updates the `mUSD` claim bonus confirmation subtitle to a shorter, more natural sentence by changing `earn.claim_bonus_subtitle` from “Bonus payout will be on {{networkName}} Network.” to “Bonus will be paid out on {{networkName}}.” > > Adjusts the `Title` component test to assert the new subtitle text for the Linea Mainnet case. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 428bdaf. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 0ee626e commit 68a3041

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

app/components/Views/confirmations/components/title/title.test.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,7 @@ describe('Confirm Title', () => {
320320
state: musdClaimState,
321321
});
322322
expect(getByText('Claim bonus')).toBeTruthy();
323-
expect(
324-
getByText('Bonus payout will be on Linea Mainnet Network.'),
325-
).toBeTruthy();
323+
expect(getByText('Bonus will be paid out on Linea Mainnet.')).toBeTruthy();
326324
});
327325

328326
it.each([TransactionType.lendingDeposit, TransactionType.lendingWithdraw])(

locales/languages/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5796,7 +5796,7 @@
57965796
"earn_a_percentage_bonus": "Earn a {{percentage}}% bonus",
57975797
"claimable_bonus": "Claimable bonus",
57985798
"claim_bonus": "Claim bonus",
5799-
"claim_bonus_subtitle": "Bonus payout will be on {{networkName}} Network.",
5799+
"claim_bonus_subtitle": "Bonus will be paid out on {{networkName}}.",
58005800
"empty_state_cta": {
58015801
"heading": "Lend {{tokenSymbol}} and earn",
58025802
"body": "Lend your {{tokenSymbol}} with {{protocol}} and earn",

0 commit comments

Comments
 (0)