// Copyright (c) ppy Pty Ltd . 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.SkinComponents { public static class BeatmapAttributeTextStrings { private const string prefix = @"osu.Game.Resources.Localisation.SkinComponents.BeatmapAttributeText"; /// /// "Attribute" /// public static LocalisableString Attribute => new TranslatableString(getKey(@"attribute"), "Attribute"); /// /// "The attribute to be displayed." /// public static LocalisableString AttributeDescription => new TranslatableString(getKey(@"attribute_description"), "The attribute to be displayed."); /// /// "Template" /// public static LocalisableString Template => new TranslatableString(getKey(@"template"), "Template"); /// /// "Supports {{Label}} and {{Value}}, but also including arbitrary attributes like {{StarRating}} (see attribute list for supported values)." /// 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}"; } }