1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:47:27 +08:00

Add localisation support for new button's strings

This commit is contained in:
Dean Herbert 2022-12-24 17:32:04 +08:00
parent 91bde14fb3
commit 2c060ac8d4
2 changed files with 12 additions and 2 deletions

View File

@ -64,6 +64,16 @@ namespace osu.Game.Localisation
/// </summary>
public static LocalisableString RunSetupWizard => new TranslatableString(getKey(@"run_setup_wizard"), @"Run setup wizard");
/// <summary>
/// "Learn more about lazer"
/// </summary>
public static LocalisableString LearnMoreAboutLazer => new TranslatableString(getKey(@"learn_more_about_lazer"), @"Learn more about lazer");
/// <summary>
/// "Check out the feature comparison and FAQ"
/// </summary>
public static LocalisableString LearnMoreAboutLazerTooltip => new TranslatableString(getKey(@"check_out_the_feature_comparison"), @"Check out the feature comparison and FAQ");
/// <summary>
/// "You are running the latest release ({0})"
/// </summary>

View File

@ -39,8 +39,8 @@ namespace osu.Game.Overlays.Settings.Sections
},
new SettingsButton
{
Text = "Learn more about lazer",
TooltipText = "Check out the feature comparison and FAQ",
Text = GeneralSectionStrings.LearnMoreAboutLazer,
TooltipText = GeneralSectionStrings.CheckOutTheFeatureComparison,
BackgroundColour = colours.YellowDark,
Action = () => game?.ShowWiki(@"Help_centre/Upgrading_to_lazer")
},