mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +08:00
30 lines
1.4 KiB
C#
30 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 OnlinePlayStrings
|
|
{
|
|
private const string prefix = @"osu.Game.Resources.Localisation.OnlinePlay";
|
|
|
|
/// <summary>
|
|
/// "Playlist durations longer than 2 weeks require an active osu!supporter tag."
|
|
/// </summary>
|
|
public static LocalisableString SupporterOnlyDurationNotice => new TranslatableString(getKey(@"supporter_only_duration_notice"), @"Playlist durations longer than 2 weeks require an active osu!supporter tag.");
|
|
|
|
/// <summary>
|
|
/// "Can't invite this user as you have blocked them or they have blocked you."
|
|
/// </summary>
|
|
public static LocalisableString InviteFailedUserBlocked => new TranslatableString(getKey(@"cant_invite_this_user_as"), @"Can't invite this user as you have blocked them or they have blocked you.");
|
|
|
|
/// <summary>
|
|
/// "Can't invite this user as they have opted out of non-friend communications."
|
|
/// </summary>
|
|
public static LocalisableString InviteFailedUserOptOut => new TranslatableString(getKey(@"cant_invite_this_user_as1"), @"Can't invite this user as they have opted out of non-friend communications.");
|
|
|
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
|
}
|
|
}
|