mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Add localisation support for remaining input settings sections
This commit is contained in:
29
osu.Game/Localisation/BindingSettingsStrings.cs
Normal file
29
osu.Game/Localisation/BindingSettingsStrings.cs
Normal file
@ -0,0 +1,29 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using osu.Framework.Localisation;
|
||||
|
||||
namespace osu.Game.Localisation
|
||||
{
|
||||
public static class BindingSettingsStrings
|
||||
{
|
||||
private const string prefix = @"osu.Game.Resources.Localisation.BindingSettings";
|
||||
|
||||
/// <summary>
|
||||
/// "Shortcut and gameplay bindings"
|
||||
/// </summary>
|
||||
public static LocalisableString ShortcutAndGameplayBindings => new TranslatableString(getKey(@"shortcut_and_gameplay_bindings"), @"Shortcut and gameplay bindings");
|
||||
|
||||
/// <summary>
|
||||
/// "Configure"
|
||||
/// </summary>
|
||||
public static LocalisableString Configure => new TranslatableString(getKey(@"configure"), @"Configure");
|
||||
|
||||
/// <summary>
|
||||
/// "change global shortcut keys and gameplay bindings"
|
||||
/// </summary>
|
||||
public static LocalisableString ChangeBindingsButton => new TranslatableString(getKey(@"change_bindings_button"), @"change global shortcut keys and gameplay bindings");
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user