mirror of
https://github.com/SK-la/Ez2Lazer.git
synced 2026-03-15 03:20:27 +00:00
Make edits based on reviews
This commit is contained in:
@@ -36,7 +36,7 @@ namespace osu.Game.Rulesets.Osu.UI
|
||||
};
|
||||
|
||||
public ReplayAnalysisSettings(OsuRulesetConfigManager config)
|
||||
: base(PlayerLoaderStrings.AnalysisSettingsTitle)
|
||||
: base(PlayerSettingsStrings.AnalysisSettingsTitle)
|
||||
{
|
||||
this.config = config;
|
||||
}
|
||||
|
||||
@@ -194,6 +194,11 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString Details => new TranslatableString(getKey(@"details"), @"Details...");
|
||||
|
||||
/// <summary>
|
||||
/// "Creator"
|
||||
/// </summary>
|
||||
public static LocalisableString Creator => new TranslatableString(getKey(@"creator"), @"Creator");
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,36 +43,6 @@ Leaderboards may be reset.");
|
||||
public static LocalisableString QualifiedBeatmapDisclaimerContent => new TranslatableString(getKey(@"qualified_beatmap_disclaimer_content"), @"No performance points will be awarded.
|
||||
Leaderboards will be reset when the beatmap is ranked.");
|
||||
|
||||
/// <summary>
|
||||
/// "Mapper"
|
||||
/// </summary>
|
||||
public static LocalisableString ShowInfoMapper => new TranslatableString(getKey(@"show_info_mapper"), @"Mapper");
|
||||
|
||||
/// <summary>
|
||||
/// "Playback"
|
||||
/// </summary>
|
||||
public static LocalisableString PlaybackTitle => new TranslatableString(getKey(@"playback_title"), @"Playback");
|
||||
|
||||
/// <summary>
|
||||
/// "Visual Settings"
|
||||
/// </summary>
|
||||
public static LocalisableString VisualSettingsTitle => new TranslatableString(getKey(@"visual_settings_title"), @"Visual Settings");
|
||||
|
||||
/// <summary>
|
||||
/// "Audio Settings"
|
||||
/// </summary>
|
||||
public static LocalisableString AudioSettingsTitle => new TranslatableString(getKey(@"audio_settings_title"), @"Audio Settings");
|
||||
|
||||
/// <summary>
|
||||
/// "Input Settings"
|
||||
/// </summary>
|
||||
public static LocalisableString InputSettingsTitle => new TranslatableString(getKey(@"input_settings_title"), @"Input Settings");
|
||||
|
||||
/// <summary>
|
||||
/// "Analysis Settings"
|
||||
/// </summary>
|
||||
public static LocalisableString AnalysisSettingsTitle => new TranslatableString(getKey(@"analysis_settings_title"), @"Analysis Settings");
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
}
|
||||
|
||||
39
osu.Game/Localisation/PlayerSettingsStrings.cs
Normal file
39
osu.Game/Localisation/PlayerSettingsStrings.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
// 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 class PlayerSettingsStrings
|
||||
{
|
||||
private const string prefix = @"osu.Game.Resources.Localisation.PlayerSettings";
|
||||
|
||||
/// <summary>
|
||||
/// "Playback"
|
||||
/// </summary>
|
||||
public static LocalisableString PlaybackTitle => new TranslatableString(getKey(@"playback_title"), @"Playback");
|
||||
|
||||
/// <summary>
|
||||
/// "Visual Settings"
|
||||
/// </summary>
|
||||
public static LocalisableString VisualSettingsTitle => new TranslatableString(getKey(@"visual_settings_title"), @"Visual Settings");
|
||||
|
||||
/// <summary>
|
||||
/// "Audio Settings"
|
||||
/// </summary>
|
||||
public static LocalisableString AudioSettingsTitle => new TranslatableString(getKey(@"audio_settings_title"), @"Audio Settings");
|
||||
|
||||
/// <summary>
|
||||
/// "Input Settings"
|
||||
/// </summary>
|
||||
public static LocalisableString InputSettingsTitle => new TranslatableString(getKey(@"input_settings_title"), @"Input Settings");
|
||||
|
||||
/// <summary>
|
||||
/// "Analysis Settings"
|
||||
/// </summary>
|
||||
public static LocalisableString AnalysisSettingsTitle => new TranslatableString(getKey(@"analysis_settings_title"), @"Analysis Settings");
|
||||
|
||||
private static string getKey(string key) => $@"{prefix}:{key}";
|
||||
}
|
||||
}
|
||||
@@ -15,11 +15,11 @@ using osu.Game.Beatmaps.Drawables;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osu.Game.Localisation;
|
||||
using osu.Game.Resources.Localisation.Web;
|
||||
using osu.Game.Rulesets.Mods;
|
||||
using osu.Game.Screens.Play.HUD;
|
||||
using osuTK;
|
||||
using CommonStrings = osu.Game.Localisation.CommonStrings;
|
||||
|
||||
namespace osu.Game.Screens.Play
|
||||
{
|
||||
@@ -166,7 +166,7 @@ namespace osu.Game.Screens.Play
|
||||
},
|
||||
new Drawable[]
|
||||
{
|
||||
new MetadataLineLabel(PlayerLoaderStrings.ShowInfoMapper),
|
||||
new MetadataLineLabel(CommonStrings.Creator),
|
||||
new MetadataLineInfo(metadata.Author.Username)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace osu.Game.Screens.Play.PlayerSettings
|
||||
private readonly PlayerCheckbox beatmapHitsoundsToggle;
|
||||
|
||||
public AudioSettings()
|
||||
: base(PlayerLoaderStrings.AudioSettingsTitle)
|
||||
: base(PlayerSettingsStrings.AudioSettingsTitle)
|
||||
{
|
||||
Children = new Drawable[]
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace osu.Game.Screens.Play.PlayerSettings
|
||||
public partial class InputSettings : PlayerSettingsGroup
|
||||
{
|
||||
public InputSettings()
|
||||
: base(PlayerLoaderStrings.InputSettingsTitle)
|
||||
: base(PlayerSettingsStrings.InputSettingsTitle)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace osu.Game.Screens.Play.PlayerSettings
|
||||
private IconButton pausePlay = null!;
|
||||
|
||||
public PlaybackSettings()
|
||||
: base(PlayerLoaderStrings.PlaybackTitle)
|
||||
: base(PlayerSettingsStrings.PlaybackTitle)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace osu.Game.Screens.Play.PlayerSettings
|
||||
private readonly PlayerCheckbox beatmapColorsToggle;
|
||||
|
||||
public VisualSettings()
|
||||
: base(PlayerLoaderStrings.VisualSettingsTitle)
|
||||
: base(PlayerSettingsStrings.VisualSettingsTitle)
|
||||
{
|
||||
Children = new Drawable[]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user