// 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} ms early" /// public static LocalisableString Early(string offset) => new TranslatableString(getKey(@"early"), @"{0} ms early", offset); /// /// "{0} ms late" /// public static LocalisableString Late(string offset) => new TranslatableString(getKey(@"late"), @"{0} ms late", offset); /// /// "(not available)" /// public static LocalisableString NotAvailable => new TranslatableString(getKey(@"not_available"), @"(not available)"); private static string getKey(string key) => $@"{prefix}:{key}"; } }