// 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.Localisation { public static class DailyChallengeStrings { private const string prefix = @"osu.Game.Resources.Localisation.DailyChallenge"; /// /// "Today's daily challenge has concluded – thanks for playing! /// /// Tomorrow's challenge is now being prepared and will appear soon." /// public static LocalisableString ChallengeEndedNotification => new TranslatableString(getKey(@"todays_daily_challenge_has_concluded"), @"Today's daily challenge has concluded – thanks for playing! Tomorrow's challenge is now being prepared and will appear soon."); /// /// "Today's daily challenge is now live! Click here to play." /// public static LocalisableString ChallengeLiveNotification => new TranslatableString(getKey(@"todays_daily_challenge_is_now"), @"Today's daily challenge is now live! Click here to play."); /// /// "Today's Challenge" /// public static LocalisableString TodaysChallenge => new TranslatableString(getKey(@"todays_challenge"), @"Today's Challenge"); /// /// "Difficulty: {0}" /// public static LocalisableString DifficultyInfo(string difficultyName) => new TranslatableString(getKey(@"difficulty_info"), @"Difficulty: {0}", difficultyName); /// /// "Time remaining" /// public static LocalisableString SectionTimeRemaining => new TranslatableString(getKey(@"section_time_remaining"), @"Time remaining"); /// /// "Score breakdown" /// public static LocalisableString SectionScoreBreakdown => new TranslatableString(getKey(@"section_score_breakdown"), @"Score breakdown"); /// /// "Total pass count" /// public static LocalisableString SectionTotalPasses => new TranslatableString(getKey(@"section_total_passes"), @"Total pass count"); /// /// "Cumulative total score" /// public static LocalisableString SectionCumulativeScore => new TranslatableString(getKey(@"section_cumulative_score"), @"Cumulative total score"); /// /// "Events" /// public static LocalisableString SectionEvents => new TranslatableString(getKey(@"section_events"), @"Events"); /// /// "You" /// public static LocalisableString You => new TranslatableString(getKey(@"you"), @"You"); /// /// "{0:N0} passes in {1:N0} - {2:N0} range" /// public static LocalisableString ScoreBreakdownBarTooltip(long passesCount, int minScore, int maxScore) => new TranslatableString(getKey(@"score_breakdown_bar_tooltip"), @"{0:N0} passes in {1:N0} - {2:N0} range", passesCount, minScore, maxScore); private static string getKey(string key) => $@"{prefix}:{key}"; } }