// 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 UserVerificationStrings { private const string prefix = @"osu.Game.Resources.Localisation.Web.UserVerification"; /// /// "An email has been sent to {0} with a verification code. Enter the code." /// public static LocalisableString BoxSent(LocalisableString mail) => new TranslatableString(getKey(@"box.sent"), @"An email has been sent to {0} with a verification code. Enter the code.", mail); /// /// "Account Verification" /// public static LocalisableString BoxTitle => new TranslatableString(getKey(@"box.title"), @"Account Verification"); /// /// "Verifying..." /// public static LocalisableString BoxVerifying => new TranslatableString(getKey(@"box.verifying"), @"Verifying..."); /// /// "Issuing new code..." /// public static LocalisableString BoxIssuing => new TranslatableString(getKey(@"box.issuing"), @"Issuing new code..."); /// /// "Make sure to check your spam folder if you can't find the email." /// public static LocalisableString BoxInfoCheckSpam => new TranslatableString(getKey(@"box.info.check_spam"), @"Make sure to check your spam folder if you can't find the email."); /// /// "If you can't access your email or have forgotten what you used, please follow the {0}." /// public static LocalisableString BoxInfoRecover(LocalisableString link) => new TranslatableString(getKey(@"box.info.recover"), @"If you can't access your email or have forgotten what you used, please follow the {0}.", link); /// /// "email recovery process here" /// public static LocalisableString BoxInfoRecoverLink => new TranslatableString(getKey(@"box.info.recover_link"), @"email recovery process here"); /// /// "You can also {0} or {1}." /// public static LocalisableString BoxInfoReissue(LocalisableString reissueLink, LocalisableString logoutLink) => new TranslatableString(getKey(@"box.info.reissue"), @"You can also {0} or {1}.", reissueLink, logoutLink); /// /// "request another code" /// public static LocalisableString BoxInfoReissueLink => new TranslatableString(getKey(@"box.info.reissue_link"), @"request another code"); /// /// "sign out" /// public static LocalisableString BoxInfoLogoutLink => new TranslatableString(getKey(@"box.info.logout_link"), @"sign out"); /// /// "Verification code expired, new verification email sent." /// public static LocalisableString ErrorsExpired => new TranslatableString(getKey(@"errors.expired"), @"Verification code expired, new verification email sent."); /// /// "Incorrect verification code." /// public static LocalisableString ErrorsIncorrectKey => new TranslatableString(getKey(@"errors.incorrect_key"), @"Incorrect verification code."); /// /// "Incorrect verification code. Retry limit exceeded, new verification email sent." /// public static LocalisableString ErrorsRetriesExceeded => new TranslatableString(getKey(@"errors.retries_exceeded"), @"Incorrect verification code. Retry limit exceeded, new verification email sent."); /// /// "Verification code reissued, new verification email sent." /// public static LocalisableString ErrorsReissued => new TranslatableString(getKey(@"errors.reissued"), @"Verification code reissued, new verification email sent."); /// /// "Unknown problem occurred, new verification email sent." /// public static LocalisableString ErrorsUnknown => new TranslatableString(getKey(@"errors.unknown"), @"Unknown problem occurred, new verification email sent."); private static string getKey(string key) => $@"{prefix}:{key}"; } }