1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

Localise level progess bar stats.

This commit is contained in:
Lucas A 2021-07-24 10:03:13 +02:00
parent 011fad167d
commit d23e47c253

View File

@ -61,7 +61,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
private void updateProgress(User user)
{
levelProgressBar.Length = user?.Statistics?.Level.Progress / 100f ?? 0;
levelProgressText.Text = user?.Statistics?.Level.Progress.ToString("0'%'");
levelProgressText.Text = user?.Statistics?.Level.Progress.ToLocalisableString("0'%'");
}
}
}