mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:20:04 +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>
|
||||
/// "Background dim"
|
||||
/// </summary>
|
||||
public static LocalisableString Dim => new TranslatableString(getKey(@"dim"), @"Background dim");
|
||||
public static LocalisableString BackgroundDim => new TranslatableString(getKey(@"dim"), @"Background dim");
|
||||
|
||||
/// <summary>
|
||||
/// "Background blur"
|
||||
/// </summary>
|
||||
public static LocalisableString Blur => new TranslatableString(getKey(@"blur"), @"Background blur");
|
||||
public static LocalisableString BackgroundBlur => new TranslatableString(getKey(@"blur"), @"Background blur");
|
||||
|
||||
/// <summary>
|
||||
/// "Lighten playfield during breaks"
|
||||
@ -57,7 +57,7 @@ namespace osu.Game.Localisation
|
||||
/// <summary>
|
||||
/// "Always show key overlay"
|
||||
/// </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>
|
||||
/// "Positional hitsounds"
|
||||
|
@ -27,7 +27,7 @@ namespace osu.Game.Localisation
|
||||
/// <summary>
|
||||
/// "Prefer metadata in original language"
|
||||
/// </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>
|
||||
/// "Updates"
|
||||
|
@ -22,14 +22,14 @@ namespace osu.Game.Overlays.Settings.Sections.Gameplay
|
||||
{
|
||||
new SettingsSlider<double>
|
||||
{
|
||||
LabelText = GameplaySettingsStrings.Dim,
|
||||
LabelText = GameplaySettingsStrings.BackgroundDim,
|
||||
Current = config.GetBindable<double>(OsuSetting.DimLevel),
|
||||
KeyboardStep = 0.01f,
|
||||
DisplayAsPercentage = true
|
||||
},
|
||||
new SettingsSlider<double>
|
||||
{
|
||||
LabelText = GameplaySettingsStrings.Blur,
|
||||
LabelText = GameplaySettingsStrings.BackgroundBlur,
|
||||
Current = config.GetBindable<double>(OsuSetting.BlurLevel),
|
||||
KeyboardStep = 0.01f,
|
||||
DisplayAsPercentage = true
|
||||
@ -62,7 +62,7 @@ namespace osu.Game.Overlays.Settings.Sections.Gameplay
|
||||
},
|
||||
new SettingsCheckbox
|
||||
{
|
||||
LabelText = GameplaySettingsStrings.KeyOverlay,
|
||||
LabelText = GameplaySettingsStrings.AlwaysShowKeyOverlay,
|
||||
Current = config.GetBindable<bool>(OsuSetting.KeyOverlay)
|
||||
},
|
||||
new SettingsCheckbox
|
||||
|
@ -31,7 +31,7 @@ namespace osu.Game.Overlays.Settings.Sections.General
|
||||
},
|
||||
new SettingsCheckbox
|
||||
{
|
||||
LabelText = GeneralSettingsStrings.PreferOriginal,
|
||||
LabelText = GeneralSettingsStrings.PreferOriginalMetadataLanguage,
|
||||
Current = frameworkConfig.GetBindable<bool>(FrameworkSetting.ShowUnicode)
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user