2021-10-12 05:31:08 +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 RulesetSettingsStrings
|
|
|
|
{
|
|
|
|
private const string prefix = @"osu.Game.Resources.Localisation.RulesetSettings";
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "Rulesets"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString Rulesets => new TranslatableString(getKey(@"rulesets"), @"Rulesets");
|
|
|
|
|
2023-01-15 20:29:58 +00:00
|
|
|
/// <summary>
|
|
|
|
/// "Snaking in sliders"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString SnakingInSliders => new TranslatableString(getKey(@"snaking_in_sliders"), @"Snaking in sliders");
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "Snaking out sliders"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString SnakingOutSliders => new TranslatableString(getKey(@"snaking_out_sliders"), @"Snaking out sliders");
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "Cursor trail"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString CursorTrail => new TranslatableString(getKey(@"cursor_trail"), @"Cursor trail");
|
|
|
|
|
2023-04-29 07:05:45 +00:00
|
|
|
/// <summary>
|
|
|
|
/// "Cursor ripples"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString CursorRipples => new TranslatableString(getKey(@"cursor_ripples"), @"Cursor ripples");
|
|
|
|
|
2023-01-15 20:29:58 +00:00
|
|
|
/// <summary>
|
|
|
|
/// "Playfield border style"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString PlayfieldBorderStyle => new TranslatableString(getKey(@"playfield_border_style"), @"Playfield border style");
|
|
|
|
|
2022-08-07 15:11:15 +00:00
|
|
|
/// <summary>
|
|
|
|
/// "None"
|
|
|
|
/// </summary>
|
2022-08-10 08:31:57 +00:00
|
|
|
public static LocalisableString BorderNone => new TranslatableString(getKey(@"no_borders"), @"None");
|
2022-08-07 15:11:15 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "Corners"
|
|
|
|
/// </summary>
|
2022-08-10 08:31:57 +00:00
|
|
|
public static LocalisableString BorderCorners => new TranslatableString(getKey(@"corner_borders"), @"Corners");
|
2022-08-07 15:11:15 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "Full"
|
|
|
|
/// </summary>
|
2022-08-10 08:31:57 +00:00
|
|
|
public static LocalisableString BorderFull => new TranslatableString(getKey(@"full_borders"), @"Full");
|
2022-08-07 15:11:15 +00:00
|
|
|
|
2023-01-15 20:30:11 +00:00
|
|
|
/// <summary>
|
|
|
|
/// "Scrolling direction"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString ScrollingDirection => new TranslatableString(getKey(@"scrolling_direction"), @"Scrolling direction");
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "Up"
|
|
|
|
/// </summary>
|
2023-01-16 04:18:49 +00:00
|
|
|
public static LocalisableString ScrollingDirectionUp => new TranslatableString(getKey(@"scrolling_up"), @"Up");
|
2023-01-15 20:30:11 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "Down"
|
|
|
|
/// </summary>
|
2023-01-16 04:18:49 +00:00
|
|
|
public static LocalisableString ScrollingDirectionDown => new TranslatableString(getKey(@"scrolling_down"), @"Down");
|
2023-01-15 20:30:11 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "Scroll speed"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString ScrollSpeed => new TranslatableString(getKey(@"scroll_speed"), @"Scroll speed");
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "Timing-based note colouring"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString TimingBasedColouring => new TranslatableString(getKey(@"Timing_based_colouring"), @"Timing-based note colouring");
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// "{0}ms (speed {1})"
|
|
|
|
/// </summary>
|
2023-06-06 12:40:09 +00:00
|
|
|
public static LocalisableString ScrollSpeedTooltip(int scrollTime, int scrollSpeed) => new TranslatableString(getKey(@"ruleset"), @"{0}ms (speed {1})", scrollTime, scrollSpeed);
|
2023-01-15 20:30:11 +00:00
|
|
|
|
2024-02-02 21:08:36 +00:00
|
|
|
/// <summary>
|
|
|
|
/// "Touch control scheme"
|
|
|
|
/// </summary>
|
|
|
|
public static LocalisableString TouchControlScheme => new TranslatableString(getKey(@"touch_control_scheme"), @"Touch control scheme");
|
|
|
|
|
2021-10-12 05:31:08 +00:00
|
|
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
|
|
|
}
|
|
|
|
}
|