mirror of
https://github.com/SK-la/Ez2Lazer.git
synced 2026-03-15 03:20:27 +00:00
This indicator allows the player to either rewind to an earlier part of the replay, or to proceed to results. It also plays a shortened variant of the failure animation SFX.
24 lines
848 B
C#
24 lines
848 B
C#
// 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 ReplayFailIndicatorStrings
|
|
{
|
|
private const string prefix = @"osu.Game.Resources.Localisation.ReplayFailIndicator";
|
|
|
|
/// <summary>
|
|
/// "Replay failed"
|
|
/// </summary>
|
|
public static LocalisableString ReplayFailed => new TranslatableString(getKey(@"replay_failed"), @"Replay failed");
|
|
|
|
/// <summary>
|
|
/// "Go to results"
|
|
/// </summary>
|
|
public static LocalisableString GoToResults => new TranslatableString(getKey(@"go_to_results"), @"Go to results");
|
|
|
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
|
}
|
|
} |