mirror of
https://github.com/ppy/osu.git
synced 2024-12-18 02:43:22 +08:00
25 lines
826 B
C#
25 lines
826 B
C#
// 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");
|
|
|
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
|
}
|
|
}
|