// 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 SkinnableComponentStrings { private const string prefix = @"osu.Game.Resources.Localisation.SkinComponents.SkinnableComponentStrings"; /// /// "Sprite name" /// public static LocalisableString SpriteName => new TranslatableString(getKey(@"sprite_name"), @"Sprite name"); /// /// "Font" /// public static LocalisableString Font => new TranslatableString(getKey(@"font"), @"Font"); /// /// "Text" /// public static LocalisableString TextElementText => new TranslatableString(getKey(@"text_element_text"), @"Text"); /// /// "Corner radius" /// public static LocalisableString CornerRadius => new TranslatableString(getKey(@"corner_radius"), @"Corner radius"); /// /// "How rounded the corners should be." /// public static LocalisableString CornerRadiusDescription => new TranslatableString(getKey(@"corner_radius_description"), @"How rounded the corners should be."); /// /// "Show label" /// public static LocalisableString ShowLabel => new TranslatableString(getKey(@"show_label"), @"Show label"); /// /// "Colour" /// public static LocalisableString Colour => new TranslatableString(getKey(@"colour"), @"Colour"); /// /// "Text colour" /// public static LocalisableString TextColour => new TranslatableString(getKey(@"text_colour"), @"Text colour"); /// /// "Text weight" /// public static LocalisableString TextWeight => new TranslatableString(getKey(@"text_weight"), @"Text weight"); /// /// "Use relative size" /// public static LocalisableString UseRelativeSize => new TranslatableString(getKey(@"use_relative_size"), @"Use relative size"); /// /// "Collapse during gameplay" /// public static LocalisableString CollapseDuringGameplay => new TranslatableString(getKey(@"collapse_during_gameplay"), @"Collapse during gameplay"); /// /// "If enabled, the leaderboard will become more compact during active gameplay." /// public static LocalisableString CollapseDuringGameplayDescription => new TranslatableString(getKey(@"if_enabled_the_leaderboard_will"), @"If enabled, the leaderboard will become more compact during active gameplay."); private static string getKey(string key) => $@"{prefix}:{key}"; } }