mirror of
https://github.com/ppy/osu.git
synced 2024-11-16 10:17:36 +08:00
288eed53df
Hit & aim markers are skinnable. Hidden can be toggled off. Aim line with skinnable color was added. The fadeout time is based on the approach rate. Cursor hide fixed.
55 lines
2.1 KiB
C#
55 lines
2.1 KiB
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 PlayerSettingsOverlayStrings
|
|
{
|
|
private const string prefix = @"osu.Game.Resources.Localisation.PlaybackSettings";
|
|
|
|
/// <summary>
|
|
/// "Step backward one frame"
|
|
/// </summary>
|
|
public static LocalisableString StepBackward => new TranslatableString(getKey(@"step_backward_frame"), @"Step backward one frame");
|
|
|
|
/// <summary>
|
|
/// "Step forward one frame"
|
|
/// </summary>
|
|
public static LocalisableString StepForward => new TranslatableString(getKey(@"step_forward_frame"), @"Step forward one frame");
|
|
|
|
/// <summary>
|
|
/// "Hit markers"
|
|
/// </summary>
|
|
public static LocalisableString HitMarkers => new TranslatableString(getKey(@"hit_markers"), @"Hit markers");
|
|
|
|
/// <summary>
|
|
/// "Aim markers"
|
|
/// </summary>
|
|
public static LocalisableString AimMarkers => new TranslatableString(getKey(@"aim_markers"), @"Aim markers");
|
|
|
|
/// <summary>
|
|
/// "Hide cursor"
|
|
/// </summary>
|
|
public static LocalisableString HideCursor => new TranslatableString(getKey(@"hide_cursor"), @"Hide cursor");
|
|
|
|
/// <summary>
|
|
/// "Aim lines"
|
|
/// </summary>
|
|
public static LocalisableString AimLines => new TranslatableString(getKey(@"aim_lines"), @"Aim lines");
|
|
|
|
/// <summary>
|
|
/// "Seek backward {0} seconds"
|
|
/// </summary>
|
|
public static LocalisableString SeekBackwardSeconds(double arg0) => new TranslatableString(getKey(@"seek_backward_seconds"), @"Seek backward {0} seconds", arg0);
|
|
|
|
/// <summary>
|
|
/// "Seek forward {0} seconds"
|
|
/// </summary>
|
|
public static LocalisableString SeekForwardSeconds(double arg0) => new TranslatableString(getKey(@"seek_forward_seconds"), @"Seek forward {0} seconds", arg0);
|
|
|
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
|
}
|
|
}
|