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

Localise profile line chart.

This commit is contained in:
Lucas A 2021-07-24 10:08:47 +02:00
parent c92f69467a
commit 6095aa2791

View File

@ -170,7 +170,7 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
Origin = Anchor.CentreRight,
RelativePositionAxes = Axes.Y,
Margin = new MarginPadding { Right = 3 },
Text = value.ToString("N0"),
Text = value.ToLocalisableString("N0"),
Font = OsuFont.GetFont(size: 12),
Y = y
});
@ -193,7 +193,7 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
{
Origin = Anchor.CentreLeft,
RelativePositionAxes = Axes.X,
Text = value.ToString("MMM yyyy"),
Text = value.ToLocalisableString("MMM yyyy"),
Font = OsuFont.GetFont(size: 12, weight: FontWeight.SemiBold),
Rotation = 45,
X = x