1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 16:57:25 +08:00
osu-lazer/osu.Game/Localisation/BindingSettingsStrings.cs
2022-06-17 16:37:17 +09:00

32 lines
1.2 KiB
C#

// 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.
#nullable disable
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}";
}
}