// 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 RankingStatisticsStrings { private const string prefix = @"osu.Game.Resources.Localisation.RankingStatisticsStrings"; /// /// "Average Hit Error" /// public static LocalisableString AverageHitErrorTitle => new TranslatableString(getKey(@"average_hit_error_title"), @"Average Hit Error"); /// /// "Unstable Rate" /// public static LocalisableString UnstableRateTitle => new TranslatableString(getKey(@"unstable_rate_title"), @"Unstable Rate"); /// /// "{0:N2} ms early" /// public static LocalisableString Early(double offset) => new TranslatableString(getKey(@"early"), @"{0:N2} ms early", offset); /// /// "{0:N2} ms late" /// public static LocalisableString Late(double offset) => new TranslatableString(getKey(@"late"), @"{0:N2} ms late", offset); /// /// "(not available)" /// public static LocalisableString NotAvailable => new TranslatableString(getKey(@"not_available"), @"(not available)"); /// /// "Classic scoring mode is always used for this statistic." /// public static LocalisableString ClassicScoringAlwaysUsed => new TranslatableString(getKey(@"classic_scoring_always_used"), @"Classic scoring mode is always used for this statistic."); private static string getKey(string key) => $@"{prefix}:{key}"; } }