1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 14:37:30 +08:00

Merge pull request #30572 from Joehuu/fix-break-overlay-grades

Fix break overlay grades not using localised string
This commit is contained in:
Dean Herbert 2024-11-10 21:13:01 +09:00 committed by GitHub
commit 4aa3516058
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,7 @@ namespace osu.Game.Screens.Play.Break
protected virtual LocalisableString Format(T count) protected virtual LocalisableString Format(T count)
{ {
if (count is Enum countEnum) if (count is Enum countEnum)
return countEnum.GetDescription(); return countEnum.GetLocalisableDescription();
return count.ToString() ?? string.Empty; return count.ToString() ?? string.Empty;
} }