Add localisation support for remaining input settings sections

This commit is contained in:
Dean Herbert
2021-07-16 23:03:44 +09:00
parent b3d89254a9
commit 7df7137c88
6 changed files with 122 additions and 17 deletions

View File

@ -3,12 +3,13 @@
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Localisation;
namespace osu.Game.Overlays.Settings.Sections.Input
{
public class BindingSettings : SettingsSubsection
{
protected override LocalisableString Header => "Shortcut and gameplay bindings";
protected override LocalisableString Header => BindingSettingsStrings.ShortcutAndGameplayBindings;
public BindingSettings(KeyBindingPanel keyConfig)
{
@ -16,8 +17,8 @@ namespace osu.Game.Overlays.Settings.Sections.Input
{
new SettingsButton
{
Text = "Configure",
TooltipText = "change global shortcut keys and gameplay bindings",
Text = BindingSettingsStrings.Configure,
TooltipText = BindingSettingsStrings.ChangeBindingsButton,
Action = keyConfig.ToggleVisibility
},
};