2021-10-11 16:02:26 +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
|
|
|
|
{
|
|
|
|
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-20 03:38:23 +08:00
|
|
|
/// <summary>
|
2022-07-22 08:46:17 +08:00
|
|
|
/// "Beatmap saved"
|
2022-07-20 04:18:19 +08:00
|
|
|
/// </summary>
|
2022-07-22 08:46:17 +08:00
|
|
|
public static LocalisableString BeatmapSaved => new TranslatableString(getKey(@"beatmap_saved"), @"Beatmap saved");
|
2022-07-20 04:18:19 +08:00
|
|
|
|
|
|
|
/// <summary>
|
2022-07-22 08:46:17 +08:00
|
|
|
/// "Skin saved"
|
2022-07-20 04:18:19 +08:00
|
|
|
/// </summary>
|
2022-07-22 08:46:17 +08:00
|
|
|
public static LocalisableString SkinSaved => new TranslatableString(getKey(@"skin_saved"), @"Skin saved");
|
2022-07-20 04:18:19 +08:00
|
|
|
|
2022-07-27 14:25:40 +08:00
|
|
|
/// <summary>
|
2022-07-28 09:52:28 +08:00
|
|
|
/// "URL copied"
|
2022-07-27 14:25:40 +08:00
|
|
|
/// </summary>
|
2022-07-28 09:52:28 +08:00
|
|
|
public static LocalisableString UrlCopied => new TranslatableString(getKey(@"url_copied"), @"URL copied");
|
2022-07-27 14:25:40 +08:00
|
|
|
|
2024-05-21 20:47:34 +08:00
|
|
|
/// <summary>
|
2024-05-24 19:08:17 +08:00
|
|
|
/// "Speed changed to {0:N2}x"
|
2024-05-21 20:47:34 +08:00
|
|
|
/// </summary>
|
2024-05-24 19:08:17 +08:00
|
|
|
public static LocalisableString SpeedChangedTo(double speed) => new TranslatableString(getKey(@"speed_changed"), @"Speed changed to {0:N2}x", speed);
|
2024-05-21 20:47:34 +08:00
|
|
|
|
2021-10-11 16:02:26 +08:00
|
|
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
|
|
|
}
|
|
|
|
}
|