1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Update tooltip description slightly

This commit is contained in:
Dean Herbert 2023-11-16 14:11:01 +09:00
parent 62352ce5f3
commit 39a3313929
No known key found for this signature in database

View File

@ -12,42 +12,42 @@ namespace osu.Game.Localisation.SkinComponents
/// <summary> /// <summary>
/// "Sprite name" /// "Sprite name"
/// </summary> /// </summary>
public static LocalisableString SpriteName => new TranslatableString(getKey(@"sprite_name"), "Sprite name"); public static LocalisableString SpriteName => new TranslatableString(getKey(@"sprite_name"), @"Sprite name");
/// <summary> /// <summary>
/// "The filename of the sprite" /// "The filename of the sprite"
/// </summary> /// </summary>
public static LocalisableString SpriteNameDescription => new TranslatableString(getKey(@"sprite_name_description"), "The filename of the sprite"); public static LocalisableString SpriteNameDescription => new TranslatableString(getKey(@"sprite_name_description"), @"The filename of the sprite");
/// <summary> /// <summary>
/// "Font" /// "Font"
/// </summary> /// </summary>
public static LocalisableString Font => new TranslatableString(getKey(@"font"), "Font"); public static LocalisableString Font => new TranslatableString(getKey(@"font"), @"Font");
/// <summary> /// <summary>
/// "The font to use." /// "The font to use."
/// </summary> /// </summary>
public static LocalisableString FontDescription => new TranslatableString(getKey(@"font_description"), "The font to use."); public static LocalisableString FontDescription => new TranslatableString(getKey(@"font_description"), @"The font to use.");
/// <summary> /// <summary>
/// "Text" /// "Text"
/// </summary> /// </summary>
public static LocalisableString TextElementText => new TranslatableString(getKey(@"text_element_text"), "Text"); public static LocalisableString TextElementText => new TranslatableString(getKey(@"text_element_text"), @"Text");
/// <summary> /// <summary>
/// "The text to be displayed." /// "The text to be displayed."
/// </summary> /// </summary>
public static LocalisableString TextElementTextDescription => new TranslatableString(getKey(@"text_element_text_description"), "The text to be displayed."); public static LocalisableString TextElementTextDescription => new TranslatableString(getKey(@"text_element_text_description"), @"The text to be displayed.");
/// <summary> /// <summary>
/// "Corner radius" /// "Corner radius"
/// </summary> /// </summary>
public static LocalisableString CornerRadius => new TranslatableString(getKey(@"corner_radius"), "Corner radius"); public static LocalisableString CornerRadius => new TranslatableString(getKey(@"corner_radius"), @"Corner radius");
/// <summary> /// <summary>
/// "How rounded the corners should be." /// "How rounded the corners should be."
/// </summary> /// </summary>
public static LocalisableString CornerRadiusDescription => new TranslatableString(getKey(@"corner_radius_description"), "How rounded the corners should be."); public static LocalisableString CornerRadiusDescription => new TranslatableString(getKey(@"corner_radius_description"), @"How rounded the corners should be.");
/// <summary> /// <summary>
/// "Show label" /// "Show label"
@ -55,10 +55,10 @@ namespace osu.Game.Localisation.SkinComponents
public static LocalisableString ShowLabel => new TranslatableString(getKey(@"show_label"), @"Show label"); public static LocalisableString ShowLabel => new TranslatableString(getKey(@"show_label"), @"Show label");
/// <summary> /// <summary>
/// "Whether the label should be shown." /// "Whether the component&#39;s label should be shown."
/// </summary> /// </summary>
public static LocalisableString ShowLabelDescription => new TranslatableString(getKey(@"show_label_description"), @"Whether the label should be shown."); public static LocalisableString ShowLabelDescription => new TranslatableString(getKey(@"show_label_description"), @"Whether the component's label should be shown.");
private static string getKey(string key) => $"{prefix}:{key}"; private static string getKey(string key) => $@"{prefix}:{key}";
} }
} }