1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 12:53:11 +08:00
osu-lazer/osu.Game/Localisation/SkinnableSpriteStrings.cs

25 lines
873 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
{
public static class SkinnableSpriteStrings
{
private const string prefix = @"osu.Game.Resources.Localisation.SkinnableSprite";
/// <summary>
/// "Sprite name"
/// </summary>
public static LocalisableString SpriteName => new TranslatableString(getKey(@"sprite_name"), "Sprite name");
/// <summary>
/// "The filename of the sprite"
/// </summary>
public static LocalisableString SpriteNameDescription => new TranslatableString(getKey(@"sprite_name_description"), "The filename of the sprite");
private static string getKey(string key) => $"{prefix}:{key}";
}
}