// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Localisation; namespace osu.Game.Resources.Localisation.Web { public static class PasswordResetStrings { private const string prefix = @"osu.Game.Resources.Localisation.Web.PasswordReset"; /// /// "Cancel" /// public static LocalisableString ButtonCancel => new TranslatableString(getKey(@"button.cancel"), @"Cancel"); /// /// "Resend verification email" /// public static LocalisableString ButtonResend => new TranslatableString(getKey(@"button.resend"), @"Resend verification email"); /// /// "Set password" /// public static LocalisableString ButtonSet => new TranslatableString(getKey(@"button.set"), @"Set password"); /// /// "Start" /// public static LocalisableString ButtonStart => new TranslatableString(getKey(@"button.start"), @"Start"); /// /// "Please contact support to recover account." /// public static LocalisableString ErrorContactSupport => new TranslatableString(getKey(@"error.contact_support"), @"Please contact support to recover account."); /// /// "Verification code has expired." /// public static LocalisableString ErrorExpired => new TranslatableString(getKey(@"error.expired"), @"Verification code has expired."); /// /// "Unexpected error in verification code." /// public static LocalisableString ErrorInvalid => new TranslatableString(getKey(@"error.invalid"), @"Unexpected error in verification code."); /// /// "Please contact a high level admin to recover account." /// public static LocalisableString ErrorIsPrivileged => new TranslatableString(getKey(@"error.is_privileged"), @"Please contact a high level admin to recover account."); /// /// "Required." /// public static LocalisableString ErrorMissingKey => new TranslatableString(getKey(@"error.missing_key"), @"Required."); /// /// "Too many failed attempts." /// public static LocalisableString ErrorTooManyTries => new TranslatableString(getKey(@"error.too_many_tries"), @"Too many failed attempts."); /// /// "Requested user does not exist." /// public static LocalisableString ErrorUserNotFound => new TranslatableString(getKey(@"error.user_not_found"), @"Requested user does not exist."); /// /// "Incorrect code." /// public static LocalisableString ErrorWrongKey => new TranslatableString(getKey(@"error.wrong_key"), @"Incorrect code."); /// /// "Check your email for the verification code." /// public static LocalisableString NoticeSent => new TranslatableString(getKey(@"notice.sent"), @"Check your email for the verification code."); /// /// "New password saved!" /// public static LocalisableString NoticeSaved => new TranslatableString(getKey(@"notice.saved"), @"New password saved!"); /// /// "New password" /// public static LocalisableString StartedPassword => new TranslatableString(getKey(@"started.password"), @"New password"); /// /// "Password confirmation" /// public static LocalisableString StartedPasswordConfirmation => new TranslatableString(getKey(@"started.password_confirmation"), @"Password confirmation"); /// /// "Resetting password for account <strong>{0}</strong>." /// public static LocalisableString StartedTitle(LocalisableString username) => new TranslatableString(getKey(@"started.title"), @"Resetting password for account {0}.", username); /// /// "Verification code" /// public static LocalisableString StartedVerificationKey => new TranslatableString(getKey(@"started.verification_key"), @"Verification code"); /// /// "Enter email address or username" /// public static LocalisableString StartingUsername => new TranslatableString(getKey(@"starting.username"), @"Enter email address or username"); /// /// "Need further assistance? Contact us via our {0}." /// public static LocalisableString StartingSupportDefault(LocalisableString button) => new TranslatableString(getKey(@"starting.support._"), @"Need further assistance? Contact us via our {0}.", button); /// /// "support system" /// public static LocalisableString StartingSupportButton => new TranslatableString(getKey(@"starting.support.button"), @"support system"); private static string getKey(string key) => $@"{prefix}:{key}"; } }