Revert "Use existing string"

This reverts commit f950b624ae.
This commit is contained in:
ansel
2023-01-14 02:42:04 +03:00
parent 77e8315ee2
commit c95d8645f3
2 changed files with 6 additions and 3 deletions

View File

@ -24,6 +24,11 @@ namespace osu.Game.Localisation
/// </summary> /// </summary>
public static LocalisableString RunningTasks => new TranslatableString(getKey(@"running_tasks"), @"Running Tasks"); public static LocalisableString RunningTasks => new TranslatableString(getKey(@"running_tasks"), @"Running Tasks");
/// <summary>
/// "Clear All"
/// </summary>
public static LocalisableString ClearAll => new TranslatableString(getKey(@"clear_all"), @"Clear All");
/// <summary> /// <summary>
/// "Cancel All" /// "Cancel All"
/// </summary> /// </summary>

View File

@ -17,7 +17,6 @@ using osu.Game.Overlays.Notifications;
using osu.Game.Resources.Localisation.Web; using osu.Game.Resources.Localisation.Web;
using osuTK; using osuTK;
using NotificationsStrings = osu.Game.Localisation.NotificationsStrings; using NotificationsStrings = osu.Game.Localisation.NotificationsStrings;
using WebNotificationsStrings = osu.Game.Resources.Localisation.Web.NotificationsStrings;
namespace osu.Game.Overlays namespace osu.Game.Overlays
{ {
@ -93,8 +92,7 @@ namespace osu.Game.Overlays
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
Children = new[] Children = new[]
{ {
new NotificationSection(AccountsStrings.NotificationsTitle, new[] { typeof(SimpleNotification) }, new NotificationSection(AccountsStrings.NotificationsTitle, new[] { typeof(SimpleNotification) }, NotificationsStrings.ClearAll),
WebNotificationsStrings.MarkRead(WebNotificationsStrings.FiltersDefault)),
new NotificationSection(NotificationsStrings.RunningTasks, new[] { typeof(ProgressNotification) }, NotificationsStrings.CancelAll), new NotificationSection(NotificationsStrings.RunningTasks, new[] { typeof(ProgressNotification) }, NotificationsStrings.CancelAll),
} }
} }