1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-12 00:42:55 +08:00

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
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497
2 changed files with 6 additions and 6 deletions

View File

@ -5,9 +5,9 @@ using osu.Framework.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>
/// "Mod Select"
@ -26,4 +26,4 @@ namespace osu.Game.Localisation
private static string getKey(string key) => $@"{prefix}:{key}";
}
}
}

View File

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