Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ppy
GitHub Repository: ppy/osu
Path: blob/master/osu.Game/Localisation/HUD/SongProgressStrings.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.HUD
{
    public static class SongProgressStrings
    {
        private const string prefix = @"osu.Game.Resources.Localisation.HUD.SongProgress";

        /// <summary>
        /// "Show difficulty graph"
        /// </summary>
        public static LocalisableString ShowGraph => new TranslatableString(getKey(@"show_graph"), "Show difficulty graph");

        /// <summary>
        /// "Whether a graph displaying difficulty throughout the beatmap should be shown"
        /// </summary>
        public static LocalisableString ShowGraphDescription => new TranslatableString(getKey(@"show_graph_description"), "Whether a graph displaying difficulty throughout the beatmap should be shown");

        /// <summary>
        /// "Show time"
        /// </summary>
        public static LocalisableString ShowTime => new TranslatableString(getKey(@"show_time"), "Show time");

        /// <summary>
        /// "Whether the passed and remaining time should be shown"
        /// </summary>
        public static LocalisableString ShowTimeDescription => new TranslatableString(getKey(@"show_time_description"), "Whether the passed and remaining time should be shown");

        private static string getKey(string key) => $"{prefix}:{key}";
    }
}