Skip to content

Stats: rename Total Likes and Total Comments Insights cards - #25891

Open
amitraj2203 wants to merge 1 commit into
wordpress-mobile:trunkfrom
amitraj2203:fix/23015-rename-stats-insights-cards
Open

Stats: rename Total Likes and Total Comments Insights cards#25891
amitraj2203 wants to merge 1 commit into
wordpress-mobile:trunkfrom
amitraj2203:fix/23015-rename-stats-insights-cards

Conversation

@amitraj2203

@amitraj2203 amitraj2203 commented Aug 13, 2026

Copy link
Copy Markdown

Description

Fixes #23015

The "Total Likes" and "Total Comments" cards on the Stats Insights tab show the last 7 days of data, but their names make them look like all-time totals. This renames them to "Likes" and "Comments".

Both strings now use new reverse-DNS keys instead of being reworded in place, because localization keys are immutable. Changing the text under the same key would keep the old translations, which no longer match the new English.

The "This Year" card is not changed. Its "Total Likes" and "Total Comments" labels live in AnnualSiteStats and those numbers really are totals.

Testing instructions

  1. Log in to the Jetpack app with a WordPress.com site.
  2. Go to My Site > Stats > Insights.
  3. If the cards are missing, tap Add stats card and add the likes and comments cards.
  4. The two card headers now read Likes and Comments.
  5. Scroll to the This Year card and check that its Total Likes and Total Comments labels are unchanged.

Tested on an iPhone 17 simulator (iOS 26.5) with a WordPress.com site.

Before After
Screenshot 2026-08-13 at 11 02 50 AM Screenshot 2026-08-13 at 11 05 50 AM
Screenshot 2026-08-13 at 11 07 26 AM Screenshot 2026-08-13 at 11 18 00 AM

The two Insights cards show the last 7 days of data, but they were
named "Total Likes" and "Total Comments", which made them look like
all-time totals. Rename them to "Likes" and "Comments".

Both strings move to new reverse-DNS keys, because localization keys
are immutable. Rewording a key in place would keep the old, now stale,
translations.

The "This Year" labels in AnnualSiteStats keep their names, as those
values really are totals.

Fixes wordpress-mobile#23015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename Stats Insight cards for clarity

1 participant