1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

Pluralize instead of adding 's'

This commit is contained in:
iiSaLMaN 2019-09-20 16:18:55 +03:00
parent 8300e86f20
commit 3be03a26c9

View File

@ -111,7 +111,7 @@ namespace osu.Game.Database
protected async Task Import(ProgressNotification notification, params string[] paths)
{
notification.Progress = 0;
notification.Text = $"{HumanisedModelName.Humanize()}s import is initialising...";
notification.Text = $"{HumanisedModelName.Pluralize(paths.Length == 1)} import is initialising...".Humanize();
int current = 0;
@ -147,7 +147,7 @@ namespace osu.Game.Database
if (imported.Count == 0)
{
notification.Text = $"{HumanisedModelName.Humanize()}s import failed!";
notification.Text = $"{HumanisedModelName.Pluralize(paths.Length == 1)} import failed!".Humanize();
notification.State = ProgressNotificationState.Cancelled;
}
else