// 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 BeatmapsetEventsStrings { private const string prefix = @"osu.Game.Resources.Localisation.Web.BeatmapsetEvents"; /// /// "Approved." /// public static LocalisableString EventApprove => new TranslatableString(getKey(@"event.approve"), @"Approved."); /// /// "Owner of difficulty {0} changed to {1}." /// public static LocalisableString EventBeatmapOwnerChange(LocalisableString beatmap, LocalisableString newUser) => new TranslatableString(getKey(@"event.beatmap_owner_change"), @"Owner of difficulty {0} changed to {1}.", beatmap, newUser); /// /// "Moderator deleted discussion {0}." /// public static LocalisableString EventDiscussionDelete(LocalisableString discussion) => new TranslatableString(getKey(@"event.discussion_delete"), @"Moderator deleted discussion {0}.", discussion); /// /// "Discussion for this beatmap has been disabled. ({0})" /// public static LocalisableString EventDiscussionLock(LocalisableString text) => new TranslatableString(getKey(@"event.discussion_lock"), @"Discussion for this beatmap has been disabled. ({0})", text); /// /// "Moderator deleted post from discussion {0}." /// public static LocalisableString EventDiscussionPostDelete(LocalisableString discussion) => new TranslatableString(getKey(@"event.discussion_post_delete"), @"Moderator deleted post from discussion {0}.", discussion); /// /// "Moderator restored post from discussion {0}." /// public static LocalisableString EventDiscussionPostRestore(LocalisableString discussion) => new TranslatableString(getKey(@"event.discussion_post_restore"), @"Moderator restored post from discussion {0}.", discussion); /// /// "Moderator restored discussion {0}." /// public static LocalisableString EventDiscussionRestore(LocalisableString discussion) => new TranslatableString(getKey(@"event.discussion_restore"), @"Moderator restored discussion {0}.", discussion); /// /// "Discussion for this beatmap has been enabled." /// public static LocalisableString EventDiscussionUnlock => new TranslatableString(getKey(@"event.discussion_unlock"), @"Discussion for this beatmap has been enabled."); /// /// "Disqualified by {0}. Reason: {1} ({2})." /// public static LocalisableString EventDisqualify(LocalisableString user, LocalisableString discussion, LocalisableString text) => new TranslatableString(getKey(@"event.disqualify"), @"Disqualified by {0}. Reason: {1} ({2}).", user, discussion, text); /// /// "Disqualified by {0}. Reason: {1}." /// public static LocalisableString EventDisqualifyLegacy(LocalisableString user, LocalisableString text) => new TranslatableString(getKey(@"event.disqualify_legacy"), @"Disqualified by {0}. Reason: {1}.", user, text); /// /// "Genre changed from {0} to {1}." /// public static LocalisableString EventGenreEdit(LocalisableString old, LocalisableString @new) => new TranslatableString(getKey(@"event.genre_edit"), @"Genre changed from {0} to {1}.", old, @new); /// /// "Resolved issue {0} by {1} reopened by {2}." /// public static LocalisableString EventIssueReopen(LocalisableString discussion, LocalisableString discussionUser, LocalisableString user) => new TranslatableString(getKey(@"event.issue_reopen"), @"Resolved issue {0} by {1} reopened by {2}.", discussion, discussionUser, user); /// /// "Issue {0} by {1} marked as resolved by {2}." /// public static LocalisableString EventIssueResolve(LocalisableString discussion, LocalisableString discussionUser, LocalisableString user) => new TranslatableString(getKey(@"event.issue_resolve"), @"Issue {0} by {1} marked as resolved by {2}.", discussion, discussionUser, user); /// /// "Kudosu denial for discussion {0} has been removed." /// public static LocalisableString EventKudosuAllow(LocalisableString discussion) => new TranslatableString(getKey(@"event.kudosu_allow"), @"Kudosu denial for discussion {0} has been removed.", discussion); /// /// "Discussion {0} denied for kudosu." /// public static LocalisableString EventKudosuDeny(LocalisableString discussion) => new TranslatableString(getKey(@"event.kudosu_deny"), @"Discussion {0} denied for kudosu.", discussion); /// /// "Discussion {0} by {1} obtained enough votes for kudosu." /// public static LocalisableString EventKudosuGain(LocalisableString discussion, LocalisableString user) => new TranslatableString(getKey(@"event.kudosu_gain"), @"Discussion {0} by {1} obtained enough votes for kudosu.", discussion, user); /// /// "Discussion {0} by {1} lost votes and granted kudosu has been removed." /// public static LocalisableString EventKudosuLost(LocalisableString discussion, LocalisableString user) => new TranslatableString(getKey(@"event.kudosu_lost"), @"Discussion {0} by {1} lost votes and granted kudosu has been removed.", discussion, user); /// /// "Discussion {0} has had its kudosu grants recalculated." /// public static LocalisableString EventKudosuRecalculate(LocalisableString discussion) => new TranslatableString(getKey(@"event.kudosu_recalculate"), @"Discussion {0} has had its kudosu grants recalculated.", discussion); /// /// "Language changed from {0} to {1}." /// public static LocalisableString EventLanguageEdit(LocalisableString old, LocalisableString @new) => new TranslatableString(getKey(@"event.language_edit"), @"Language changed from {0} to {1}.", old, @new); /// /// "Loved by {0}." /// public static LocalisableString EventLove(LocalisableString user) => new TranslatableString(getKey(@"event.love"), @"Loved by {0}.", user); /// /// "Nominated by {0}." /// public static LocalisableString EventNominate(LocalisableString user) => new TranslatableString(getKey(@"event.nominate"), @"Nominated by {0}.", user); /// /// "Nominated by {0} ({1})." /// public static LocalisableString EventNominateModes(LocalisableString user, LocalisableString modes) => new TranslatableString(getKey(@"event.nominate_modes"), @"Nominated by {0} ({1}).", user, modes); /// /// "New problem {0} ({1}) triggered a nomination reset." /// public static LocalisableString EventNominationReset(LocalisableString discussion, LocalisableString text) => new TranslatableString(getKey(@"event.nomination_reset"), @"New problem {0} ({1}) triggered a nomination reset.", discussion, text); /// /// "Nomination by {0} was reset by {1} ({2})" /// public static LocalisableString EventNominationResetReceived(LocalisableString user, LocalisableString sourceUser, LocalisableString text) => new TranslatableString(getKey(@"event.nomination_reset_received"), @"Nomination by {0} was reset by {1} ({2})", user, sourceUser, text); /// /// "Nomination was reset by {0} ({1})" /// public static LocalisableString EventNominationResetReceivedProfile(LocalisableString user, LocalisableString text) => new TranslatableString(getKey(@"event.nomination_reset_received_profile"), @"Nomination was reset by {0} ({1})", user, text); /// /// "Online offset changed from {0} to {1}." /// public static LocalisableString EventOffsetEdit(LocalisableString old, LocalisableString @new) => new TranslatableString(getKey(@"event.offset_edit"), @"Online offset changed from {0} to {1}.", old, @new); /// /// "This beatmap has reached the required number of nominations and has been qualified." /// public static LocalisableString EventQualify => new TranslatableString(getKey(@"event.qualify"), @"This beatmap has reached the required number of nominations and has been qualified."); /// /// "Ranked." /// public static LocalisableString EventRank => new TranslatableString(getKey(@"event.rank"), @"Ranked."); /// /// "Removed from Loved by {0}. ({1})" /// public static LocalisableString EventRemoveFromLoved(LocalisableString user, LocalisableString text) => new TranslatableString(getKey(@"event.remove_from_loved"), @"Removed from Loved by {0}. ({1})", user, text); /// /// "Removed explicit mark" /// public static LocalisableString EventNsfwToggleTo0 => new TranslatableString(getKey(@"event.nsfw_toggle.to_0"), @"Removed explicit mark"); /// /// "Marked as explicit" /// public static LocalisableString EventNsfwToggleTo1 => new TranslatableString(getKey(@"event.nsfw_toggle.to_1"), @"Marked as explicit"); /// /// "Beatmapset Events" /// public static LocalisableString IndexTitle => new TranslatableString(getKey(@"index.title"), @"Beatmapset Events"); /// /// "Period" /// public static LocalisableString IndexFormPeriod => new TranslatableString(getKey(@"index.form.period"), @"Period"); /// /// "Types" /// public static LocalisableString IndexFormTypes => new TranslatableString(getKey(@"index.form.types"), @"Types"); /// /// "Content" /// public static LocalisableString ItemContent => new TranslatableString(getKey(@"item.content"), @"Content"); /// /// "[deleted]" /// public static LocalisableString ItemDiscussionDeleted => new TranslatableString(getKey(@"item.discussion_deleted"), @"[deleted]"); /// /// "Type" /// public static LocalisableString ItemType => new TranslatableString(getKey(@"item.type"), @"Type"); /// /// "Approval" /// public static LocalisableString TypeApprove => new TranslatableString(getKey(@"type.approve"), @"Approval"); /// /// "Difficulty owner change" /// public static LocalisableString TypeBeatmapOwnerChange => new TranslatableString(getKey(@"type.beatmap_owner_change"), @"Difficulty owner change"); /// /// "Discussion deletion" /// public static LocalisableString TypeDiscussionDelete => new TranslatableString(getKey(@"type.discussion_delete"), @"Discussion deletion"); /// /// "Discussion reply deletion" /// public static LocalisableString TypeDiscussionPostDelete => new TranslatableString(getKey(@"type.discussion_post_delete"), @"Discussion reply deletion"); /// /// "Discussion reply restoration" /// public static LocalisableString TypeDiscussionPostRestore => new TranslatableString(getKey(@"type.discussion_post_restore"), @"Discussion reply restoration"); /// /// "Discussion restoration" /// public static LocalisableString TypeDiscussionRestore => new TranslatableString(getKey(@"type.discussion_restore"), @"Discussion restoration"); /// /// "Disqualification" /// public static LocalisableString TypeDisqualify => new TranslatableString(getKey(@"type.disqualify"), @"Disqualification"); /// /// "Genre edit" /// public static LocalisableString TypeGenreEdit => new TranslatableString(getKey(@"type.genre_edit"), @"Genre edit"); /// /// "Discussion reopening" /// public static LocalisableString TypeIssueReopen => new TranslatableString(getKey(@"type.issue_reopen"), @"Discussion reopening"); /// /// "Discussion resolving" /// public static LocalisableString TypeIssueResolve => new TranslatableString(getKey(@"type.issue_resolve"), @"Discussion resolving"); /// /// "Kudosu allowance" /// public static LocalisableString TypeKudosuAllow => new TranslatableString(getKey(@"type.kudosu_allow"), @"Kudosu allowance"); /// /// "Kudosu denial" /// public static LocalisableString TypeKudosuDeny => new TranslatableString(getKey(@"type.kudosu_deny"), @"Kudosu denial"); /// /// "Kudosu gain" /// public static LocalisableString TypeKudosuGain => new TranslatableString(getKey(@"type.kudosu_gain"), @"Kudosu gain"); /// /// "Kudosu loss" /// public static LocalisableString TypeKudosuLost => new TranslatableString(getKey(@"type.kudosu_lost"), @"Kudosu loss"); /// /// "Kudosu recalculation" /// public static LocalisableString TypeKudosuRecalculate => new TranslatableString(getKey(@"type.kudosu_recalculate"), @"Kudosu recalculation"); /// /// "Language edit" /// public static LocalisableString TypeLanguageEdit => new TranslatableString(getKey(@"type.language_edit"), @"Language edit"); /// /// "Love" /// public static LocalisableString TypeLove => new TranslatableString(getKey(@"type.love"), @"Love"); /// /// "Nomination" /// public static LocalisableString TypeNominate => new TranslatableString(getKey(@"type.nominate"), @"Nomination"); /// /// "Nomination resetting" /// public static LocalisableString TypeNominationReset => new TranslatableString(getKey(@"type.nomination_reset"), @"Nomination resetting"); /// /// "Nomination reset received" /// public static LocalisableString TypeNominationResetReceived => new TranslatableString(getKey(@"type.nomination_reset_received"), @"Nomination reset received"); /// /// "Explicit mark" /// public static LocalisableString TypeNsfwToggle => new TranslatableString(getKey(@"type.nsfw_toggle"), @"Explicit mark"); /// /// "Offset edit" /// public static LocalisableString TypeOffsetEdit => new TranslatableString(getKey(@"type.offset_edit"), @"Offset edit"); /// /// "Qualification" /// public static LocalisableString TypeQualify => new TranslatableString(getKey(@"type.qualify"), @"Qualification"); /// /// "Ranking" /// public static LocalisableString TypeRank => new TranslatableString(getKey(@"type.rank"), @"Ranking"); /// /// "Loved removal" /// public static LocalisableString TypeRemoveFromLoved => new TranslatableString(getKey(@"type.remove_from_loved"), @"Loved removal"); private static string getKey(string key) => $@"{prefix}:{key}"; } }