code style format

This commit is contained in:
kj415j45 2021-08-14 11:04:38 +08:00
parent 5cfb89f18a
commit e26ccf786e
No known key found for this signature in database
GPG Key ID: 54226D868052F383
5 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@ namespace osu.Game.Localisation
/// <summary> /// <summary>
/// "Show a notification when you receive a private message" /// "Show a notification when you receive a private message"
/// </summary> /// </summary>
public static LocalisableString NotifyOnPM => new TranslatableString(getKey(@"notify_on_pm"), @"Show a notification when you receive a private message"); public static LocalisableString NotifyOnPrivateMessage => new TranslatableString(getKey(@"notify_on_private_message"), @"Show a notification when you receive a private message");
/// <summary> /// <summary>
/// "Integrations" /// "Integrations"
@ -57,7 +57,7 @@ namespace osu.Game.Localisation
/// <summary> /// <summary>
/// "Automatically download beatmaps when spectating" /// "Automatically download beatmaps when spectating"
/// </summary> /// </summary>
public static LocalisableString AutomaticallyDownload => new TranslatableString(getKey(@"automatically_download"), @"Automatically download beatmaps when spectating"); public static LocalisableString AutomaticallyDownloadWhenSpectating => new TranslatableString(getKey(@"automatically_download_when_spectating"), @"Automatically download beatmaps when spectating");
/// <summary> /// <summary>
/// "Show explicit content in search results" /// "Show explicit content in search results"

View File

@ -22,7 +22,7 @@ namespace osu.Game.Localisation
/// <summary> /// <summary>
/// "Gameplay cursor size" /// "Gameplay cursor size"
/// </summary> /// </summary>
public static LocalisableString CursorSize => new TranslatableString(getKey(@"cursor_size"), @"Gameplay cursor size"); public static LocalisableString GameplayCursorSize => new TranslatableString(getKey(@"gameplay_cursor_size"), @"Gameplay cursor size");
/// <summary> /// <summary>
/// "Adjust gameplay cursor size based on current beatmap" /// "Adjust gameplay cursor size based on current beatmap"

View File

@ -25,7 +25,7 @@ namespace osu.Game.Overlays.Settings.Sections.Online
}, },
new SettingsCheckbox new SettingsCheckbox
{ {
LabelText = OnlineSettingsStrings.NotifyOnPM, LabelText = OnlineSettingsStrings.NotifyOnPrivateMessage,
Current = config.GetBindable<bool>(OsuSetting.NotifyOnPrivateMessage) Current = config.GetBindable<bool>(OsuSetting.NotifyOnPrivateMessage)
}, },
}; };

View File

@ -31,7 +31,7 @@ namespace osu.Game.Overlays.Settings.Sections.Online
}, },
new SettingsCheckbox new SettingsCheckbox
{ {
LabelText = OnlineSettingsStrings.AutomaticallyDownload, LabelText = OnlineSettingsStrings.AutomaticallyDownloadWhenSpectating,
Keywords = new[] { "spectator" }, Keywords = new[] { "spectator" },
Current = config.GetBindable<bool>(OsuSetting.AutomaticallyDownloadWhenSpectating), Current = config.GetBindable<bool>(OsuSetting.AutomaticallyDownloadWhenSpectating),
}, },

View File

@ -76,7 +76,7 @@ namespace osu.Game.Overlays.Settings.Sections
new ExportSkinButton(), new ExportSkinButton(),
new SettingsSlider<float, SizeSlider> new SettingsSlider<float, SizeSlider>
{ {
LabelText = SkinSettingsStrings.CursorSize, LabelText = SkinSettingsStrings.GameplayCursorSize,
Current = config.GetBindable<float>(OsuSetting.GameplayCursorSize), Current = config.GetBindable<float>(OsuSetting.GameplayCursorSize),
KeyboardStep = 0.01f KeyboardStep = 0.01f
}, },