mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 17:42:54 +08:00
39 lines
1.4 KiB
C#
39 lines
1.4 KiB
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 WindowsAssociationManagerStrings
|
|
{
|
|
private const string prefix = @"osu.Game.Resources.Localisation.WindowsAssociationManager";
|
|
|
|
/// <summary>
|
|
/// "osu! Beatmap"
|
|
/// </summary>
|
|
public static LocalisableString OsuBeatmap => new TranslatableString(getKey(@"osu_beatmap"), @"osu! Beatmap");
|
|
|
|
/// <summary>
|
|
/// "osu! Replay"
|
|
/// </summary>
|
|
public static LocalisableString OsuReplay => new TranslatableString(getKey(@"osu_replay"), @"osu! Replay");
|
|
|
|
/// <summary>
|
|
/// "osu! Skin"
|
|
/// </summary>
|
|
public static LocalisableString OsuSkin => new TranslatableString(getKey(@"osu_skin"), @"osu! Skin");
|
|
|
|
/// <summary>
|
|
/// "osu!"
|
|
/// </summary>
|
|
public static LocalisableString OsuProtocol => new TranslatableString(getKey(@"osu_protocol"), @"osu!");
|
|
|
|
/// <summary>
|
|
/// "osu! Multiplayer"
|
|
/// </summary>
|
|
public static LocalisableString OsuMultiplayer => new TranslatableString(getKey(@"osu_multiplayer"), @"osu! Multiplayer");
|
|
|
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
|
}
|
|
} |