2022-12-25 18:07:42 +00:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. 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");
|
|
|
|
|
|
2023-10-02 21:10:29 +00:00
|
|
|
|
/// <summary>
|
2023-12-28 08:35:10 +00:00
|
|
|
|
/// "Invite to room"
|
2023-10-02 21:10:29 +00:00
|
|
|
|
/// </summary>
|
2023-12-28 08:35:10 +00:00
|
|
|
|
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");
|
2023-10-02 21:10:29 +00:00
|
|
|
|
|
2022-12-25 18:07:42 +00:00
|
|
|
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
|
|
|
|
}
|
|
|
|
|
}
|