// 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 ScoresStrings { private const string prefix = @"osu.Game.Resources.Localisation.Web.Scores"; /// /// "{0} on {1} [{2}]" /// public static LocalisableString ShowTitle(LocalisableString username, LocalisableString title, LocalisableString version) => new TranslatableString(getKey(@"show.title"), @"{0} on {1} [{2}]", username, title, version); /// /// "by {0}" /// public static LocalisableString ShowBeatmapBy(LocalisableString artist) => new TranslatableString(getKey(@"show.beatmap.by"), @"by {0}", artist); /// /// "Played by" /// public static LocalisableString ShowPlayerBy => new TranslatableString(getKey(@"show.player.by"), @"Played by"); /// /// "Submitted on" /// public static LocalisableString ShowPlayerSubmittedOn => new TranslatableString(getKey(@"show.player.submitted_on"), @"Submitted on"); /// /// "Country Rank" /// public static LocalisableString ShowPlayerRankCountry => new TranslatableString(getKey(@"show.player.rank.country"), @"Country Rank"); /// /// "Global Rank" /// public static LocalisableString ShowPlayerRankGlobal => new TranslatableString(getKey(@"show.player.rank.global"), @"Global Rank"); /// /// "Only personal best scores award pp" /// public static LocalisableString StatusNonBest => new TranslatableString(getKey(@"status.non_best"), @"Only personal best scores award pp"); /// /// "This score is still being calculated and will be displayed soon" /// public static LocalisableString StatusProcessing => new TranslatableString(getKey(@"status.processing"), @"This score is still being calculated and will be displayed soon"); private static string getKey(string key) => $@"{prefix}:{key}"; } }