mirror of https://github.com/ppy/osu
Add localisation support to DialogButton's text
This commit is contained in:
parent
623eae1576
commit
db524e2395
|
@ -15,6 +15,7 @@
|
|||
using osu.Framework.Graphics.Effects;
|
||||
using osu.Game.Graphics.Containers;
|
||||
using osu.Framework.Input.Events;
|
||||
using osu.Framework.Localisation;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
|
@ -180,9 +181,9 @@ public Color4 BackgroundColour
|
|||
}
|
||||
}
|
||||
|
||||
private string text;
|
||||
private LocalisableString text;
|
||||
|
||||
public string Text
|
||||
public LocalisableString Text
|
||||
{
|
||||
get => text;
|
||||
set
|
||||
|
|
Loading…
Reference in New Issue