mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 15:23:14 +08:00
Apply key renaming suggestions
This commit is contained in:
parent
ed95fb5982
commit
8cecfef2ff
@ -27,29 +27,29 @@ namespace osu.Game.Localisation
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Help, I can't access my account!"
|
/// "Help, I can't access my account!"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString HelpICantAccess => new TranslatableString(getKey(@"help_icant_access"), @"Help, I can't access my account!");
|
public static LocalisableString MultiAccountWarningHelp => new TranslatableString(getKey(@"multi_account_warning_help"), @"Help, I can't access my account!");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "I understand. This account isn't for me."
|
/// "I understand. This account isn't for me."
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString AccountIsntForMe => new TranslatableString(getKey(@"account_isnt_for_me"), @"I understand. This account isn't for me.");
|
public static LocalisableString MultiAccountWarningAccept => new TranslatableString(getKey(@"multi_account_warning_accept"), @"I understand. This account isn't for me.");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "This will be your public presence. No profanity, no impersonation. Avoid exposing your own personal details, too!"
|
/// "This will be your public presence. No profanity, no impersonation. Avoid exposing your own personal details, too!"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString ThisWillBeYourPublic => new TranslatableString(getKey(@"this_will_be_your_public"),
|
public static LocalisableString UsernameDescription => new TranslatableString(getKey(@"username_description"),
|
||||||
@"This will be your public presence. No profanity, no impersonation. Avoid exposing your own personal details, too!");
|
@"This will be your public presence. No profanity, no impersonation. Avoid exposing your own personal details, too!");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Will be used for notifications, account verification and in the case you forget your password. No spam, ever."
|
/// "Will be used for notifications, account verification and in the case you forget your password. No spam, ever."
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString EmailUsage =>
|
public static LocalisableString EmailDescription1 =>
|
||||||
new TranslatableString(getKey(@"email_usage"), @"Will be used for notifications, account verification and in the case you forget your password. No spam, ever.");
|
new TranslatableString(getKey(@"email_description_1"), @"Will be used for notifications, account verification and in the case you forget your password. No spam, ever.");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// " Make sure to get it right!"
|
/// " Make sure to get it right!"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString MakeSureToGetIt => new TranslatableString(getKey(@"make_sure_to_get_it"), @" Make sure to get it right!");
|
public static LocalisableString EmailDescription2 => new TranslatableString(getKey(@"email_description_2"), @" Make sure to get it right!");
|
||||||
|
|
||||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||||
}
|
}
|
||||||
|
@ -134,10 +134,10 @@ namespace osu.Game.Overlays.AccountCreation
|
|||||||
|
|
||||||
textboxes = new[] { usernameTextBox, emailTextBox, passwordTextBox };
|
textboxes = new[] { usernameTextBox, emailTextBox, passwordTextBox };
|
||||||
|
|
||||||
usernameDescription.AddText(AccountCreationStrings.ThisWillBeYourPublic);
|
usernameDescription.AddText(AccountCreationStrings.UsernameDescription);
|
||||||
|
|
||||||
emailAddressDescription.AddText(AccountCreationStrings.EmailUsage);
|
emailAddressDescription.AddText(AccountCreationStrings.EmailDescription1);
|
||||||
emailAddressDescription.AddText(AccountCreationStrings.MakeSureToGetIt, cp => cp.Font = cp.Font.With(Typeface.Torus, weight: FontWeight.Bold));
|
emailAddressDescription.AddText(AccountCreationStrings.EmailDescription2, cp => cp.Font = cp.Font.With(Typeface.Torus, weight: FontWeight.Bold));
|
||||||
|
|
||||||
passwordDescription.AddText("At least ");
|
passwordDescription.AddText("At least ");
|
||||||
characterCheckText = passwordDescription.AddText("8 characters long");
|
characterCheckText = passwordDescription.AddText("8 characters long");
|
||||||
|
@ -102,13 +102,13 @@ namespace osu.Game.Overlays.AccountCreation
|
|||||||
},
|
},
|
||||||
new SettingsButton
|
new SettingsButton
|
||||||
{
|
{
|
||||||
Text = AccountCreationStrings.HelpICantAccess,
|
Text = AccountCreationStrings.MultiAccountWarningHelp,
|
||||||
Margin = new MarginPadding { Top = 50 },
|
Margin = new MarginPadding { Top = 50 },
|
||||||
Action = () => game?.OpenUrlExternally(help_centre_url)
|
Action = () => game?.OpenUrlExternally(help_centre_url)
|
||||||
},
|
},
|
||||||
new DangerousSettingsButton
|
new DangerousSettingsButton
|
||||||
{
|
{
|
||||||
Text = AccountCreationStrings.AccountIsntForMe,
|
Text = AccountCreationStrings.MultiAccountWarningAccept,
|
||||||
Action = () => this.Push(new ScreenEntry())
|
Action = () => this.Push(new ScreenEntry())
|
||||||
},
|
},
|
||||||
furtherAssistance = new LinkFlowContainer(cp => cp.Font = cp.Font.With(size: 12))
|
furtherAssistance = new LinkFlowContainer(cp => cp.Font = cp.Font.With(size: 12))
|
||||||
|
Loading…
Reference in New Issue
Block a user