Skip to content

Commit ef915e4

Browse files
authored
chore: Update text for Rewards user flows (#22881)
Change tracked to enrolled and related strings <!-- 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** Changing Rewards strings to better terminology "enrolled" / "not enrolled" ## **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: null ## **Related issues** Fixes: n/a ## **Manual testing steps** ```gherkin Feature: my feature name Scenario: user [verb for user action] Given [describe expected initial app state] When user [verb for user action] Then [describe expected outcome] ``` ## **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 - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] 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] > Updates Rewards i18n strings in `locales/languages/en.json` to replace “opt-in/tracked” with “enrolled” and adjusts related labels/descriptions and error text. > > - **Rewards i18n (`locales/languages/en.json`)**: > - Terminology: replace “opt-in/opted in/tracked” with “enroll/enrolled”. > - `onboarding.not_supported_account_type_description`: “opted into” → “enrolled in”. > - `onboarding.geo_check_fail_description`: “country allows opting into” → “region allows enrolling into”. > - `settings.*`: maintain “opted in” counts but update related copy; error `link_account_failed_error`: “link” → “add”. > - `link_account_group.tracked/untracked/unsupported/tracked_count`: “Tracked/Untracked/Unsupported” → “Enrolled/Not enrolled/Not supported”; count string updated to “enrolled”. > - Misc: `link_account_failed_error` under settings changed to “Failed to add account.” > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit d194816. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 9f9609f commit ef915e4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

locales/languages/en.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6643,13 +6643,13 @@
66436643
"not_supported_hardware_account_title": "Account not supported",
66446644
"not_supported_hardware_account_description": "Hardware wallet accounts are not eligible to receive rewards yet. Please switch to a different account to proceed.",
66456645
"not_supported_account_type_title": "Account type not supported",
6646-
"not_supported_account_type_description": "Currently only internal Ethereum and Solana accounts can be opted into the Rewards program. Please switch to a different account to proceed.",
6646+
"not_supported_account_type_description": "Currently only internal Ethereum and Solana accounts can be enrolled in the Rewards program. Please switch to a different account to proceed.",
66476647
"not_supported_confirm_go_back": "Go back",
66486648
"not_supported_confirm_retry": "Retry",
66496649
"auth_fail_title": "Authentication Failed",
66506650
"auth_fail_description": "Unable to authenticate with the rewards program. Please check your connection and try again.",
66516651
"geo_check_fail_title": "Cannot determine opt-in eligibility",
6652-
"geo_check_fail_description": "We cannot determine if your country allows opting into the rewards program. Please check your connection and try again.",
6652+
"geo_check_fail_description": "We cannot determine if your region allows enrolling into the rewards program. Please check your connection and try again.",
66536653
"gtm_title": "Rewards are here",
66546654
"gtm_description": "Earn points for your activity. \nAdvance through levels to unlock rewards.",
66556655
"gtm_confirm": "Get started",
@@ -6696,7 +6696,7 @@
66966696
"link_account_success_title": "{{accountName}} successfully added",
66976697
"link_account_error_title": "Failed to add account",
66986698
"link_account_button": "Add",
6699-
"link_account_failed_error": "Failed to link account",
6699+
"link_account_failed_error": "Failed to add account",
67006700
"link_account_unknown_error": "Unknown error occurred"
67016701
},
67026702
"optout": {
@@ -6819,10 +6819,10 @@
68196819
},
68206820
"link_account_group": {
68216821
"link_account": "Add account",
6822-
"tracked": "Tracked",
6823-
"untracked": "Untracked",
6824-
"unsupported": "Unsupported",
6825-
"tracked_count": "{{optedIn}}/{{total}} tracked",
6822+
"tracked": "Enrolled",
6823+
"untracked": "Not enrolled",
6824+
"unsupported": "Not supported",
6825+
"tracked_count": "{{optedIn}}/{{total}} enrolled",
68266826
"link_account_success": "{{accountName}} added successfully",
68276827
"link_account_error": "Failed to add one or more addresses for {{accountName}}",
68286828
"link_account_address_error": "Failed to add {{address}}"

0 commit comments

Comments
 (0)