mirror of https://github.com/ppy/osu
Localise counter pills.
This commit is contained in:
parent
d23e47c253
commit
c92f69467a
|
@ -8,6 +8,7 @@
|
|||
using osu.Framework.Bindables;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Profile.Sections
|
||||
{
|
||||
|
@ -48,7 +49,7 @@ protected override void LoadComplete()
|
|||
|
||||
private void onCurrentChanged(ValueChangedEvent<int> value)
|
||||
{
|
||||
counter.Text = value.NewValue.ToString("N0");
|
||||
counter.Text = value.NewValue.ToLocalisableString("N0");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue