Commit 9cce51e
authored
fix: sentence case violations 4001-5000 of locales file (#23996)
## **Description**
This PR fixes sentence case violations in lines 4001-5000 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 ~34 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 4001-5000
## **Related issues**
Fixes: Part of content papercut improvements batch 5
Follows: #23499 (lines 1-1000), #23516 (lines 1001-2000), #23957 (lines
2001-3000), #23994 (lines 3001-4000)
Related: #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 imports a wallet
Then "Import account" title should display in sentence case
And "Paste your Secret Recovery Phrase" should display in sentence case
When user creates a new wallet
Then "Create password" should display in sentence case
And "Learn more" should display in sentence case
When user backs up their wallet
Then "Cancel backup" should display in sentence case
And "Security tips" should display in sentence case
When user views receive request
Then all strings should display in proper sentence case
When user views ramp/checkout flows
Then all UI text should display in proper 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 ~34 keys in `locales/languages/en.json`
(lines 4001-5000)
- **Test files**: No direct test file changes (only snapshots)
- **Snapshots**: Regenerated 8 snapshot files to match new casing
### Affected Areas:
- Import Private Key flow
- Import SRP (Secret Recovery Phrase) flow
- Onboarding vault creation
- Account backup flows (steps 1-7)
- Manual backup process
- Ramp/Checkout flows
- Order details
- Fiat selector modal
- Eligibility failed modal
- Receive request screens
### 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 Title Case to sentence case in the English locale (lines
4001–5000) and updates all affected tests and snapshots to match.
>
> - **Locales**:
> - Update `locales/languages/en.json` (~34 keys) to sentence case
(e.g., import private key, secure wallet, on-ramp/order details,
region/fiat labels, notifications, prompts).
> - **Tests & Snapshots**:
> - Align text expectations with sentence case across ramp views
(`BuildQuote`, `Quotes`, `Checkout`, `OrderDetails`), modals
(`FiatSelectorModal`, `IncompatibleAccountTokenModal`,
`UnsupportedRegionModal`, `EligibilityFailedModal`,
`RampUnsupportedModal`), `ReceiveRequest`, `ImportPrivateKey`, and
`ManualBackupStep1`.
> - Regenerate snapshots and update queries/buttons (e.g., `"Return to
home screen"`, `"Contact support"`, `"Got it"`, `"Create password"`).
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
1632f86. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 9fed5ce commit 9cce51e
File tree
18 files changed
+156
-156
lines changed- app/components
- UI
- Ramp
- Aggregator
- Views
- BuildQuote
- __snapshots__
- Checkout/__snapshots__
- OrderDetails
- __snapshots__
- Quotes
- __snapshots__
- components
- FiatSelectorModal/__snapshots__
- IncompatibleAccountTokenModal/__snapshots__
- UnsupportedRegionModal/__snapshots__
- components
- EligibilityFailedModal
- __snapshots__
- RampUnsupportedModal
- __snapshots__
- ReceiveRequest/__snapshots__
- Views
- ImportPrivateKey/__snapshots__
- ManualBackupStep1
- locales/languages
18 files changed
+156
-156
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
| 405 | + | |
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
419 | | - | |
| 419 | + | |
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3147 | 3147 | | |
3148 | 3148 | | |
3149 | 3149 | | |
3150 | | - | |
| 3150 | + | |
3151 | 3151 | | |
3152 | 3152 | | |
3153 | 3153 | | |
| |||
3795 | 3795 | | |
3796 | 3796 | | |
3797 | 3797 | | |
3798 | | - | |
| 3798 | + | |
3799 | 3799 | | |
3800 | 3800 | | |
3801 | 3801 | | |
| |||
24524 | 24524 | | |
24525 | 24525 | | |
24526 | 24526 | | |
24527 | | - | |
| 24527 | + | |
24528 | 24528 | | |
24529 | 24529 | | |
24530 | 24530 | | |
| |||
25172 | 25172 | | |
25173 | 25173 | | |
25174 | 25174 | | |
25175 | | - | |
| 25175 | + | |
25176 | 25176 | | |
25177 | 25177 | | |
25178 | 25178 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1949 | 1949 | | |
1950 | 1950 | | |
1951 | 1951 | | |
1952 | | - | |
| 1952 | + | |
1953 | 1953 | | |
1954 | 1954 | | |
1955 | 1955 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
503 | | - | |
| 503 | + | |
504 | 504 | | |
505 | 505 | | |
506 | 506 | | |
| |||
Lines changed: 54 additions & 54 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
997 | 997 | | |
998 | 998 | | |
999 | 999 | | |
1000 | | - | |
| 1000 | + | |
1001 | 1001 | | |
1002 | 1002 | | |
1003 | 1003 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8408 | 8408 | | |
8409 | 8409 | | |
8410 | 8410 | | |
8411 | | - | |
| 8411 | + | |
8412 | 8412 | | |
8413 | 8413 | | |
8414 | 8414 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
| |||
1413 | 1413 | | |
1414 | 1414 | | |
1415 | 1415 | | |
1416 | | - | |
| 1416 | + | |
1417 | 1417 | | |
1418 | 1418 | | |
1419 | 1419 | | |
| |||
2349 | 2349 | | |
2350 | 2350 | | |
2351 | 2351 | | |
2352 | | - | |
| 2352 | + | |
2353 | 2353 | | |
2354 | 2354 | | |
2355 | 2355 | | |
| |||
3285 | 3285 | | |
3286 | 3286 | | |
3287 | 3287 | | |
3288 | | - | |
| 3288 | + | |
3289 | 3289 | | |
3290 | 3290 | | |
3291 | 3291 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
481 | | - | |
| 481 | + | |
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
455 | | - | |
| 455 | + | |
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
535 | | - | |
| 535 | + | |
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
| |||
1048 | 1048 | | |
1049 | 1049 | | |
1050 | 1050 | | |
1051 | | - | |
| 1051 | + | |
1052 | 1052 | | |
1053 | 1053 | | |
1054 | 1054 | | |
| |||
1128 | 1128 | | |
1129 | 1129 | | |
1130 | 1130 | | |
1131 | | - | |
| 1131 | + | |
1132 | 1132 | | |
1133 | 1133 | | |
1134 | 1134 | | |
| |||
0 commit comments