From c95d8645f3afbd56ea71fc2be2093e9eab848b9a Mon Sep 17 00:00:00 2001
From: ansel <79257300125@ya.ru>
Date: Sat, 14 Jan 2023 02:42:04 +0300
Subject: [PATCH] Revert "Use existing string"
This reverts commit f950b624ae4f0659f12f43148b2782aff60b98df.
---
osu.Game/Localisation/NotificationsStrings.cs | 5 +++++
osu.Game/Overlays/NotificationOverlay.cs | 4 +---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/osu.Game/Localisation/NotificationsStrings.cs b/osu.Game/Localisation/NotificationsStrings.cs
index a1c974c777..6a9793b20c 100644
--- a/osu.Game/Localisation/NotificationsStrings.cs
+++ b/osu.Game/Localisation/NotificationsStrings.cs
@@ -24,6 +24,11 @@ namespace osu.Game.Localisation
///
public static LocalisableString RunningTasks => new TranslatableString(getKey(@"running_tasks"), @"Running Tasks");
+ ///
+ /// "Clear All"
+ ///
+ public static LocalisableString ClearAll => new TranslatableString(getKey(@"clear_all"), @"Clear All");
+
///
/// "Cancel All"
///
diff --git a/osu.Game/Overlays/NotificationOverlay.cs b/osu.Game/Overlays/NotificationOverlay.cs
index ed2a67cd6b..71a4c58afd 100644
--- a/osu.Game/Overlays/NotificationOverlay.cs
+++ b/osu.Game/Overlays/NotificationOverlay.cs
@@ -17,7 +17,6 @@ using osu.Game.Overlays.Notifications;
using osu.Game.Resources.Localisation.Web;
using osuTK;
using NotificationsStrings = osu.Game.Localisation.NotificationsStrings;
-using WebNotificationsStrings = osu.Game.Resources.Localisation.Web.NotificationsStrings;
namespace osu.Game.Overlays
{
@@ -93,8 +92,7 @@ namespace osu.Game.Overlays
RelativeSizeAxes = Axes.X,
Children = new[]
{
- new NotificationSection(AccountsStrings.NotificationsTitle, new[] { typeof(SimpleNotification) },
- WebNotificationsStrings.MarkRead(WebNotificationsStrings.FiltersDefault)),
+ new NotificationSection(AccountsStrings.NotificationsTitle, new[] { typeof(SimpleNotification) }, NotificationsStrings.ClearAll),
new NotificationSection(NotificationsStrings.RunningTasks, new[] { typeof(ProgressNotification) }, NotificationsStrings.CancelAll),
}
}