mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:07:52 +08:00
Use common header text
This commit is contained in:
parent
474ff5b99d
commit
e52f524ea2
@ -8,9 +8,10 @@ using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.Platform;
|
||||
using osu.Game.Configuration;
|
||||
using osu.Game.Localisation;
|
||||
using osu.Game.Overlays;
|
||||
using osu.Game.Overlays.Dialog;
|
||||
using osu.Game.Resources.Localisation.Web;
|
||||
using CommonStrings = osu.Game.Resources.Localisation.Web.CommonStrings;
|
||||
|
||||
namespace osu.Game.Online.Chat
|
||||
{
|
||||
@ -45,7 +46,7 @@ namespace osu.Game.Online.Chat
|
||||
{
|
||||
public ExternalLinkDialog(string url, Action openExternalLinkAction, Action copyExternalLinkAction)
|
||||
{
|
||||
HeaderText = "You are leaving osu!";
|
||||
HeaderText = DeleteConfirmationDialogStrings.HeaderText;
|
||||
BodyText = $"Are you sure you want to open the following link in a web browser?\n\n{url}";
|
||||
|
||||
Icon = FontAwesome.Solid.ExclamationTriangle;
|
||||
|
Loading…
Reference in New Issue
Block a user