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

@ -80,7 +80,7 @@ namespace osu.Game.Overlays.Rankings.Tables
private OsuSpriteText createIndexDrawable(int index) => new RowText
{
Text = (index + 1).ToLocalisableString("\\##"),
Text = (index + 1).ToLocalisableString(@"\##"),
Font = OsuFont.GetFont(size: TEXT_SIZE, weight: FontWeight.SemiBold)
};
@ -144,7 +144,7 @@ namespace osu.Game.Overlays.Rankings.Tables
}
}
protected class ColoredRowText : RowText
protected class ColouredRowText : RowText
{
[BackgroundDependencyLoader]
private void load(OverlayColourProvider colourProvider)