Skip to content

Commit

Permalink
Use common header text
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed May 31, 2024
1 parent 474ff5b commit e52f524
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions osu.Game/Online/Chat/ExternalLinkOpener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
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
{
Expand Down Expand Up @@ -45,7 +46,7 @@ public partial class ExternalLinkDialog : PopupDialog
{
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;
Expand Down

0 comments on commit e52f524

Please sign in to comment.