1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-17 17:33:02 +08:00
Files
osu-lazer/osu.Game/Localisation/OnlinePlayStrings.cs
T
Denis Titovets e2dd4d86b4 Add localisation support for PlaylistsSongSelectV2 (#36410)
| master | pr |
|-|-|
| <img width="691" height="84" alt="osu_2026-01-20_18-16-38 — копия"
src="https://github.com/user-attachments/assets/24e24131-525b-4603-b6f7-dbdd6e8be188"
/> | <img width="694" height="76" alt="osu_2026-01-20_18-12-45 — копия"
src="https://github.com/user-attachments/assets/d880b9c8-8a69-494e-863f-170f904a71b2"
/> |
| <img width="581" height="191" alt="osu_2026-01-20_18-16-38"
src="https://github.com/user-attachments/assets/01256367-3275-40c3-9da2-0073e4e33a1d"
/> | <img width="570" height="184" alt="osu_2026-01-20_18-12-45"
src="https://github.com/user-attachments/assets/a9b2ce0a-b571-4f94-bf0e-7869bd32e6ae"
/> |
2026-01-22 18:18:02 +09:00

55 lines
2.5 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&#39;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&#39;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.");
/// <summary>
/// "Add to playlist"
/// </summary>
public static LocalisableString FooterButtonPlaylistAdd => new TranslatableString(getKey(@"footer_button_playlist_add"), @"Add to playlist");
/// <summary>
/// "Freemods"
/// </summary>
public static LocalisableString FooterButtonFreemods => new TranslatableString(getKey(@"footer_button_freemods"), @"Freemods");
/// <summary>
/// "Freestyle"
/// </summary>
public static LocalisableString FooterButtonFreestyle => new TranslatableString(getKey(@"footer_button_freestyle"), @"Freestyle");
/// <summary>
/// "{0} item(s)"
/// </summary>
public static LocalisableString PlaylistTrayItems(int count) => new TranslatableString(getKey(@"playlist_tray_items"), @"{0} item(s)", count);
/// <summary>
/// "Manage items on previous screen"
/// </summary>
public static LocalisableString PlaylistTrayDescription => new TranslatableString(getKey(@"playlist_tray_description"), @"Manage items on previous screen");
private static string getKey(string key) => $@"{prefix}:{key}";
}
}