mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 11:02:57 +08:00
25 lines
892 B
C#
25 lines
892 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 TextElementStrings
|
|
{
|
|
private const string prefix = @"osu.Game.Resources.Localisation.TextElement";
|
|
|
|
/// <summary>
|
|
/// "Text"
|
|
/// </summary>
|
|
public static LocalisableString TextElementText => new TranslatableString(getKey(@"text_element_text"), "Text");
|
|
|
|
/// <summary>
|
|
/// "The text to be displayed."
|
|
/// </summary>
|
|
public static LocalisableString TextElementTextDescription => new TranslatableString(getKey(@"text_element_text_description"), "The text to be displayed.");
|
|
|
|
private static string getKey(string key) => $"{prefix}:{key}";
|
|
}
|
|
}
|