From 8ea9e2e4bb3bc8337f3d373179ad73c0b4459082 Mon Sep 17 00:00:00 2001 From: Joseph Madamba Date: Thu, 25 Sep 2025 15:37:23 -0700 Subject: [PATCH] Change non-localisable sh/xh to correct terminology --- osu.Game/Online/Leaderboards/DrawableRank.cs | 2 +- osu.Game/Scoring/ScoreRank.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/osu.Game/Online/Leaderboards/DrawableRank.cs b/osu.Game/Online/Leaderboards/DrawableRank.cs index 3bc80c8b37..d11e200b7c 100644 --- a/osu.Game/Online/Leaderboards/DrawableRank.cs +++ b/osu.Game/Online/Leaderboards/DrawableRank.cs @@ -65,7 +65,7 @@ namespace osu.Game.Online.Leaderboards }; } - public static string GetRankName(ScoreRank rank) => rank.GetDescription().TrimEnd('+'); + public static string GetRankName(ScoreRank rank) => rank.GetDescription().Replace("Silver ", ""); /// /// Retrieves the grade text colour. diff --git a/osu.Game/Scoring/ScoreRank.cs b/osu.Game/Scoring/ScoreRank.cs index 957cfc9b95..59a51c0944 100644 --- a/osu.Game/Scoring/ScoreRank.cs +++ b/osu.Game/Scoring/ScoreRank.cs @@ -34,7 +34,7 @@ namespace osu.Game.Scoring S, [LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankSH))] - [Description(@"S+")] + [Description(@"Silver S")] // ReSharper disable once InconsistentNaming SH, @@ -43,7 +43,7 @@ namespace osu.Game.Scoring X, [LocalisableDescription(typeof(BeatmapsStrings), nameof(BeatmapsStrings.RankXH))] - [Description(@"SS+")] + [Description(@"Silver SS")] // ReSharper disable once InconsistentNaming XH, }