2021-10-11 08:02:26 +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 ToastStrings
|
|
|
|
{
|
|
|
|
private const string prefix = @"osu.Game.Resources.Localisation.Toast";
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "no key bound"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString NoKeyBound => new TranslatableString(getKey(@"no_key_bound"), @"no key bound");
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "Music Playback"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString MusicPlayback => new TranslatableString(getKey(@"music_playback"), @"Music Playback");
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "Pause track"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString PauseTrack => new TranslatableString(getKey(@"pause_track"), @"Pause track");
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "Play track"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString PlayTrack => new TranslatableString(getKey(@"play_track"), @"Play track");
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "Restart track"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString RestartTrack => new TranslatableString(getKey(@"restart_track"), @"Restart track");
|
|
|
|
|
2022-07-19 19:38:23 +00:00
|
|
|
/// <summary>
|
|
|
|
/// "Beatmap Editor"
|
|
|
|
/// </summary>r
|
|
|
|
public static LocalisableString BeatmapEditor => new TranslatableString(getKey(@"beatmap_editor"), @"Beatmap Editor");
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "Beatmap Saved"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString EditorSaveBeatmap => new TranslatableString(getKey(@"beatmap_editor_save"), @"Beatmap Saved");
|
|
|
|
|
|
|
|
|
2021-10-11 08:02:26 +00:00
|
|
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
|
|
|
}
|
|
|
|
}
|