// 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 MailStrings { private const string prefix = @"osu.Game.Resources.Localisation.Web.Mail"; /// /// "Just letting you know that there has been a new update in beatmap "{0}" since your last visit." /// public static LocalisableString BeatmapsetUpdateNoticeNew(LocalisableString title) => new TranslatableString(getKey(@"beatmapset_update_notice.new"), @"Just letting you know that there has been a new update in beatmap ""{0}"" since your last visit.", title); /// /// "New update for beatmap "{0}"" /// public static LocalisableString BeatmapsetUpdateNoticeSubject(LocalisableString title) => new TranslatableString(getKey(@"beatmapset_update_notice.subject"), @"New update for beatmap ""{0}""", title); /// /// "If you no longer wish to watch this beatmap, you can either click the "Unwatch" link found in the page above, or from the modding watchlist page:" /// public static LocalisableString BeatmapsetUpdateNoticeUnwatch => new TranslatableString(getKey(@"beatmapset_update_notice.unwatch"), @"If you no longer wish to watch this beatmap, you can either click the ""Unwatch"" link found in the page above, or from the modding watchlist page:"); /// /// "Visit the discussion page here:" /// public static LocalisableString BeatmapsetUpdateNoticeVisit => new TranslatableString(getKey(@"beatmapset_update_notice.visit"), @"Visit the discussion page here:"); /// /// "Regards," /// public static LocalisableString CommonClosing => new TranslatableString(getKey(@"common.closing"), @"Regards,"); /// /// "Hi {0}," /// public static LocalisableString CommonHello(LocalisableString user) => new TranslatableString(getKey(@"common.hello"), @"Hi {0},", user); /// /// "Please reply to this email IMMEDIATELY if you did not request this change." /// public static LocalisableString CommonReport => new TranslatableString(getKey(@"common.report"), @"Please reply to this email IMMEDIATELY if you did not request this change."); /// /// "More new supporter benefits will appear over time, as well!" /// public static LocalisableString DonationThanksBenefitMore => new TranslatableString(getKey(@"donation_thanks.benefit_more"), @"More new supporter benefits will appear over time, as well!"); /// /// "If you have any questions or feedback, don't hesitate to reply to this mail; I'll get back to you as soon as possible!" /// public static LocalisableString DonationThanksFeedback => new TranslatableString(getKey(@"donation_thanks.feedback"), @"If you have any questions or feedback, don't hesitate to reply to this mail; I'll get back to you as soon as possible!"); /// /// "It is thanks to people like you that osu! is able to keep the game and community running smoothly without any advertisements or forced payments." /// public static LocalisableString DonationThanksKeepFree => new TranslatableString(getKey(@"donation_thanks.keep_free"), @"It is thanks to people like you that osu! is able to keep the game and community running smoothly without any advertisements or forced payments."); /// /// "Your support keeps osu! running for around {0}! It may not seem like much, but it all adds up :)." /// public static LocalisableString DonationThanksKeepRunning(LocalisableString minutes) => new TranslatableString(getKey(@"donation_thanks.keep_running"), @"Your support keeps osu! running for around {0}! It may not seem like much, but it all adds up :).", minutes); /// /// "Thanks, osu! <3s you" /// public static LocalisableString DonationThanksSubject => new TranslatableString(getKey(@"donation_thanks.subject"), @"Thanks, osu! <3s you"); /// /// "A community-provided translation for informational purposes follows:" /// public static LocalisableString DonationThanksTranslation => new TranslatableString(getKey(@"donation_thanks.translation"), @"A community-provided translation for informational purposes follows:"); /// /// "Your giftee(s) will now have access to osu!direct and many other supporter benefits." /// public static LocalisableString DonationThanksBenefitGift => new TranslatableString(getKey(@"donation_thanks.benefit.gift"), @"Your giftee(s) will now have access to osu!direct and many other supporter benefits."); /// /// "You will now have access to osu!direct and many other supporter benefits for {0}." /// public static LocalisableString DonationThanksBenefitSelf(LocalisableString duration) => new TranslatableString(getKey(@"donation_thanks.benefit.self"), @"You will now have access to osu!direct and many other supporter benefits for {0}.", duration); /// /// "Thanks a lot for your {0} towards osu!." /// public static LocalisableString DonationThanksSupportDefault(LocalisableString support) => new TranslatableString(getKey(@"donation_thanks.support._"), @"Thanks a lot for your {0} towards osu!.", support); /// /// "support" /// public static LocalisableString DonationThanksSupportFirst => new TranslatableString(getKey(@"donation_thanks.support.first"), @"support"); /// /// "continued support" /// public static LocalisableString DonationThanksSupportRepeat => new TranslatableString(getKey(@"donation_thanks.support.repeat"), @"continued support"); /// /// "Just letting you know that there has been a new reply in "{0}" since your last visit." /// public static LocalisableString ForumNewReplyNew(LocalisableString title) => new TranslatableString(getKey(@"forum_new_reply.new"), @"Just letting you know that there has been a new reply in ""{0}"" since your last visit.", title); /// /// "[osu!] New reply for topic "{0}"" /// public static LocalisableString ForumNewReplySubject(LocalisableString title) => new TranslatableString(getKey(@"forum_new_reply.subject"), @"[osu!] New reply for topic ""{0}""", title); /// /// "If you no longer wish to watch this topic, you can either click the "Unsubscribe topic" link found at the bottom of the topic above, or from topic subscriptions management page:" /// public static LocalisableString ForumNewReplyUnwatch => new TranslatableString(getKey(@"forum_new_reply.unwatch"), @"If you no longer wish to watch this topic, you can either click the ""Unsubscribe topic"" link found at the bottom of the topic above, or from topic subscriptions management page:"); /// /// "Jump straight to the latest reply using the following link:" /// public static LocalisableString ForumNewReplyVisit => new TranslatableString(getKey(@"forum_new_reply.visit"), @"Jump straight to the latest reply using the following link:"); /// /// "Your verification code is:" /// public static LocalisableString PasswordResetCode => new TranslatableString(getKey(@"password_reset.code"), @"Your verification code is:"); /// /// "Either you or someone pretending to be you has requested a password reset on your osu! account." /// public static LocalisableString PasswordResetRequested => new TranslatableString(getKey(@"password_reset.requested"), @"Either you or someone pretending to be you has requested a password reset on your osu! account."); /// /// "osu! account recovery" /// public static LocalisableString PasswordResetSubject => new TranslatableString(getKey(@"password_reset.subject"), @"osu! account recovery"); /// /// "We have received your payment and are preparing your order for shipping. It may take a few days for us to send it out, depending on the quantity of orders. You can follow the progress of your order here, including tracking details where available:" /// public static LocalisableString StorePaymentCompletedPrepareShipping => new TranslatableString(getKey(@"store_payment_completed.prepare_shipping"), @"We have received your payment and are preparing your order for shipping. It may take a few days for us to send it out, depending on the quantity of orders. You can follow the progress of your order here, including tracking details where available:"); /// /// "We have received your payment and are currently processing your order. You can follow the progress of your order here:" /// public static LocalisableString StorePaymentCompletedProcessing => new TranslatableString(getKey(@"store_payment_completed.processing"), @"We have received your payment and are currently processing your order. You can follow the progress of your order here:"); /// /// "If you have any questions, don't hesitate to reply to this email." /// public static LocalisableString StorePaymentCompletedQuestions => new TranslatableString(getKey(@"store_payment_completed.questions"), @"If you have any questions, don't hesitate to reply to this email."); /// /// "Shipping" /// public static LocalisableString StorePaymentCompletedShipping => new TranslatableString(getKey(@"store_payment_completed.shipping"), @"Shipping"); /// /// "We received your osu!store order!" /// public static LocalisableString StorePaymentCompletedSubject => new TranslatableString(getKey(@"store_payment_completed.subject"), @"We received your osu!store order!"); /// /// "Thanks for your osu!store order!" /// public static LocalisableString StorePaymentCompletedThankYou => new TranslatableString(getKey(@"store_payment_completed.thank_you"), @"Thanks for your osu!store order!"); /// /// "Total" /// public static LocalisableString StorePaymentCompletedTotal => new TranslatableString(getKey(@"store_payment_completed.total"), @"Total"); /// /// "The person who gifted you this tag may choose to remain anonymous, so they have not been mentioned in this notification." /// public static LocalisableString SupporterGiftAnonymousGift => new TranslatableString(getKey(@"supporter_gift.anonymous_gift"), @"The person who gifted you this tag may choose to remain anonymous, so they have not been mentioned in this notification."); /// /// "But you likely already know who it is ;)." /// public static LocalisableString SupporterGiftAnonymousGiftMaybeNot => new TranslatableString(getKey(@"supporter_gift.anonymous_gift_maybe_not"), @"But you likely already know who it is ;)."); /// /// "Thanks to them, you have access to osu!direct and other osu!supporter benefits for the next {0}." /// public static LocalisableString SupporterGiftDuration(LocalisableString duration) => new TranslatableString(getKey(@"supporter_gift.duration"), @"Thanks to them, you have access to osu!direct and other osu!supporter benefits for the next {0}.", duration); /// /// "You can find out more details on these features here:" /// public static LocalisableString SupporterGiftFeatures => new TranslatableString(getKey(@"supporter_gift.features"), @"You can find out more details on these features here:"); /// /// "Someone has just gifted you an osu!supporter tag!" /// public static LocalisableString SupporterGiftGifted => new TranslatableString(getKey(@"supporter_gift.gifted"), @"Someone has just gifted you an osu!supporter tag!"); /// /// "You have been gifted an osu!supporter tag!" /// public static LocalisableString SupporterGiftSubject => new TranslatableString(getKey(@"supporter_gift.subject"), @"You have been gifted an osu!supporter tag!"); /// /// "This is a confirmation email to inform you that your osu! email address has been changed to: "{0}"." /// public static LocalisableString UserEmailUpdatedChangedTo(LocalisableString email) => new TranslatableString(getKey(@"user_email_updated.changed_to"), @"This is a confirmation email to inform you that your osu! email address has been changed to: ""{0}"".", email); /// /// "Please ensure that you received this email at your new address to prevent losing access your osu! account in the future." /// public static LocalisableString UserEmailUpdatedCheck => new TranslatableString(getKey(@"user_email_updated.check"), @"Please ensure that you received this email at your new address to prevent losing access your osu! account in the future."); /// /// "For security reasons, this email has been sent both to your new and old email address." /// public static LocalisableString UserEmailUpdatedSent => new TranslatableString(getKey(@"user_email_updated.sent"), @"For security reasons, this email has been sent both to your new and old email address."); /// /// "osu! email change confirmation" /// public static LocalisableString UserEmailUpdatedSubject => new TranslatableString(getKey(@"user_email_updated.subject"), @"osu! email change confirmation"); /// /// "Your account is suspected to have been compromised, has recent suspicious activity or a VERY weak password. As a result, we require you to set a new password. Please make sure to choose a SECURE password." /// public static LocalisableString UserForceReactivationMain => new TranslatableString(getKey(@"user_force_reactivation.main"), @"Your account is suspected to have been compromised, has recent suspicious activity or a VERY weak password. As a result, we require you to set a new password. Please make sure to choose a SECURE password."); /// /// "You can perform the reset from {0}" /// public static LocalisableString UserForceReactivationPerformReset(LocalisableString url) => new TranslatableString(getKey(@"user_force_reactivation.perform_reset"), @"You can perform the reset from {0}", url); /// /// "Reason:" /// public static LocalisableString UserForceReactivationReason => new TranslatableString(getKey(@"user_force_reactivation.reason"), @"Reason:"); /// /// "osu! Account Reactivation Required" /// public static LocalisableString UserForceReactivationSubject => new TranslatableString(getKey(@"user_force_reactivation.subject"), @"osu! Account Reactivation Required"); /// /// "Just letting you know that there have been new updates on items you are watching." /// public static LocalisableString UserNotificationDigestNew => new TranslatableString(getKey(@"user_notification_digest.new"), @"Just letting you know that there have been new updates on items you are watching."); /// /// "Change email notification preferences:" /// public static LocalisableString UserNotificationDigestSettings => new TranslatableString(getKey(@"user_notification_digest.settings"), @"Change email notification preferences:"); /// /// "New osu! notifications" /// public static LocalisableString UserNotificationDigestSubject => new TranslatableString(getKey(@"user_notification_digest.subject"), @"New osu! notifications"); /// /// "This is just a confirmation that your osu! password has been changed." /// public static LocalisableString UserPasswordUpdatedConfirmation => new TranslatableString(getKey(@"user_password_updated.confirmation"), @"This is just a confirmation that your osu! password has been changed."); /// /// "osu! password change confirmation" /// public static LocalisableString UserPasswordUpdatedSubject => new TranslatableString(getKey(@"user_password_updated.subject"), @"osu! password change confirmation"); /// /// "Your verification code is:" /// public static LocalisableString UserVerificationCode => new TranslatableString(getKey(@"user_verification.code"), @"Your verification code is:"); /// /// "You can enter the code with or without spaces." /// public static LocalisableString UserVerificationCodeHint => new TranslatableString(getKey(@"user_verification.code_hint"), @"You can enter the code with or without spaces."); /// /// "Alternatively, you can also visit this link below to finish verification:" /// public static LocalisableString UserVerificationLink => new TranslatableString(getKey(@"user_verification.link"), @"Alternatively, you can also visit this link below to finish verification:"); /// /// "If you did not request this, please REPLY IMMEDIATELY as your account may be in danger." /// public static LocalisableString UserVerificationReport => new TranslatableString(getKey(@"user_verification.report"), @"If you did not request this, please REPLY IMMEDIATELY as your account may be in danger."); /// /// "osu! account verification" /// public static LocalisableString UserVerificationSubject => new TranslatableString(getKey(@"user_verification.subject"), @"osu! account verification"); /// /// "An action performed on your account from {0} requires verification." /// public static LocalisableString UserVerificationActionFromDefault(LocalisableString country) => new TranslatableString(getKey(@"user_verification.action_from._"), @"An action performed on your account from {0} requires verification.", country); /// /// "unknown country" /// public static LocalisableString UserVerificationActionFromUnknownCountry => new TranslatableString(getKey(@"user_verification.action_from.unknown_country"), @"unknown country"); private static string getKey(string key) => $@"{prefix}:{key}"; } }