Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ppy
GitHub Repository: ppy/osu
Path: blob/master/osu.Game/Localisation/BindingSettingsStrings.cs
2264 views
// Copyright (c) ppy Pty Ltd <[email protected]>. 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}";
    }
}