// Copyright (c) ppy Pty Ltd . 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"; /// /// "no key bound" /// public static LocalisableString NoKeyBound => new TranslatableString(getKey(@"no_key_bound"), @"no key bound"); /// /// "Music Playback" /// public static LocalisableString MusicPlayback => new TranslatableString(getKey(@"music_playback"), @"Music Playback"); /// /// "Pause track" /// public static LocalisableString PauseTrack => new TranslatableString(getKey(@"pause_track"), @"Pause track"); /// /// "Play track" /// public static LocalisableString PlayTrack => new TranslatableString(getKey(@"play_track"), @"Play track"); /// /// "Restart track" /// public static LocalisableString RestartTrack => new TranslatableString(getKey(@"restart_track"), @"Restart track"); /// /// "Beatmap saved" /// public static LocalisableString BeatmapSaved => new TranslatableString(getKey(@"beatmap_saved"), @"Beatmap saved"); /// /// "Skin saved" /// public static LocalisableString SkinSaved => new TranslatableString(getKey(@"skin_saved"), @"Skin saved"); /// /// "Link copied to clipboard" /// public static LocalisableString UrlCopied => new TranslatableString(getKey(@"url_copied"), @"Link copied to clipboard"); /// /// "Speed changed to {0:N2}x" /// public static LocalisableString SpeedChangedTo(double speed) => new TranslatableString(getKey(@"speed_changed"), @"Speed changed to {0:N2}x", speed); private static string getKey(string key) => $@"{prefix}:{key}"; } }