1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 04:32:57 +08:00
osu-lazer/osu.Game/Localisation/PlayerLoaderStrings.cs
2024-03-15 10:59:49 +01:00

49 lines
2.3 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 PlayerLoaderStrings
{
private const string prefix = @"osu.Game.Resources.Localisation.PlayerLoader";
/// <summary>
/// "This beatmap contains scenes with rapidly flashing colours"
/// </summary>
public static LocalisableString EpilepsyWarningTitle => new TranslatableString(getKey(@"epilepsy_warning_title"), @"This beatmap contains scenes with rapidly flashing colours");
/// <summary>
/// "Please take caution if you are affected by epilepsy."
/// </summary>
public static LocalisableString EpilepsyWarningContent => new TranslatableString(getKey(@"epilepsy_warning_content"), @"Please take caution if you are affected by epilepsy.");
/// <summary>
/// "This beatmap is loved"
/// </summary>
public static LocalisableString LovedBeatmapDisclaimerTitle => new TranslatableString(getKey(@"loved_beatmap_disclaimer_title"), @"This beatmap is loved");
/// <summary>
/// "No performance points will be awarded.
/// Leaderboards may be reset by the beatmap creator."
/// </summary>
public static LocalisableString LovedBeatmapDisclaimerContent => new TranslatableString(getKey(@"loved_beatmap_disclaimer_content"), @"No performance points will be awarded.
Leaderboards may be reset by the beatmap creator.");
/// <summary>
/// "This beatmap is qualified"
/// </summary>
public static LocalisableString QualifiedBeatmapDisclaimerTitle => new TranslatableString(getKey(@"qualified_beatmap_disclaimer_title"), @"This beatmap is qualified");
/// <summary>
/// "No performance points will be awarded.
/// Leaderboards will be reset when the beatmap is ranked."
/// </summary>
public static LocalisableString QualifiedBeatmapDisclaimerContent => new TranslatableString(getKey(@"qualified_beatmap_disclaimer_content"), @"No performance points will be awarded.
Leaderboards will be reset when the beatmap is ranked.");
private static string getKey(string key) => $@"{prefix}:{key}";
}
}