mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 20:47:22 +08:00
Localise level progess bar stats.
This commit is contained in:
parent
011fad167d
commit
d23e47c253
@ -61,7 +61,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
|||||||
private void updateProgress(User user)
|
private void updateProgress(User user)
|
||||||
{
|
{
|
||||||
levelProgressBar.Length = user?.Statistics?.Level.Progress / 100f ?? 0;
|
levelProgressBar.Length = user?.Statistics?.Level.Progress / 100f ?? 0;
|
||||||
levelProgressText.Text = user?.Statistics?.Level.Progress.ToString("0'%'");
|
levelProgressText.Text = user?.Statistics?.Level.Progress.ToLocalisableString("0'%'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user