// 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 MatchesStrings { private const string prefix = @"osu.Game.Resources.Localisation.Web.Matches"; /// /// "deleted beatmap" /// public static LocalisableString MatchBeatmapDeleted => new TranslatableString(getKey(@"match.beatmap-deleted"), @"deleted beatmap"); /// /// "by {0}" /// public static LocalisableString MatchDifference(LocalisableString difference) => new TranslatableString(getKey(@"match.difference"), @"by {0}", difference); /// /// "FAILED" /// public static LocalisableString MatchFailed => new TranslatableString(getKey(@"match.failed"), @"FAILED"); /// /// "Multi Matches" /// public static LocalisableString MatchHeader => new TranslatableString(getKey(@"match.header"), @"Multi Matches"); /// /// "(match in progress)" /// public static LocalisableString MatchInProgress => new TranslatableString(getKey(@"match.in-progress"), @"(match in progress)"); /// /// "match in progress" /// public static LocalisableString MatchInProgressSpinnerLabel => new TranslatableString(getKey(@"match.in_progress_spinner_label"), @"match in progress"); /// /// "Loading events..." /// public static LocalisableString MatchLoadingEvents => new TranslatableString(getKey(@"match.loading-events"), @"Loading events..."); /// /// "{0} wins" /// public static LocalisableString MatchWinner(LocalisableString team) => new TranslatableString(getKey(@"match.winner"), @"{0} wins", team); /// /// "{0} left the match" /// public static LocalisableString MatchEventsPlayerLeft(LocalisableString user) => new TranslatableString(getKey(@"match.events.player-left"), @"{0} left the match", user); /// /// "{0} joined the match" /// public static LocalisableString MatchEventsPlayerJoined(LocalisableString user) => new TranslatableString(getKey(@"match.events.player-joined"), @"{0} joined the match", user); /// /// "{0} has been kicked from the match" /// public static LocalisableString MatchEventsPlayerKicked(LocalisableString user) => new TranslatableString(getKey(@"match.events.player-kicked"), @"{0} has been kicked from the match", user); /// /// "{0} created the match" /// public static LocalisableString MatchEventsMatchCreated(LocalisableString user) => new TranslatableString(getKey(@"match.events.match-created"), @"{0} created the match", user); /// /// "the match was disbanded" /// public static LocalisableString MatchEventsMatchDisbanded => new TranslatableString(getKey(@"match.events.match-disbanded"), @"the match was disbanded"); /// /// "{0} became the host" /// public static LocalisableString MatchEventsHostChanged(LocalisableString user) => new TranslatableString(getKey(@"match.events.host-changed"), @"{0} became the host", user); /// /// "a player left the match" /// public static LocalisableString MatchEventsPlayerLeftNoUser => new TranslatableString(getKey(@"match.events.player-left-no-user"), @"a player left the match"); /// /// "a player joined the match" /// public static LocalisableString MatchEventsPlayerJoinedNoUser => new TranslatableString(getKey(@"match.events.player-joined-no-user"), @"a player joined the match"); /// /// "a player has been kicked from the match" /// public static LocalisableString MatchEventsPlayerKickedNoUser => new TranslatableString(getKey(@"match.events.player-kicked-no-user"), @"a player has been kicked from the match"); /// /// "the match was created" /// public static LocalisableString MatchEventsMatchCreatedNoUser => new TranslatableString(getKey(@"match.events.match-created-no-user"), @"the match was created"); /// /// "the match was disbanded" /// public static LocalisableString MatchEventsMatchDisbandedNoUser => new TranslatableString(getKey(@"match.events.match-disbanded-no-user"), @"the match was disbanded"); /// /// "the host was changed" /// public static LocalisableString MatchEventsHostChangedNoUser => new TranslatableString(getKey(@"match.events.host-changed-no-user"), @"the host was changed"); /// /// "Accuracy" /// public static LocalisableString MatchScoreStatsAccuracy => new TranslatableString(getKey(@"match.score.stats.accuracy"), @"Accuracy"); /// /// "Combo" /// public static LocalisableString MatchScoreStatsCombo => new TranslatableString(getKey(@"match.score.stats.combo"), @"Combo"); /// /// "Score" /// public static LocalisableString MatchScoreStatsScore => new TranslatableString(getKey(@"match.score.stats.score"), @"Score"); /// /// "Head-to-head" /// public static LocalisableString MatchTeamTypesHeadToHead => new TranslatableString(getKey(@"match.team-types.head-to-head"), @"Head-to-head"); /// /// "Tag Co-op" /// public static LocalisableString MatchTeamTypesTagCoop => new TranslatableString(getKey(@"match.team-types.tag-coop"), @"Tag Co-op"); /// /// "Team VS" /// public static LocalisableString MatchTeamTypesTeamVs => new TranslatableString(getKey(@"match.team-types.team-vs"), @"Team VS"); /// /// "Tag Team VS" /// public static LocalisableString MatchTeamTypesTagTeamVs => new TranslatableString(getKey(@"match.team-types.tag-team-vs"), @"Tag Team VS"); /// /// "Blue Team" /// public static LocalisableString MatchTeamsBlue => new TranslatableString(getKey(@"match.teams.blue"), @"Blue Team"); /// /// "Red Team" /// public static LocalisableString MatchTeamsRed => new TranslatableString(getKey(@"match.teams.red"), @"Red Team"); /// /// "Highest Score" /// public static LocalisableString GameScoringTypeScore => new TranslatableString(getKey(@"game.scoring-type.score"), @"Highest Score"); /// /// "Highest Accuracy" /// public static LocalisableString GameScoringTypeAccuracy => new TranslatableString(getKey(@"game.scoring-type.accuracy"), @"Highest Accuracy"); /// /// "Highest Combo" /// public static LocalisableString GameScoringTypeCombo => new TranslatableString(getKey(@"game.scoring-type.combo"), @"Highest Combo"); /// /// "Score V2" /// public static LocalisableString GameScoringTypeScorev2 => new TranslatableString(getKey(@"game.scoring-type.scorev2"), @"Score V2"); private static string getKey(string key) => $@"{prefix}:{key}"; } }