// Copyright (c) ppy Pty Ltd <[email protected]>. 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"; /// <summary> /// "View profile" /// </summary> public static LocalisableString ViewProfile => new TranslatableString(getKey(@"view_profile"), @"View profile"); /// <summary> /// "View beatmap" /// </summary> public static LocalisableString ViewBeatmap => new TranslatableString(getKey(@"view_beatmap"), @"View beatmap"); /// <summary> /// "Invite to room" /// </summary> public static LocalisableString InvitePlayer => new TranslatableString(getKey(@"invite_player"), @"Invite to room"); /// <summary> /// "Spectate" /// </summary> public static LocalisableString SpectatePlayer => new TranslatableString(getKey(@"spectate_player"), @"Spectate"); /// <summary> /// "Are you sure you want to block {0}?" /// </summary> public static LocalisableString ConfirmBlockUser(string username) => new TranslatableString(getKey(@"confirm_block_user"), @"Are you sure you want to block {0}?", username); /// <summary> /// "Are you sure you want to unblock {0}?" /// </summary> public static LocalisableString ConfirmUnblockUser(string username) => new TranslatableString(getKey(@"confirm_unblock_user"), @"Are you sure you want to unblock {0}?", username); private static string getKey(string key) => $@"{prefix}:{key}"; } }