1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 11:02:57 +08:00
osu-lazer/osu.Game/Localisation/SkinEditorComponents/SongProgressStrings.cs
2023-02-02 00:01:48 +00:00

25 lines
1004 B
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.
using osu.Framework.Localisation;
namespace osu.Game.Localisation.SkinEditorComponents
{
public static class SongProgressStrings
{
private const string prefix = @"osu.Game.Resources.Localisation.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");
private static string getKey(string key) => $"{prefix}:{key}";
}
}