// 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 ReportStrings { private const string prefix = @"osu.Game.Resources.Localisation.Web.Report"; /// /// "Report" /// public static LocalisableString BeatmapsetButton => new TranslatableString(getKey(@"beatmapset.button"), @"Report"); /// /// "Report {0}'s beatmap?" /// public static LocalisableString BeatmapsetTitle(LocalisableString username) => new TranslatableString(getKey(@"beatmapset.title"), @"Report {0}'s beatmap?", username); /// /// "Report" /// public static LocalisableString BeatmapsetDiscussionPostButton => new TranslatableString(getKey(@"beatmapset_discussion_post.button"), @"Report"); /// /// "Report {0}'s post?" /// public static LocalisableString BeatmapsetDiscussionPostTitle(LocalisableString username) => new TranslatableString(getKey(@"beatmapset_discussion_post.title"), @"Report {0}'s post?", username); /// /// "Report" /// public static LocalisableString CommentButton => new TranslatableString(getKey(@"comment.button"), @"Report"); /// /// "Report {0}'s comment?" /// public static LocalisableString CommentTitle(LocalisableString username) => new TranslatableString(getKey(@"comment.title"), @"Report {0}'s comment?", username); /// /// "Report" /// public static LocalisableString ForumPostButton => new TranslatableString(getKey(@"forum_post.button"), @"Report"); /// /// "Report {0}'s post?" /// public static LocalisableString ForumPostTitle(LocalisableString username) => new TranslatableString(getKey(@"forum_post.title"), @"Report {0}'s post?", username); /// /// "Report Score" /// public static LocalisableString ScoresButton => new TranslatableString(getKey(@"scores.button"), @"Report Score"); /// /// "Report {0}'s score?" /// public static LocalisableString ScoresTitle(LocalisableString username) => new TranslatableString(getKey(@"scores.title"), @"Report {0}'s score?", username); /// /// "Report" /// public static LocalisableString UserButton => new TranslatableString(getKey(@"user.button"), @"Report"); /// /// "Report {0}?" /// public static LocalisableString UserTitle(LocalisableString username) => new TranslatableString(getKey(@"user.title"), @"Report {0}?", username); private static string getKey(string key) => $@"{prefix}:{key}"; } }