osu/osu.Game/Localisation/DeleteConfirmationContentStrings.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
2.1 KiB
C#
Raw Normal View History

2024-05-06 16:10:58 +00:00
// 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 DeleteConfirmationContentStrings
{
private const string prefix = @"osu.Game.Resources.Localisation.DeleteConfirmationContent";
/// <summary>
/// "Are you sure you want to delete all beatmaps?"
2024-05-06 16:10:58 +00:00
/// </summary>
public static LocalisableString Beatmaps => new TranslatableString(getKey(@"beatmaps"), @"Are you sure you want to delete all beatmaps?");
2024-05-06 16:10:58 +00:00
/// <summary>
/// "Are you sure you want to delete all beatmaps videos? This cannot be undone!"
2024-05-06 16:10:58 +00:00
/// </summary>
public static LocalisableString BeatmapVideos => new TranslatableString(getKey(@"beatmap_videos"), @"Are you sure you want to delete all beatmaps videos? This cannot be undone!");
2024-05-06 16:10:58 +00:00
/// <summary>
/// "Are you sure you want to delete all skins? This cannot be undone!"
2024-05-06 16:10:58 +00:00
/// </summary>
public static LocalisableString Skins => new TranslatableString(getKey(@"skins"), @"Are you sure you want to delete all skins? This cannot be undone!");
2024-05-06 16:10:58 +00:00
/// <summary>
/// "Are you sure you want to delete all collections? This cannot be undone!"
2024-05-06 16:10:58 +00:00
/// </summary>
public static LocalisableString Collections => new TranslatableString(getKey(@"collections"), @"Are you sure you want to delete all collections? This cannot be undone!");
2024-05-06 16:10:58 +00:00
/// <summary>
/// "Are you sure you want to delete all scores? This cannot be undone!"
2024-05-06 16:10:58 +00:00
/// </summary>
public static LocalisableString Scores => new TranslatableString(getKey(@"scores"), @"Are you sure you want to delete all scores? This cannot be undone!");
2024-05-06 16:10:58 +00:00
/// <summary>
/// "Are you sure you want to delete all mod presets?"
2024-05-06 16:10:58 +00:00
/// </summary>
public static LocalisableString ModPresets => new TranslatableString(getKey(@"mod_presets"), @"Are you sure you want to delete all mod presets?");
2024-05-06 16:10:58 +00:00
private static string getKey(string key) => $@"{prefix}:{key}";
}
}