User verbatim string for ToLocalisableString calls (and rename US spelling)

This commit is contained in:
Dean Herbert
2021-07-31 14:27:20 +09:00
parent c7e9d09ce3
commit e6f337a3c8
6 changed files with 23 additions and 23 deletions

View File

@ -124,11 +124,11 @@ namespace osu.Game.Overlays.Rankings
{
startDateColumn.Value = dateToString(response.Spotlight.StartDate);
endDateColumn.Value = dateToString(response.Spotlight.EndDate);
mapCountColumn.Value = response.BeatmapSets.Count.ToLocalisableString("N0");
participantsColumn.Value = response.Spotlight.Participants?.ToLocalisableString("N0");
mapCountColumn.Value = response.BeatmapSets.Count.ToLocalisableString(@"N0");
participantsColumn.Value = response.Spotlight.Participants?.ToLocalisableString(@"N0");
}
private LocalisableString dateToString(DateTimeOffset date) => date.ToLocalisableString("yyyy-MM-dd");
private LocalisableString dateToString(DateTimeOffset date) => date.ToLocalisableString(@"yyyy-MM-dd");
private class InfoColumn : FillFlowContainer
{