Use ToQuantity for words with number prefixes

This commit is contained in:
Joehu
2019-02-27 21:55:45 -08:00
parent 05aa80b184
commit 2241e1af9d
4 changed files with 10 additions and 12 deletions

View File

@ -101,7 +101,7 @@ namespace osu.Game.Screens.Multi.Lounge.Components
}
}, true);
ParticipantCount.BindValueChanged(count => summary.Text = $"{count.NewValue:#,0}{" participant".Pluralize(count.NewValue == 1)}", true);
ParticipantCount.BindValueChanged(count => summary.Text = "participant".ToQuantity(count.NewValue), true);
/*Participants.BindValueChanged(e =>
{