Commit 54365c8
authored
feat: MUSD-352 replace boost with bonus globally for conversion flows (#26453)
<!--
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**
This PR updates copy for the mUSD conversion flow. All occurrences of
`"boost"` have been replaced with `"bonus"`.
<!--
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?
-->
## **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 conversion flow copy to replace boost with
bonus
## **Related issues**
Fixes: [MUSD-352: Replace "Boost" with "Bonus"
Globally](https://consensyssoftware.atlassian.net/browse/MUSD-352)
## **Manual testing steps**
```gherkin
Feature: mUSD conversion bonus terminology
Scenario: user sees mUSD conversion incentive wording
Given user is viewing mUSD conversion entry points in the Earn flow
When user views the conversion CTA and quick convert balance card
Then the incentive is labeled as a "bonus" (not "boost")
```
## **Screenshots/Recordings**
<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->
### **Before**
<!-- [screenshots/recordings] -->
### **After**
<!-- [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**
> Low risk copy-only change, but it renames i18n keys; any missed
references would surface as missing localized strings at runtime.
>
> **Overview**
> Replaces **“boost”** wording with **“bonus”** across the mUSD
conversion entry points (asset overview CTA and quick convert balance
card), including MetaMetrics `cta_text` generation.
>
> Renames the associated localization keys (e.g.,
`boost_title/description`, `percentage_boost` →
`bonus_title/description`, `percentage_bonus`) across supported
languages and updates affected unit/view tests accordingly.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
ff9faa7. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent a6f7d4f commit 54365c8
File tree
20 files changed
+42
-43
lines changed- app/components/UI/Earn
- Views/MusdQuickConvertView/components/MusdBalanceCard
- components/Musd/MusdConversionAssetOverviewCta
- locales/languages
20 files changed
+42
-43
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
| 438 | + | |
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | | - | |
| 487 | + | |
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
| |||
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
537 | | - | |
| 537 | + | |
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
| 477 | + | |
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| |||
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
510 | | - | |
| 510 | + | |
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5931 | 5931 | | |
5932 | 5932 | | |
5933 | 5933 | | |
5934 | | - | |
5935 | | - | |
| 5934 | + | |
| 5935 | + | |
5936 | 5936 | | |
5937 | 5937 | | |
5938 | 5938 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5931 | 5931 | | |
5932 | 5932 | | |
5933 | 5933 | | |
5934 | | - | |
5935 | | - | |
| 5934 | + | |
| 5935 | + | |
5936 | 5936 | | |
5937 | 5937 | | |
5938 | 5938 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6006 | 6006 | | |
6007 | 6007 | | |
6008 | 6008 | | |
6009 | | - | |
6010 | 6009 | | |
6011 | 6010 | | |
6012 | 6011 | | |
| |||
6036 | 6035 | | |
6037 | 6036 | | |
6038 | 6037 | | |
6039 | | - | |
6040 | | - | |
| 6038 | + | |
| 6039 | + | |
6041 | 6040 | | |
6042 | 6041 | | |
6043 | 6042 | | |
| |||
6053 | 6052 | | |
6054 | 6053 | | |
6055 | 6054 | | |
6056 | | - | |
| 6055 | + | |
6057 | 6056 | | |
6058 | 6057 | | |
6059 | 6058 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5931 | 5931 | | |
5932 | 5932 | | |
5933 | 5933 | | |
5934 | | - | |
5935 | | - | |
| 5934 | + | |
| 5935 | + | |
5936 | 5936 | | |
5937 | 5937 | | |
5938 | 5938 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5931 | 5931 | | |
5932 | 5932 | | |
5933 | 5933 | | |
5934 | | - | |
5935 | | - | |
| 5934 | + | |
| 5935 | + | |
5936 | 5936 | | |
5937 | 5937 | | |
5938 | 5938 | | |
| |||
0 commit comments