1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 20:20:16 +08:00

Revert "Use existing string"

This reverts commit f950b624ae.
This commit is contained in:
ansel
2023-01-14 02:42:04 +03:00
Unverified
parent 77e8315ee2
commit c95d8645f3
2 changed files with 6 additions and 3 deletions
@@ -24,6 +24,11 @@ namespace osu.Game.Localisation
/// </summary>
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>
/// "Cancel All"
/// </summary>
+1 -3
View File
@@ -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),
}
}