mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Localise counter pills.
This commit is contained in:
@ -8,6 +8,7 @@ using osu.Game.Graphics;
|
|||||||
using osu.Framework.Bindables;
|
using osu.Framework.Bindables;
|
||||||
using osu.Game.Graphics.Sprites;
|
using osu.Game.Graphics.Sprites;
|
||||||
using osu.Framework.Allocation;
|
using osu.Framework.Allocation;
|
||||||
|
using osu.Framework.Localisation;
|
||||||
|
|
||||||
namespace osu.Game.Overlays.Profile.Sections
|
namespace osu.Game.Overlays.Profile.Sections
|
||||||
{
|
{
|
||||||
@ -48,7 +49,7 @@ namespace osu.Game.Overlays.Profile.Sections
|
|||||||
|
|
||||||
private void onCurrentChanged(ValueChangedEvent<int> value)
|
private void onCurrentChanged(ValueChangedEvent<int> value)
|
||||||
{
|
{
|
||||||
counter.Text = value.NewValue.ToString("N0");
|
counter.Text = value.NewValue.ToLocalisableString("N0");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user