Skip to content

Commit

Permalink
Adjust the namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Sep 29, 2023
1 parent fd4591d commit 894effa
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
using osu.Framework.Localisation;
using osu.Game.Rulesets.Karaoke.Objects;

namespace osu.Game.Rulesets.Karaoke.Screens.Edit.Import.Lyrics.GenerateRubyRomaji;
namespace osu.Game.Rulesets.Karaoke.Screens.Edit.Import.Lyrics.GenerateRuby;

public partial class GenerateRubyRomajiNavigation : TopNavigation<GenerateRubyRomajiStepScreen>
public partial class GenerateRubyNavigation : TopNavigation<GenerateRubyStepScreen>
{
private const string auto_generate_ruby = "AUTO_GENERATE_RUBY";

public GenerateRubyRomajiNavigation(GenerateRubyRomajiStepScreen screen)
public GenerateRubyNavigation(GenerateRubyStepScreen screen)
: base(screen)
{
}
Expand Down Expand Up @@ -54,7 +54,7 @@ protected override bool AbleToNextStep(NavigationState value)

private partial class GenerateRubyTextFlowContainer : NavigationTextContainer
{
public GenerateRubyTextFlowContainer(GenerateRubyRomajiStepScreen screen)
public GenerateRubyTextFlowContainer(GenerateRubyStepScreen screen)
{
AddLinkFactory(auto_generate_ruby, "auto generate ruby", screen.AskForAutoGenerateRuby);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
using osu.Game.Rulesets.Karaoke.Edit.ChangeHandlers.Lyrics;
using osu.Game.Rulesets.Karaoke.Screens.Edit.Beatmaps.Lyrics;

namespace osu.Game.Rulesets.Karaoke.Screens.Edit.Import.Lyrics.GenerateRubyRomaji;
namespace osu.Game.Rulesets.Karaoke.Screens.Edit.Import.Lyrics.GenerateRuby;

public partial class GenerateRubyRomajiStepScreen : LyricImporterStepScreenWithLyricEditor
public partial class GenerateRubyStepScreen : LyricImporterStepScreenWithLyricEditor
{
public override string Title => "Generate ruby";

Expand All @@ -22,13 +22,13 @@ public partial class GenerateRubyRomajiStepScreen : LyricImporterStepScreenWithL
[Cached(typeof(ILyricPropertyAutoGenerateChangeHandler))]
private readonly LyricPropertyAutoGenerateChangeHandler lyricPropertyAutoGenerateChangeHandler;

public GenerateRubyRomajiStepScreen()
public GenerateRubyStepScreen()
{
AddInternal(lyricPropertyAutoGenerateChangeHandler = new LyricPropertyAutoGenerateChangeHandler());
}

protected override TopNavigation CreateNavigation()
=> new GenerateRubyRomajiNavigation(this);
=> new GenerateRubyNavigation(this);

protected override Drawable CreateContent()
=> base.CreateContent().With(_ =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using osu.Framework.Graphics.Sprites;
using osu.Game.Overlays.Dialog;

namespace osu.Game.Rulesets.Karaoke.Screens.Edit.Import.Lyrics.GenerateRubyRomaji;
namespace osu.Game.Rulesets.Karaoke.Screens.Edit.Import.Lyrics.GenerateRuby;

public partial class UseAutoGenerateRubyPopupDialog : PopupDialog
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
using osu.Game.Rulesets.Karaoke.Objects;
using osu.Game.Rulesets.Karaoke.Objects.Utils;
using osu.Game.Rulesets.Karaoke.Screens.Edit.Beatmaps.Lyrics;
using osu.Game.Rulesets.Karaoke.Screens.Edit.Import.Lyrics.GenerateRubyRomaji;

namespace osu.Game.Rulesets.Karaoke.Screens.Edit.Import.Lyrics.GenerateTimeTag;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using osu.Framework.Graphics.Sprites;
using osu.Game.Overlays.Dialog;

namespace osu.Game.Rulesets.Karaoke.Screens.Edit.Import.Lyrics.GenerateRubyRomaji;
namespace osu.Game.Rulesets.Karaoke.Screens.Edit.Import.Lyrics.GenerateTimeTag;

public partial class UseAutoGenerateRomajiPopupDialog : PopupDialog
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using osu.Game.Rulesets.Karaoke.Screens.Edit.Import.Lyrics.AssignLanguage;
using osu.Game.Rulesets.Karaoke.Screens.Edit.Import.Lyrics.DragFile;
using osu.Game.Rulesets.Karaoke.Screens.Edit.Import.Lyrics.EditLyric;
using osu.Game.Rulesets.Karaoke.Screens.Edit.Import.Lyrics.GenerateRubyRomaji;
using osu.Game.Rulesets.Karaoke.Screens.Edit.Import.Lyrics.GenerateRuby;
using osu.Game.Rulesets.Karaoke.Screens.Edit.Import.Lyrics.GenerateTimeTag;
using osu.Game.Rulesets.Karaoke.Screens.Edit.Import.Lyrics.Success;
using osu.Game.Screens;
Expand Down Expand Up @@ -47,7 +47,7 @@ public void Push(LyricImporterStep step)
return;

case LyricImporterStep.GenerateRuby:
Push(new GenerateRubyRomajiStepScreen());
Push(new GenerateRubyStepScreen());
return;

case LyricImporterStep.GenerateTimeTag:
Expand Down

0 comments on commit 894effa

Please sign in to comment.