1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-27 17:32:55 +08:00

Adjust dialog text

This commit is contained in:
smoogipoo 2018-11-23 15:19:15 +09:00
parent ac73844fe0
commit df004d7a49

View File

@ -11,10 +11,11 @@ namespace osu.Game.Overlays.Chat
{ {
public ExternalLinkDialog(string url, Action openExternalLinkAction) public ExternalLinkDialog(string url, Action openExternalLinkAction)
{ {
BodyText = url; HeaderText = "Just checking...";
BodyText = $"You are about to leave osu! and open the following link in a web browser:\n\n{url}";
Icon = FontAwesome.fa_warning; Icon = FontAwesome.fa_warning;
HeaderText = "Are you sure you want to open the following?";
Buttons = new PopupDialogButton[] Buttons = new PopupDialogButton[]
{ {
new PopupDialogOkButton new PopupDialogOkButton