mirror of
https://github.com/ppy/osu
synced 2025-01-19 04:20:59 +00:00
35 lines
1.5 KiB
C#
35 lines
1.5 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.
|
||
|
|
||
|
using osu.Framework.Localisation;
|
||
|
|
||
|
namespace osu.Game.Localisation.SkinEditorComponents
|
||
|
{
|
||
|
public static class BeatmapAttributeTextStrings
|
||
|
{
|
||
|
private const string prefix = @"osu.Game.Resources.Localisation.BeatmapAttributeText";
|
||
|
|
||
|
/// <summary>
|
||
|
/// "Attribute"
|
||
|
/// </summary>
|
||
|
public static LocalisableString Attribute => new TranslatableString(getKey(@"attribute"), "Attribute");
|
||
|
|
||
|
/// <summary>
|
||
|
/// "The attribute to be displayed."
|
||
|
/// </summary>
|
||
|
public static LocalisableString AttributeDescription => new TranslatableString(getKey(@"attribute_description"), "The attribute to be displayed.");
|
||
|
|
||
|
/// <summary>
|
||
|
/// "Template"
|
||
|
/// </summary>
|
||
|
public static LocalisableString Template => new TranslatableString(getKey(@"template"), "Template");
|
||
|
|
||
|
/// <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).");
|
||
|
|
||
|
private static string getKey(string key) => $"{prefix}:{key}";
|
||
|
}
|
||
|
}
|