// 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 TournamentStrings { private const string prefix = @"osu.Game.Resources.Localisation.Web.Tournament"; /// /// "There are no tournaments running at the moment, please check back later!" /// public static LocalisableString IndexNoneRunning => new TranslatableString(getKey(@"index.none_running"), @"There are no tournaments running at the moment, please check back later!"); /// /// "Registration: {0} to {1}" /// public static LocalisableString IndexRegistrationPeriod(LocalisableString start, LocalisableString end) => new TranslatableString(getKey(@"index.registration_period"), @"Registration: {0} to {1}", start, end); /// /// "Community Tournaments" /// public static LocalisableString IndexHeaderTitle => new TranslatableString(getKey(@"index.header.title"), @"Community Tournaments"); /// /// "Registered players" /// public static LocalisableString IndexItemRegistered => new TranslatableString(getKey(@"index.item.registered"), @"Registered players"); /// /// "Active Tournaments" /// public static LocalisableString IndexStateCurrent => new TranslatableString(getKey(@"index.state.current"), @"Active Tournaments"); /// /// "Past Tournaments" /// public static LocalisableString IndexStatePrevious => new TranslatableString(getKey(@"index.state.previous"), @"Past Tournaments"); /// /// "Support Your Team" /// public static LocalisableString ShowBanner => new TranslatableString(getKey(@"show.banner"), @"Support Your Team"); /// /// "You are registered for this tournament.<br><br>Please note that this does <b>not</b> mean you have been assigned to a team.<br><br>Further instructions will be sent to you via email closer to the tournament date, so please ensure your osu! account's email address is valid!" /// public static LocalisableString ShowEntered => new TranslatableString(getKey(@"show.entered"), @"You are registered for this tournament.

Please note that this does not mean you have been assigned to a team.

Further instructions will be sent to you via email closer to the tournament date, so please ensure your osu! account's email address is valid!"); /// /// "Information Page" /// public static LocalisableString ShowInfoPage => new TranslatableString(getKey(@"show.info_page"), @"Information Page"); /// /// "Please {0} to view registration details!" /// public static LocalisableString ShowLoginToRegister(LocalisableString login) => new TranslatableString(getKey(@"show.login_to_register"), @"Please {0} to view registration details!", login); /// /// "You are not registered for this tournament." /// public static LocalisableString ShowNotYetEntered => new TranslatableString(getKey(@"show.not_yet_entered"), @"You are not registered for this tournament."); /// /// "Sorry, you do not meet the rank requirements for this tournament!" /// public static LocalisableString ShowRankTooLow => new TranslatableString(getKey(@"show.rank_too_low"), @"Sorry, you do not meet the rank requirements for this tournament!"); /// /// "Registrations close on {0}" /// public static LocalisableString ShowRegistrationEnds(LocalisableString date) => new TranslatableString(getKey(@"show.registration_ends"), @"Registrations close on {0}", date); /// /// "Cancel Registration" /// public static LocalisableString ShowButtonCancel => new TranslatableString(getKey(@"show.button.cancel"), @"Cancel Registration"); /// /// "Sign me up!" /// public static LocalisableString ShowButtonRegister => new TranslatableString(getKey(@"show.button.register"), @"Sign me up!"); /// /// "End" /// public static LocalisableString ShowPeriodEnd => new TranslatableString(getKey(@"show.period.end"), @"End"); /// /// "Start" /// public static LocalisableString ShowPeriodStart => new TranslatableString(getKey(@"show.period.start"), @"Start"); /// /// "Registration for this tournament has not yet opened." /// public static LocalisableString ShowStateBeforeRegistration => new TranslatableString(getKey(@"show.state.before_registration"), @"Registration for this tournament has not yet opened."); /// /// "This tournament has concluded. Check the information page for results." /// public static LocalisableString ShowStateEnded => new TranslatableString(getKey(@"show.state.ended"), @"This tournament has concluded. Check the information page for results."); /// /// "Registration for this tournament has closed. Check the information page for latest updates." /// public static LocalisableString ShowStateRegistrationClosed => new TranslatableString(getKey(@"show.state.registration_closed"), @"Registration for this tournament has closed. Check the information page for latest updates."); /// /// "This tournament is currently in progress. Check the information page for more details." /// public static LocalisableString ShowStateRunning => new TranslatableString(getKey(@"show.state.running"), @"This tournament is currently in progress. Check the information page for more details."); /// /// "{0} to {1}" /// public static LocalisableString TournamentPeriod(LocalisableString start, LocalisableString end) => new TranslatableString(getKey(@"tournament_period"), @"{0} to {1}", start, end); private static string getKey(string key) => $@"{prefix}:{key}"; } }