mirror of
https://github.com/ppy/osu
synced 2025-01-10 08:09:40 +00:00
Fix break overlay grades not using localised string
This commit is contained in:
parent
e20163652e
commit
9acfb3c900
@ -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