1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 11:42:56 +08:00

Localise profile header stat buttons.

This commit is contained in:
Lucas A 2021-07-24 10:14:13 +02:00
parent be26414fe3
commit 5b55366178

View File

@ -4,6 +4,7 @@
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Localisation;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
using osuTK;
@ -46,6 +47,6 @@ namespace osu.Game.Overlays.Profile.Header.Components
protected abstract IconUsage Icon { get; }
protected void SetValue(int value) => drawableText.Text = value.ToString("#,##0");
protected void SetValue(int value) => drawableText.Text = value.ToLocalisableString("#,##0");
}
}