mirror of
https://github.com/osukey/osukey.git
synced 2025-08-01 21:58:46 +09:00
Use LocalisableString
s where possible to leverage localisable text flow
This commit is contained in:
@ -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.Graphics.Backgrounds;
|
||||
using osu.Game.Graphics.Containers;
|
||||
using osuTK;
|
||||
@ -42,9 +43,9 @@ namespace osu.Game.Overlays.Dialog
|
||||
set => icon.Icon = value;
|
||||
}
|
||||
|
||||
private string headerText;
|
||||
private LocalisableString headerText;
|
||||
|
||||
public string HeaderText
|
||||
public LocalisableString HeaderText
|
||||
{
|
||||
get => headerText;
|
||||
set
|
||||
@ -57,9 +58,9 @@ namespace osu.Game.Overlays.Dialog
|
||||
}
|
||||
}
|
||||
|
||||
private string bodyText;
|
||||
private LocalisableString bodyText;
|
||||
|
||||
public string BodyText
|
||||
public LocalisableString BodyText
|
||||
{
|
||||
get => bodyText;
|
||||
set
|
||||
|
Reference in New Issue
Block a user