From 921892e941d348c33c38c84c2f651271bf199585 Mon Sep 17 00:00:00 2001
From: Ryan <7389646+ryanbarlow97@users.noreply.github.com>
Date: Thu, 9 Jul 2026 22:45:06 +0100
Subject: [PATCH] "stats" not "ranking" (#4560)
## Description:
people confused what "ranking" means on the games stats modal
also sorta helps with the overflow
before:
after:
## Please complete the following:
- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
## Please put your Discord username so you can be contacted if a bug or
regression is found:
w.o.n
---
resources/lang/en.json | 2 +-
.../components/baseComponents/stats/PlayerGameHistoryView.ts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/resources/lang/en.json b/resources/lang/en.json
index 05c6f7888..0c38ffff4 100644
--- a/resources/lang/en.json
+++ b/resources/lang/en.json
@@ -557,7 +557,7 @@
"war": "War"
},
"game_list": {
- "ranking": "Ranking"
+ "stats": "Stats"
},
"game_mode": {
"ffa": "Free for All",
diff --git a/src/client/components/baseComponents/stats/PlayerGameHistoryView.ts b/src/client/components/baseComponents/stats/PlayerGameHistoryView.ts
index 26ba36d87..7e720d038 100644
--- a/src/client/components/baseComponents/stats/PlayerGameHistoryView.ts
+++ b/src/client/components/baseComponents/stats/PlayerGameHistoryView.ts
@@ -455,7 +455,7 @@ export class PlayerGameHistoryView extends LitElement {
@click=${() => this.showRanking(game.gameId)}
class="px-3 py-1.5 text-xs font-bold text-white/80 uppercase tracking-wider bg-white/10 hover:bg-white/20 border border-white/10 rounded-lg transition-colors"
>
- ${translateText("game_list.ranking")}
+ ${translateText("game_list.stats")}