mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 16:12:54 +08:00
Apply suggestions from code review
Co-authored-by: Dean Herbert <pe@ppy.sh>
This commit is contained in:
parent
cbeecff347
commit
d527eb3d8b
@ -22,12 +22,12 @@ namespace osu.Game.Localisation
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Background dim"
|
/// "Background dim"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString Dim => new TranslatableString(getKey(@"dim"), @"Background dim");
|
public static LocalisableString BackgroundDim => new TranslatableString(getKey(@"dim"), @"Background dim");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Background blur"
|
/// "Background blur"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString Blur => new TranslatableString(getKey(@"blur"), @"Background blur");
|
public static LocalisableString BackgroundBlur => new TranslatableString(getKey(@"blur"), @"Background blur");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Lighten playfield during breaks"
|
/// "Lighten playfield during breaks"
|
||||||
@ -57,7 +57,7 @@ namespace osu.Game.Localisation
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Always show key overlay"
|
/// "Always show key overlay"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString KeyOverlay => new TranslatableString(getKey(@"key_overlay"), @"Always show key overlay");
|
public static LocalisableString AlwaysShowKeyOverlay => new TranslatableString(getKey(@"key_overlay"), @"Always show key overlay");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Positional hitsounds"
|
/// "Positional hitsounds"
|
||||||
|
@ -27,7 +27,7 @@ namespace osu.Game.Localisation
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Prefer metadata in original language"
|
/// "Prefer metadata in original language"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocalisableString PreferOriginal => new TranslatableString(getKey(@"prefer_original"), @"Prefer metadata in original language");
|
public static LocalisableString PreferOriginalMetadataLanguage => new TranslatableString(getKey(@"prefer_original"), @"Prefer metadata in original language");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// "Updates"
|
/// "Updates"
|
||||||
|
@ -22,14 +22,14 @@ namespace osu.Game.Overlays.Settings.Sections.Gameplay
|
|||||||
{
|
{
|
||||||
new SettingsSlider<double>
|
new SettingsSlider<double>
|
||||||
{
|
{
|
||||||
LabelText = GameplaySettingsStrings.Dim,
|
LabelText = GameplaySettingsStrings.BackgroundDim,
|
||||||
Current = config.GetBindable<double>(OsuSetting.DimLevel),
|
Current = config.GetBindable<double>(OsuSetting.DimLevel),
|
||||||
KeyboardStep = 0.01f,
|
KeyboardStep = 0.01f,
|
||||||
DisplayAsPercentage = true
|
DisplayAsPercentage = true
|
||||||
},
|
},
|
||||||
new SettingsSlider<double>
|
new SettingsSlider<double>
|
||||||
{
|
{
|
||||||
LabelText = GameplaySettingsStrings.Blur,
|
LabelText = GameplaySettingsStrings.BackgroundBlur,
|
||||||
Current = config.GetBindable<double>(OsuSetting.BlurLevel),
|
Current = config.GetBindable<double>(OsuSetting.BlurLevel),
|
||||||
KeyboardStep = 0.01f,
|
KeyboardStep = 0.01f,
|
||||||
DisplayAsPercentage = true
|
DisplayAsPercentage = true
|
||||||
@ -62,7 +62,7 @@ namespace osu.Game.Overlays.Settings.Sections.Gameplay
|
|||||||
},
|
},
|
||||||
new SettingsCheckbox
|
new SettingsCheckbox
|
||||||
{
|
{
|
||||||
LabelText = GameplaySettingsStrings.KeyOverlay,
|
LabelText = GameplaySettingsStrings.AlwaysShowKeyOverlay,
|
||||||
Current = config.GetBindable<bool>(OsuSetting.KeyOverlay)
|
Current = config.GetBindable<bool>(OsuSetting.KeyOverlay)
|
||||||
},
|
},
|
||||||
new SettingsCheckbox
|
new SettingsCheckbox
|
||||||
|
@ -31,7 +31,7 @@ namespace osu.Game.Overlays.Settings.Sections.General
|
|||||||
},
|
},
|
||||||
new SettingsCheckbox
|
new SettingsCheckbox
|
||||||
{
|
{
|
||||||
LabelText = GeneralSettingsStrings.PreferOriginal,
|
LabelText = GeneralSettingsStrings.PreferOriginalMetadataLanguage,
|
||||||
Current = frameworkConfig.GetBindable<bool>(FrameworkSetting.ShowUnicode)
|
Current = frameworkConfig.GetBindable<bool>(FrameworkSetting.ShowUnicode)
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user