Commit 0ae171a
authored
fix: sentence case violations 6001-7000 of locales file (MetaMask#24056)
## **Description**
This PR fixes sentence case violations in lines 6001-7000 of the
`locales/languages/en.json` file as part of ongoing content papercut
improvements. The changes convert Title Case strings to sentence case
following standard capitalization conventions.
**What is the reason for the change?**
Content consistency and adherence to proper sentence case formatting
across the app.
**What is the improvement/solution?**
Updated ~31 locale keys from Title Case to sentence case, and updated
all affected test files to match the new casing.
## **Changelog**
CHANGELOG entry: Fixed sentence case violations in English locale
strings lines 6001-7000
## **Related issues**
Fixes: Part of content papercut improvements batch 7
Follows: MetaMask#23499 (lines 1-1000), MetaMask#23516 (lines 1001-2000), MetaMask#23957 (lines
2001-3000), MetaMask#23994 (lines 3001-4000), MetaMask#23996 (lines 4001-5000), MetaMask#24049
(lines 5001-6000)
Related: MetaMask#23272 (original comprehensive PR)
## **Manual testing steps**
```gherkin
Feature: Locale string display
Scenario: user views UI elements with updated locale strings
Given the app is running with the updated locale file
When user views QR code options
Then "Text" and "QR code" should display in sentence case
When user views gas fee warnings
Then "Max priority fee" and "Max fee" should display in sentence case
When user views confirm screens
Then "Get signature" should display in sentence case
And "Standard account" should display in sentence case
When user views bridge transaction details
Then "Estimated time", "Quote details", "Network fee" should display in sentence case
And "Price impact", "Minimum received" should display in sentence case
And "View on block explorer", "Transaction details" should display in sentence case
When user views wallet recovery
Then "Wallet recovery", "Log in with social accounts", "Set up" should display in sentence case
When user views multichain account screens
Then "Account details", "Account name", "Account address" should display in sentence case
And "Wallet name", "Reveal recovery phrase" should display in sentence case
And "Edit account name", "Remove account", "Share address" should display in sentence case
When user views Card screens
Then "Enable card", "Enable assets" should display in sentence case
And "Verification not approved", "Verification required" should display in sentence case
When user views Rewards screens
Then "Unknown error", "Season summary coming soon", "Rewards settings" should display in sentence case
```
## **Screenshots/Recordings**
N/A - This is a content-only change with no visual differences beyond
text casing
## **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)).
## **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.
---
## **Technical Details**
### Changes Made:
- **Locale file**: Updated ~31 keys in `locales/languages/en.json`
(lines 6001-7000)
- **Test files**: Updated 12 test files to match new casing
- **Snapshots**: Regenerated 1 snapshot file to match new casing
### Affected Areas:
- QR code display options (Text, QR code)
- Gas fee validation messages (Max priority fee, Max fee)
- Confirm/Signature flows (Get signature, Standard account)
- Bridge transaction details (Estimated time, Quote details, Network
fee, Price impact, etc.)
- View on block explorer links
- Wallet recovery and setup flows
- Multichain account management (Account details, names, addresses,
removal, sharing)
- Card verification statuses and enablement
- Rewards authentication and settings
### Validation:
- All affected unit tests pass
- No old Title Case strings remain in updated snapshot files
- Changes are purely cosmetic (text casing only)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Converts various Title Case strings to sentence case in
`locales/languages/en.json` and updates affected tests/snapshots to
match.
>
> - **Localization**:
> - Convert multiple strings to sentence case in
`locales/languages/en.json` (e.g., `Share address`, `Account details`,
`Verification not approved`, `View on block explorer`, `Network fee`,
`Price impact`, `Estimated time`, etc.).
> - **Tests/Snapshots**:
> - Update assertions and snapshot text to match new casing across:
> - `app/components/Nav/App/App.test.tsx` (`Share address`)
> - Bridge: `BlockExplorersModal.test.tsx`,
`QuoteDetailsCard.test.tsx.snap` (tooltips/text)
> - Card: `CardHome.test.tsx` (KYC titles/messages)
> - Navbar: `index.test.jsx` (titles like `Account details`)
> - Confirmations: footer/info/switch-account-type rows and modal tests
(`Get signature`, `Standard account`)
> - Rewards: `RewardsNavigator.test.tsx` (`Authentication failed`)
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
a10cb71. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent a84b764 commit 0ae171a
13 files changed
Lines changed: 57 additions & 57 deletions
File tree
- app/components
- UI
- Bridge/components
- QuoteDetailsCard/__snapshots__
- TransactionDetails
- Card/Views/CardHome
- Rewards
- Views/confirmations
- components
- info-root
- info/switch-account-type
- modals/switch-account-type-modal/account-network-row
- rows/switch-account-type-info-row
- context/qr-hardware-context
- locales/languages
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
835 | 835 | | |
836 | 836 | | |
837 | 837 | | |
838 | | - | |
| 838 | + | |
839 | 839 | | |
840 | 840 | | |
841 | 841 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
576 | | - | |
| 576 | + | |
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
| |||
870 | 870 | | |
871 | 871 | | |
872 | 872 | | |
873 | | - | |
| 873 | + | |
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | | - | |
| 395 | + | |
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
| 400 | + | |
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
| 404 | + | |
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
| |||
2981 | 2981 | | |
2982 | 2982 | | |
2983 | 2983 | | |
2984 | | - | |
| 2984 | + | |
2985 | 2985 | | |
2986 | 2986 | | |
2987 | 2987 | | |
| |||
3002 | 3002 | | |
3003 | 3003 | | |
3004 | 3004 | | |
3005 | | - | |
| 3005 | + | |
3006 | 3006 | | |
3007 | 3007 | | |
3008 | 3008 | | |
| |||
3111 | 3111 | | |
3112 | 3112 | | |
3113 | 3113 | | |
3114 | | - | |
| 3114 | + | |
3115 | 3115 | | |
3116 | 3116 | | |
3117 | 3117 | | |
| |||
3133 | 3133 | | |
3134 | 3134 | | |
3135 | 3135 | | |
3136 | | - | |
| 3136 | + | |
3137 | 3137 | | |
3138 | 3138 | | |
3139 | 3139 | | |
| |||
3155 | 3155 | | |
3156 | 3156 | | |
3157 | 3157 | | |
3158 | | - | |
| 3158 | + | |
3159 | 3159 | | |
3160 | 3160 | | |
3161 | 3161 | | |
| |||
3217 | 3217 | | |
3218 | 3218 | | |
3219 | 3219 | | |
3220 | | - | |
| 3220 | + | |
3221 | 3221 | | |
3222 | 3222 | | |
3223 | 3223 | | |
| |||
3238 | 3238 | | |
3239 | 3239 | | |
3240 | 3240 | | |
3241 | | - | |
| 3241 | + | |
3242 | 3242 | | |
3243 | 3243 | | |
3244 | 3244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
0 commit comments