mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 08:22:56 +08:00
Display number of failing models during batch-import
This commit is contained in:
parent
c6b6d0dcfe
commit
0d6b9ebc0f
@ -154,9 +154,12 @@ namespace osu.Game.Database
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
notification.CompletionText = imported.Count == 1
|
if (tasks.Length > imported.Count)
|
||||||
? $"Imported {imported.First().GetDisplayString()}!"
|
notification.CompletionText = $"Imported {imported.Count} out of {tasks.Length} {HumanisedModelName}s.";
|
||||||
: $"Imported {imported.Count} {HumanisedModelName}s!";
|
else if (imported.Count > 1)
|
||||||
|
notification.CompletionText = $"Imported {imported.Count} {HumanisedModelName}s!";
|
||||||
|
else
|
||||||
|
notification.CompletionText = $"Imported {imported.First().GetDisplayString()}!";
|
||||||
|
|
||||||
if (imported.Count > 0 && PresentImport != null)
|
if (imported.Count > 0 && PresentImport != null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user