1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 03:47:04 +08:00

Improve model deletion notification text

This commit is contained in:
smoogipoo
2019-06-12 17:27:15 +09:00
Unverified
parent ddbd240d76
commit d4deac48ee
+3 -2
View File
@@ -392,7 +392,8 @@ namespace osu.Game.Database
var notification = new ProgressNotification
{
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,
};
@@ -409,7 +410,7 @@ namespace osu.Game.Database
// user requested abort
return;
notification.Text = $"Deleting ({++i} of {items.Count})";
notification.Text = $"Deleting {humanisedModelName}s ({++i} of {items.Count})";
Delete(b);