2022-07-24 03:20:27 +08: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
|
|
|
|
|
{
|
2024-05-31 10:46:32 +08:00
|
|
|
|
public static class DialogStrings
|
2022-07-24 03:20:27 +08:00
|
|
|
|
{
|
2024-05-31 14:09:25 +08:00
|
|
|
|
private const string prefix = @"osu.Game.Resources.Localisation.Dialog";
|
2022-07-24 03:20:27 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-05-07 23:15:49 +08:00
|
|
|
|
/// "Caution"
|
2022-07-24 03:20:27 +08:00
|
|
|
|
/// </summary>
|
2024-05-31 10:46:32 +08:00
|
|
|
|
public static LocalisableString Caution => new TranslatableString(getKey(@"header_text"), @"Caution");
|
2022-07-24 03:20:27 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// "Yes. Go for it."
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static LocalisableString Confirm => new TranslatableString(getKey(@"confirm"), @"Yes. Go for it.");
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// "No! Abort mission"
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static LocalisableString Cancel => new TranslatableString(getKey(@"cancel"), @"No! Abort mission");
|
|
|
|
|
|
|
|
|
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
|
|
|
|
}
|
|
|
|
|
}
|