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

@ -5,12 +5,13 @@
using osu.Framework.Localisation;
using osu.Game.Rulesets;
using osu.Game.Localisation;
namespace osu.Game.Screens.Edit.Setup
{
public abstract class RulesetSetupSection : SetupSection
{
public sealed override LocalisableString Title => $"Ruleset ({rulesetInfo.Name})";
public sealed override LocalisableString Title => EditorSetupRulesetStrings.Ruleset(rulesetInfo.Name);
private readonly RulesetInfo rulesetInfo;