Commit 9e90ec5
fix: rename "Monthly Top Traders" to "Weekly Top Traders" (MetaMask#31620)
## **Description**
Updates `locales/languages/en.json` to replace "Monthly Top Traders"
with "Weekly Top Traders" in two places:
- `social_leaderboard.top_traders_view.title` — full-screen leaderboard
title
- `top_traders` — home widget label
The UI labels said "Monthly" but the leaderboard reflects a weekly
timeframe, causing a mismatch between the copy and the actual data
shown.
## **Changelog**
CHANGELOG entry: null
## **Related issues**
Fixes: N/A — copy-only fix identified via visual inspection of the app
## **Manual testing steps**
```gherkin
Feature: Weekly Top Traders label
Scenario: user views the Top Traders section
Given the app is open on the home screen
When user scrolls to the Top Traders widget
Then the widget title reads "Weekly Top Traders"
When user taps the widget to open the full leaderboard
Then the screen title reads "Weekly Top Traders"
```
## **Screenshots/Recordings**
### **Before**
Monthly Top Traders (as seen in UI)
### **After**
Weekly Top Traders
## **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.
#### Performance checks (if applicable)
- [ ] I've tested on Android
- [ ] I've tested with a power user scenario
- [ ] I've instrumented key operations with Sentry traces for production
performance metrics
## **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**
> Copy-only change in English locale plus test expectation updates; no
logic, API, or navigation changes.
>
> **Overview**
> Renames the Top Traders copy to **Weekly Top Traders** so the home
widget and full leaderboard title match the weekly timeframe of the
data.
>
> `locales/languages/en.json` updates
`social_leaderboard.top_traders_view.title` and
`homepage.sections.top_traders`. Component code is unchanged; tests in
`TopTradersSection.test.tsx` and `TopTradersView.test.tsx` now assert
the new label when tapping the section header and on the leaderboard
screen.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
b953ca2. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 67d1ab5 commit 9e90ec5
3 files changed
Lines changed: 4 additions & 4 deletions
File tree
- app/components/Views
- Homepage/Sections/TopTraders
- SocialLeaderboard/TopTradersView
- locales/languages
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1041 | 1041 | | |
1042 | 1042 | | |
1043 | 1043 | | |
1044 | | - | |
| 1044 | + | |
1045 | 1045 | | |
1046 | 1046 | | |
1047 | 1047 | | |
| |||
9703 | 9703 | | |
9704 | 9704 | | |
9705 | 9705 | | |
9706 | | - | |
| 9706 | + | |
9707 | 9707 | | |
9708 | 9708 | | |
9709 | 9709 | | |
| |||
0 commit comments