1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 15:03:13 +08:00

Fix some missed instances of verbatim string conversion

This commit is contained in:
Dean Herbert 2021-07-31 14:29:38 +09:00
parent e6f337a3c8
commit c082498955
2 changed files with 6 additions and 6 deletions

View File

@ -27,11 +27,11 @@ namespace osu.Game.Overlays.Rankings.Tables
{
new ColouredRowText
{
Text = item.TotalScore.ToLocalisableString("N0"),
Text = item.TotalScore.ToLocalisableString(@"N0"),
},
new RowText
{
Text = item.RankedScore.ToLocalisableString("N0")
Text = item.RankedScore.ToLocalisableString(@"N0")
}
};
}

View File

@ -48,12 +48,12 @@ namespace osu.Game.Overlays.Rankings.Tables
protected sealed override Drawable[] CreateAdditionalContent(UserStatistics item) => new[]
{
new ColouredRowText { Text = item.DisplayAccuracy, },
new ColouredRowText { Text = item.PlayCount.ToLocalisableString("N0") },
new ColouredRowText { Text = item.PlayCount.ToLocalisableString(@"N0") },
}.Concat(CreateUniqueContent(item)).Concat(new[]
{
new ColouredRowText { Text = (item.GradesCount[ScoreRank.XH] + item.GradesCount[ScoreRank.X]).ToLocalisableString("N0"), },
new ColouredRowText { Text = (item.GradesCount[ScoreRank.SH] + item.GradesCount[ScoreRank.S]).ToLocalisableString("N0"), },
new ColouredRowText { Text = item.GradesCount[ScoreRank.A].ToLocalisableString("N0"), }
new ColouredRowText { Text = (item.GradesCount[ScoreRank.XH] + item.GradesCount[ScoreRank.X]).ToLocalisableString(@"N0"), },
new ColouredRowText { Text = (item.GradesCount[ScoreRank.SH] + item.GradesCount[ScoreRank.S]).ToLocalisableString(@"N0"), },
new ColouredRowText { Text = item.GradesCount[ScoreRank.A].ToLocalisableString(@"N0"), }
}).ToArray();
protected abstract RankingsTableColumn[] CreateUniqueHeaders();