Add localisation support for beatmap editor setup

This commit is contained in:
its5Q
2022-08-11 03:53:20 +10:00
parent 76fea25668
commit 2499b7f0cd
16 changed files with 320 additions and 42 deletions

View File

@ -7,12 +7,14 @@ using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Graphics.UserInterfaceV2;
using osu.Game.Localisation;
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Screens.Edit.Setup
{
internal class ColoursSection : SetupSection
{
public override LocalisableString Title => "Colours";
public override LocalisableString Title => EditorSetupColoursStrings.Colours;
private LabelledColourPalette comboColours;
@ -23,9 +25,9 @@ namespace osu.Game.Screens.Edit.Setup
{
comboColours = new LabelledColourPalette
{
Label = "Hitcircle / Slider Combos",
Label = EditorSetupColoursStrings.HitcircleSliderCombos,
FixedLabelWidth = LABEL_WIDTH,
ColourNamePrefix = "Combo"
ColourNamePrefix = MatchesStrings.MatchScoreStatsCombo
}
};