mirror of
https://github.com/ppy/osu
synced 2024-12-11 17:42:28 +00:00
5984699842
Co-authored-by: Dan Balasescu <smoogipoo@smgi.me>
65 lines
3.3 KiB
C#
65 lines
3.3 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 MouseSettingsStrings
|
|
{
|
|
private const string prefix = @"osu.Game.Resources.Localisation.MouseSettings";
|
|
|
|
/// <summary>
|
|
/// "Mouse"
|
|
/// </summary>
|
|
public static LocalisableString Mouse => new TranslatableString(getKey(@"mouse"), @"Mouse");
|
|
|
|
/// <summary>
|
|
/// "Not applicable in full screen mode"
|
|
/// </summary>
|
|
public static LocalisableString NotApplicableFullscreen => new TranslatableString(getKey(@"not_applicable_full_screen"), @"Not applicable in full screen mode");
|
|
|
|
/// <summary>
|
|
/// "High precision mouse"
|
|
/// </summary>
|
|
public static LocalisableString HighPrecisionMouse => new TranslatableString(getKey(@"high_precision_mouse"), @"High precision mouse");
|
|
|
|
/// <summary>
|
|
/// "Attempts to bypass any operation system mouse acceleration. On windows, this is equivalent to what used to be known as "Raw Input"."
|
|
/// </summary>
|
|
public static LocalisableString HighPrecisionMouseTooltip => new TranslatableString(getKey(@"high_precision_mouse_tooltip"), @"Attempts to bypass any operation system mouse acceleration. On windows, this is equivalent to what used to be known as ""Raw Input"".");
|
|
|
|
/// <summary>
|
|
/// "Confine mouse cursor to window"
|
|
/// </summary>
|
|
public static LocalisableString ConfineMouseMode => new TranslatableString(getKey(@"confine_mouse_mode"), @"Confine mouse cursor to window");
|
|
|
|
/// <summary>
|
|
/// "Disable mouse wheel during gameplay"
|
|
/// </summary>
|
|
public static LocalisableString DisableMouseWheel => new TranslatableString(getKey(@"disable_mouse_wheel"), @"Disable mouse wheel during gameplay");
|
|
|
|
/// <summary>
|
|
/// "Disable mouse buttons during gameplay"
|
|
/// </summary>
|
|
public static LocalisableString DisableMouseButtons => new TranslatableString(getKey(@"disable_mouse_buttons"), @"Disable mouse buttons during gameplay");
|
|
|
|
/// <summary>
|
|
/// "Enable high precision mouse to adjust sensitivity"
|
|
/// </summary>
|
|
public static LocalisableString EnableHighPrecisionForSensitivityAdjust => new TranslatableString(getKey(@"enable_high_precision_for_sensitivity_adjust"), @"Enable high precision mouse to adjust sensitivity");
|
|
|
|
/// <summary>
|
|
/// "Cursor sensitivity"
|
|
/// </summary>
|
|
public static LocalisableString CursorSensitivity => new TranslatableString(getKey(@"cursor_sensitivity"), @"Cursor sensitivity");
|
|
|
|
/// <summary>
|
|
/// "This setting has known issues on your platform. If you encounter problems, it is recommended to adjust sensitivity externally and keep this disabled for now."
|
|
/// </summary>
|
|
public static LocalisableString HighPrecisionPlatformWarning => new TranslatableString(getKey(@"high_precision_platform_warning"), @"This setting has known issues on your platform. If you encounter problems, it is recommended to adjust sensitivity externally and keep this disabled for now.");
|
|
|
|
private static string getKey(string key) => $@"{prefix}:{key}";
|
|
}
|
|
}
|