Rename ModSelect{Screen -> Overlay}Strings

This commit is contained in:
Bartłomiej Dach
2022-05-11 18:01:33 +02:00
parent 558573964c
commit a104277e7f
2 changed files with 6 additions and 6 deletions

View File

@ -5,9 +5,9 @@ using osu.Framework.Localisation;
namespace osu.Game.Localisation namespace osu.Game.Localisation
{ {
public static class ModSelectScreenStrings public static class ModSelectOverlayStrings
{ {
private const string prefix = @"osu.Game.Resources.Localisation.ModSelectScreen"; private const string prefix = @"osu.Game.Resources.Localisation.ModSelectOverlay";
/// <summary> /// <summary>
/// "Mod Select" /// "Mod Select"
@ -26,4 +26,4 @@ namespace osu.Game.Localisation
private static string getKey(string key) => $@"{prefix}:{key}"; private static string getKey(string key) => $@"{prefix}:{key}";
} }
} }

View File

@ -84,8 +84,8 @@ namespace osu.Game.Overlays.Mods
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OsuColour colours) private void load(OsuColour colours)
{ {
Header.Title = ModSelectScreenStrings.ModSelectTitle; Header.Title = ModSelectOverlayStrings.ModSelectTitle;
Header.Description = ModSelectScreenStrings.ModSelectDescription; Header.Description = ModSelectOverlayStrings.ModSelectDescription;
AddRange(new Drawable[] AddRange(new Drawable[]
{ {
@ -262,7 +262,7 @@ namespace osu.Game.Overlays.Mods
{ {
customisationButton = new ShearedToggleButton(BUTTON_WIDTH) customisationButton = new ShearedToggleButton(BUTTON_WIDTH)
{ {
Text = ModSelectScreenStrings.ModCustomisation, Text = ModSelectOverlayStrings.ModCustomisation,
Active = { BindTarget = customisationVisible } Active = { BindTarget = customisationVisible }
}, },
new ShearedButton(BUTTON_WIDTH) new ShearedButton(BUTTON_WIDTH)