mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 16:22:21 +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:
commit
4aa3516058
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user