mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Improve model deletion notification text
This commit is contained in:
@ -392,7 +392,8 @@ namespace osu.Game.Database
|
|||||||
var notification = new ProgressNotification
|
var notification = new ProgressNotification
|
||||||
{
|
{
|
||||||
Progress = 0,
|
Progress = 0,
|
||||||
CompletionText = $"Deleted all {typeof(TModel).Name.Replace("Info", "").ToLower()}s!",
|
Text = $"Preparing to delete all {humanisedModelName}s...",
|
||||||
|
CompletionText = $"Deleted all {humanisedModelName}s!",
|
||||||
State = ProgressNotificationState.Active,
|
State = ProgressNotificationState.Active,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -409,7 +410,7 @@ namespace osu.Game.Database
|
|||||||
// user requested abort
|
// user requested abort
|
||||||
return;
|
return;
|
||||||
|
|
||||||
notification.Text = $"Deleting ({++i} of {items.Count})";
|
notification.Text = $"Deleting {humanisedModelName}s ({++i} of {items.Count})";
|
||||||
|
|
||||||
Delete(b);
|
Delete(b);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user