// 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 ContextMenuStrings { private const string prefix = @"osu.Game.Resources.Localisation.ContextMenu"; /// /// "View profile" /// public static LocalisableString ViewProfile => new TranslatableString(getKey(@"view_profile"), @"View profile"); /// /// "View beatmap" /// public static LocalisableString ViewBeatmap => new TranslatableString(getKey(@"view_beatmap"), @"View beatmap"); /// /// "Invite to room" /// public static LocalisableString InvitePlayer => new TranslatableString(getKey(@"invite_player"), @"Invite to room"); /// /// "Spectate" /// public static LocalisableString SpectatePlayer => new TranslatableString(getKey(@"spectate_player"), @"Spectate"); private static string getKey(string key) => $@"{prefix}:{key}"; } }