diff --git a/osu.Game/Localisation/DeleteConfirmationDialogStrings.cs b/osu.Game/Localisation/DialogStrings.cs
similarity index 80%
rename from osu.Game/Localisation/DeleteConfirmationDialogStrings.cs
rename to osu.Game/Localisation/DialogStrings.cs
index 25997eadd3..cea543eb9f 100644
--- a/osu.Game/Localisation/DeleteConfirmationDialogStrings.cs
+++ b/osu.Game/Localisation/DialogStrings.cs
@@ -5,14 +5,14 @@ using osu.Framework.Localisation;
namespace osu.Game.Localisation
{
- public static class DeleteConfirmationDialogStrings
+ public static class DialogStrings
{
- private const string prefix = @"osu.Game.Resources.Localisation.DeleteConfirmationDialog";
+ private const string prefix = @"osu.Game.Resources.Localisation.DialogStrings";
///
/// "Caution"
///
- public static LocalisableString HeaderText => new TranslatableString(getKey(@"header_text"), @"Caution");
+ public static LocalisableString Caution => new TranslatableString(getKey(@"header_text"), @"Caution");
///
/// "Yes. Go for it."
diff --git a/osu.Game/Online/Chat/ExternalLinkOpener.cs b/osu.Game/Online/Chat/ExternalLinkOpener.cs
index 2f046d8fd4..82ad4215c2 100644
--- a/osu.Game/Online/Chat/ExternalLinkOpener.cs
+++ b/osu.Game/Online/Chat/ExternalLinkOpener.cs
@@ -46,7 +46,7 @@ namespace osu.Game.Online.Chat
{
public ExternalLinkDialog(string url, Action openExternalLinkAction, Action copyExternalLinkAction)
{
- HeaderText = DeleteConfirmationDialogStrings.HeaderText;
+ HeaderText = DialogStrings.Caution;
BodyText = $"Are you sure you want to open the following link in a web browser?\n\n{url}";
Icon = FontAwesome.Solid.ExclamationTriangle;
diff --git a/osu.Game/Overlays/Dialog/DangerousActionDialog.cs b/osu.Game/Overlays/Dialog/DangerousActionDialog.cs
index 42a3ff827c..60f51e7e06 100644
--- a/osu.Game/Overlays/Dialog/DangerousActionDialog.cs
+++ b/osu.Game/Overlays/Dialog/DangerousActionDialog.cs
@@ -30,7 +30,7 @@ namespace osu.Game.Overlays.Dialog
protected DangerousActionDialog()
{
- HeaderText = DeleteConfirmationDialogStrings.HeaderText;
+ HeaderText = DialogStrings.DialogCautionHeader;
Icon = FontAwesome.Regular.TrashAlt;
@@ -38,12 +38,12 @@ namespace osu.Game.Overlays.Dialog
{
new PopupDialogDangerousButton
{
- Text = DeleteConfirmationDialogStrings.Confirm,
+ Text = DialogStrings.DialogConfirm,
Action = () => DangerousAction?.Invoke()
},
new PopupDialogCancelButton
{
- Text = DeleteConfirmationDialogStrings.Cancel,
+ Text = DialogStrings.Cancel,
Action = () => CancelAction?.Invoke()
}
};