2023-02-02 07:44:00 +08:00
// 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 ;
2023-02-03 14:34:57 +08:00
namespace osu.Game.Localisation.SkinComponents
2023-02-02 07:44:00 +08:00
{
public static class BeatmapAttributeTextStrings
{
2023-02-03 14:34:57 +08:00
private const string prefix = @"osu.Game.Resources.Localisation.SkinComponents.BeatmapAttributeText" ;
2023-02-02 07:44:00 +08:00
/// <summary>
/// "Attribute"
/// </summary>
2024-10-17 18:43:34 +08:00
public static LocalisableString Attribute = > new TranslatableString ( getKey ( @"attribute" ) , @"Attribute" ) ;
2023-02-02 07:44:00 +08:00
/// <summary>
/// "The attribute to be displayed."
/// </summary>
2024-10-17 18:43:34 +08:00
public static LocalisableString AttributeDescription = > new TranslatableString ( getKey ( @"attribute_description" ) , @"The attribute to be displayed." ) ;
2023-02-02 07:44:00 +08:00
/// <summary>
/// "Template"
/// </summary>
2024-10-17 18:43:34 +08:00
public static LocalisableString Template = > new TranslatableString ( getKey ( @"template" ) , @"Template" ) ;
2023-02-02 07:44:00 +08:00
/// <summary>
/// "Supports {{Label}} and {{Value}}, but also including arbitrary attributes like {{StarRating}} (see attribute list for supported values)."
/// </summary>
public static LocalisableString TemplateDescription = > new TranslatableString ( getKey ( @"template_description" ) , @"Supports {{Label}} and {{Value}}, but also including arbitrary attributes like {{StarRating}} (see attribute list for supported values)." ) ;
2024-10-17 18:43:34 +08:00
/// <summary>
/// "Max PP"
/// </summary>
public static LocalisableString MaxPP = > new TranslatableString ( getKey ( @"max_pp" ) , @"Max PP" ) ;
private static string getKey ( string key ) = > $@"{prefix}:{key}" ;
2023-02-02 07:44:00 +08:00
}
}