2023-02-03 16:02:16 +09:00
// 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.SkinComponents
{
public static class SkinnableComponentStrings
{
private const string prefix = @"osu.Game.Resources.Localisation.SkinComponents.SkinnableComponentStrings" ;
/// <summary>
/// "Sprite name"
/// </summary>
2023-11-16 14:11:01 +09:00
public static LocalisableString SpriteName = > new TranslatableString ( getKey ( @"sprite_name" ) , @"Sprite name" ) ;
2023-02-03 16:02:16 +09:00
/// <summary>
/// "The filename of the sprite"
/// </summary>
2023-11-16 14:11:01 +09:00
public static LocalisableString SpriteNameDescription = > new TranslatableString ( getKey ( @"sprite_name_description" ) , @"The filename of the sprite" ) ;
2023-02-03 16:02:16 +09:00
/// <summary>
/// "Font"
/// </summary>
2023-11-16 14:11:01 +09:00
public static LocalisableString Font = > new TranslatableString ( getKey ( @"font" ) , @"Font" ) ;
2023-02-03 16:02:16 +09:00
/// <summary>
/// "The font to use."
/// </summary>
2023-11-16 14:11:01 +09:00
public static LocalisableString FontDescription = > new TranslatableString ( getKey ( @"font_description" ) , @"The font to use." ) ;
2023-02-03 16:02:16 +09:00
/// <summary>
/// "Text"
/// </summary>
2023-11-16 14:11:01 +09:00
public static LocalisableString TextElementText = > new TranslatableString ( getKey ( @"text_element_text" ) , @"Text" ) ;
2023-02-03 16:02:16 +09:00
/// <summary>
/// "The text to be displayed."
/// </summary>
2023-11-16 14:11:01 +09:00
public static LocalisableString TextElementTextDescription = > new TranslatableString ( getKey ( @"text_element_text_description" ) , @"The text to be displayed." ) ;
2023-02-03 16:02:16 +09:00
2023-03-05 23:10:42 +00:00
/// <summary>
2023-03-07 16:45:33 +09:00
/// "Corner radius"
2023-03-05 23:10:42 +00:00
/// </summary>
2023-11-16 14:11:01 +09:00
public static LocalisableString CornerRadius = > new TranslatableString ( getKey ( @"corner_radius" ) , @"Corner radius" ) ;
2023-03-05 23:10:42 +00:00
/// <summary>
/// "How rounded the corners should be."
/// </summary>
2023-11-16 14:11:01 +09:00
public static LocalisableString CornerRadiusDescription = > new TranslatableString ( getKey ( @"corner_radius_description" ) , @"How rounded the corners should be." ) ;
2023-03-05 23:10:42 +00:00
2023-11-14 20:45:23 -08:00
/// <summary>
/// "Show label"
/// </summary>
public static LocalisableString ShowLabel = > new TranslatableString ( getKey ( @"show_label" ) , @"Show label" ) ;
/// <summary>
2023-11-16 14:11:01 +09:00
/// "Whether the component's label should be shown."
2023-11-14 20:45:23 -08:00
/// </summary>
2023-11-16 14:11:01 +09:00
public static LocalisableString ShowLabelDescription = > new TranslatableString ( getKey ( @"show_label_description" ) , @"Whether the component's label should be shown." ) ;
2023-11-14 20:45:23 -08:00
2024-08-06 11:06:08 +02:00
/// <summary>
/// "Colour"
/// </summary>
public static LocalisableString Colour = > new TranslatableString ( getKey ( @"colour" ) , @"Colour" ) ;
/// <summary>
/// "The colour of the component."
/// </summary>
public static LocalisableString ColourDescription = > new TranslatableString ( getKey ( @"colour_description" ) , @"The colour of the component." ) ;
/// <summary>
2024-09-20 16:50:17 +02:00
/// "Text colour"
2024-08-06 11:06:08 +02:00
/// </summary>
2024-09-20 16:50:17 +02:00
public static LocalisableString TextColour = > new TranslatableString ( getKey ( @"text_colour" ) , @"Text colour" ) ;
2024-08-06 11:06:08 +02:00
/// <summary>
2024-09-20 16:50:17 +02:00
/// "The colour of the text."
2024-08-06 11:06:08 +02:00
/// </summary>
2024-09-20 16:50:17 +02:00
public static LocalisableString TextColourDescription = > new TranslatableString ( getKey ( @"text_colour_description" ) , @"The colour of the text." ) ;
2024-08-06 11:06:08 +02:00
2024-10-18 11:39:52 +02:00
/// <summary>
/// "Use relative size"
/// </summary>
public static LocalisableString UseRelativeSize = > new TranslatableString ( getKey ( @"use_relative_size" ) , @"Use relative size" ) ;
2023-11-16 14:11:01 +09:00
private static string getKey ( string key ) = > $@"{prefix}:{key}" ;
2023-02-03 16:02:16 +09:00
}
}