1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-31 20:30:20 +08:00

Add already existing localisation support from CommonStrings (#37401)

decided to do this mostly because of the non-localised `BackButton` that
was bothering my eyes

changes can be reviewed commit by commit
This commit is contained in:
Denis Titovets
2026-05-06 18:07:28 +03:00
committed by GitHub
Unverified
parent 27f6e94bf0
commit b8729cb7fd
7 changed files with 22 additions and 10 deletions
@@ -10,6 +10,7 @@ using osu.Framework.Graphics.Effects;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Input.Events;
using osu.Framework.Localisation;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Graphics.Containers;
using osu.Game.Graphics.Sprites;
@@ -161,7 +162,7 @@ namespace osu.Game.Graphics.UserInterface
set => bouncingIcon.Icon = value;
}
public string Text
public LocalisableString Text
{
set => text.Text = value;
}