mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Add missing localisation for settings enums
This commit is contained in:
@ -101,4 +101,4 @@ namespace osu.Game.Localisation
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -104,6 +104,31 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString IncreaseFirstObjectVisibility => new TranslatableString(getKey(@"increase_first_object_visibility"), @"Increase visibility of first object when visual impairment mods are enabled");
|
||||
|
||||
/// <summary>
|
||||
/// "Hide during gameplay"
|
||||
/// </summary>
|
||||
public static LocalisableString HideDuringGameplay => new TranslatableString(getKey(@"hide_during_gameplay"), @"Hide during gameplay");
|
||||
|
||||
/// <summary>
|
||||
/// "Always"
|
||||
/// </summary>
|
||||
public static LocalisableString Always => new TranslatableString(getKey(@"always"), @"Always");
|
||||
|
||||
/// <summary>
|
||||
/// "Never"
|
||||
/// </summary>
|
||||
public static LocalisableString Never => new TranslatableString(getKey(@"never"), @"Never");
|
||||
|
||||
/// <summary>
|
||||
/// "Standardised"
|
||||
/// </summary>
|
||||
public static LocalisableString Standardised => new TranslatableString(getKey(@"standardised"), @"Standardised");
|
||||
|
||||
/// <summary>
|
||||
/// "Classic"
|
||||
/// </summary>
|
||||
public static LocalisableString Classic => new TranslatableString(getKey(@"classic"), @"Classic");
|
||||
|
||||
private static string getKey(string key) => $"{prefix}:{key}";
|
||||
}
|
||||
}
|
||||
|
@ -129,6 +129,16 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString UseHardwareAcceleration => new TranslatableString(getKey(@"use_hardware_acceleration"), @"Use hardware acceleration");
|
||||
|
||||
/// <summary>
|
||||
/// "JPG (web-friendly)"
|
||||
/// </summary>
|
||||
public static LocalisableString JPG => new TranslatableString(getKey(@"jpg_web_friendly"), @"JPG (web-friendly)");
|
||||
|
||||
/// <summary>
|
||||
/// "PNG (lossless)"
|
||||
/// </summary>
|
||||
public static LocalisableString PNG => new TranslatableString(getKey(@"png_lossless"), @"PNG (lossless)");
|
||||
|
||||
private static string getKey(string key) => $"{prefix}:{key}";
|
||||
}
|
||||
}
|
||||
|
@ -29,6 +29,26 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString FullscreenMacOSNote => new TranslatableString(getKey(@"fullscreen_macos_note"), @"Using fullscreen on macOS makes interacting with the menu bar and spaces no longer work, and may lead to freezes if a system dialog is presented. Using borderless is recommended.");
|
||||
|
||||
/// <summary>
|
||||
/// "Excluding overlays"
|
||||
/// </summary>
|
||||
public static LocalisableString ExcludingOverlays => new TranslatableString(getKey(@"excluding_overlays"), @"Excluding overlays");
|
||||
|
||||
/// <summary>
|
||||
/// "Everything"
|
||||
/// </summary>
|
||||
public static LocalisableString Everything => new TranslatableString(getKey(@"everything"), @"Everything");
|
||||
|
||||
/// <summary>
|
||||
/// "Gameplay"
|
||||
/// </summary>
|
||||
public static LocalisableString Gameplay => new TranslatableString(getKey(@"gameplay"), @"Gameplay");
|
||||
|
||||
/// <summary>
|
||||
/// "Off"
|
||||
/// </summary>
|
||||
public static LocalisableString Off => new TranslatableString(getKey(@"scaling_mode.off"), @"Off");
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
}
|
||||
|
@ -64,6 +64,21 @@ namespace osu.Game.Localisation
|
||||
/// </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.");
|
||||
|
||||
/// <summary>
|
||||
/// "Always"
|
||||
/// </summary>
|
||||
public static LocalisableString Always => new TranslatableString(getKey(@"always"), @"Always");
|
||||
|
||||
/// <summary>
|
||||
/// "During Gameplay"
|
||||
/// </summary>
|
||||
public static LocalisableString DuringGameplay => new TranslatableString(getKey(@"during_gameplay"), @"During Gameplay");
|
||||
|
||||
/// <summary>
|
||||
/// "Never"
|
||||
/// </summary>
|
||||
public static LocalisableString Never => new TranslatableString(getKey(@"never"), @"Never");
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
}
|
||||
|
@ -64,6 +64,21 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString ShowExplicitContent => new TranslatableString(getKey(@"show_explicit_content"), @"Show explicit content in search results");
|
||||
|
||||
/// <summary>
|
||||
/// "Hide identifiable information"
|
||||
/// </summary>
|
||||
public static LocalisableString HideIdentifiableInformation => new TranslatableString(getKey(@"hide_identifiable_information"), @"Hide identifiable information");
|
||||
|
||||
/// <summary>
|
||||
/// "Full"
|
||||
/// </summary>
|
||||
public static LocalisableString Full => new TranslatableString(getKey(@"full"), @"Full");
|
||||
|
||||
/// <summary>
|
||||
/// "Off"
|
||||
/// </summary>
|
||||
public static LocalisableString Off => new TranslatableString(getKey(@"off"), @"Off");
|
||||
|
||||
private static string getKey(string key) => $"{prefix}:{key}";
|
||||
}
|
||||
}
|
||||
|
@ -14,6 +14,21 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString Rulesets => new TranslatableString(getKey(@"rulesets"), @"Rulesets");
|
||||
|
||||
/// <summary>
|
||||
/// "None"
|
||||
/// </summary>
|
||||
public static LocalisableString None => new TranslatableString(getKey(@"none"), @"None");
|
||||
|
||||
/// <summary>
|
||||
/// "Corners"
|
||||
/// </summary>
|
||||
public static LocalisableString Corners => new TranslatableString(getKey(@"corners"), @"Corners");
|
||||
|
||||
/// <summary>
|
||||
/// "Full"
|
||||
/// </summary>
|
||||
public static LocalisableString Full => new TranslatableString(getKey(@"full"), @"Full");
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
}
|
||||
|
@ -114,6 +114,46 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString NoLimit => new TranslatableString(getKey(@"no_limit"), @"no limit");
|
||||
|
||||
/// <summary>
|
||||
/// "Beatmap (with storyboard / video)"
|
||||
/// </summary>
|
||||
public static LocalisableString BeatmapWithStoryboard => new TranslatableString(getKey(@"beatmap_with_storyboard"), @"Beatmap (with storyboard / video)");
|
||||
|
||||
/// <summary>
|
||||
/// "Always"
|
||||
/// </summary>
|
||||
public static LocalisableString Always => new TranslatableString(getKey(@"always"), @"Always");
|
||||
|
||||
/// <summary>
|
||||
/// "Never"
|
||||
/// </summary>
|
||||
public static LocalisableString Never => new TranslatableString(getKey(@"never"), @"Never");
|
||||
|
||||
/// <summary>
|
||||
/// "Sometimes"
|
||||
/// </summary>
|
||||
public static LocalisableString Sometimes => new TranslatableString(getKey(@"sometimes"), @"Sometimes");
|
||||
|
||||
/// <summary>
|
||||
/// "Sequential"
|
||||
/// </summary>
|
||||
public static LocalisableString Sequential => new TranslatableString(getKey(@"sequential"), @"Sequential");
|
||||
|
||||
/// <summary>
|
||||
/// "Classic"
|
||||
/// </summary>
|
||||
public static LocalisableString Classic => new TranslatableString(getKey(@"classic"), @"Classic");
|
||||
|
||||
/// <summary>
|
||||
/// "Never repeat"
|
||||
/// </summary>
|
||||
public static LocalisableString NeverRepeat => new TranslatableString(getKey(@"never_repeat"), @"Never repeat");
|
||||
|
||||
/// <summary>
|
||||
/// "True Random"
|
||||
/// </summary>
|
||||
public static LocalisableString TrueRandom => new TranslatableString(getKey(@"true_random"), @"True Random");
|
||||
|
||||
private static string getKey(string key) => $"{prefix}:{key}";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user