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:
parent
91bde14fb3
commit
2c060ac8d4
@ -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>
|
||||
|
@ -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")
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user