diff --git a/osu.Game.Rulesets.Karaoke/Screens/Edit/AutoGenerateSubsection.cs b/osu.Game.Rulesets.Karaoke/Screens/Edit/AutoGenerateSubsection.cs index 169ec559a..db86bfe0b 100644 --- a/osu.Game.Rulesets.Karaoke/Screens/Edit/AutoGenerateSubsection.cs +++ b/osu.Game.Rulesets.Karaoke/Screens/Edit/AutoGenerateSubsection.cs @@ -70,7 +70,7 @@ private void load() x.RelativeSizeAxes = Axes.X; x.AutoSizeAxes = Axes.Y; x.Padding = new MarginPadding { Horizontal = horizontal_padding }; - x.Description = CreateInvalidLyricDescriptionFormat(); + x.Description = CreateInvalidDescriptionFormat(); }) }; }); @@ -80,7 +80,7 @@ private void load() protected virtual DescriptionTextFlowContainer CreateDescriptionTextFlowContainer() => new(); - protected abstract DescriptionFormat CreateInvalidLyricDescriptionFormat(); + protected abstract DescriptionFormat CreateInvalidDescriptionFormat(); protected abstract ConfigButton CreateConfigButton(); diff --git a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/Language/LanguageAutoGenerateSubsection.cs b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/Language/LanguageAutoGenerateSubsection.cs index 97b60308c..8439e931f 100644 --- a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/Language/LanguageAutoGenerateSubsection.cs +++ b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/Language/LanguageAutoGenerateSubsection.cs @@ -21,7 +21,7 @@ public LanguageAutoGenerateSubsection() { } - protected override DescriptionFormat CreateInvalidLyricDescriptionFormat() + protected override DescriptionFormat CreateInvalidDescriptionFormat() => new() { Text = $"Seems some lyric has no texts, go to [{DescriptionFormat.LINK_KEY_ACTION}]({typing_mode}) to fill the text.", diff --git a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/Notes/NoteAutoGenerateSubsection.cs b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/Notes/NoteAutoGenerateSubsection.cs index 3dfb606df..a6e8b5a60 100644 --- a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/Notes/NoteAutoGenerateSubsection.cs +++ b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/Notes/NoteAutoGenerateSubsection.cs @@ -29,7 +29,7 @@ public NoteAutoGenerateSubsection() { } - protected override DescriptionFormat CreateInvalidLyricDescriptionFormat() + protected override DescriptionFormat CreateInvalidDescriptionFormat() => new() { Text = $"Seems some lyric contains invalid time-tag, go to [{DescriptionFormat.LINK_KEY_ACTION}]({create_time_tag_mode}) to fix those issue.", diff --git a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/Reference/ReferenceLyricAutoGenerateSection.cs b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/Reference/ReferenceLyricAutoGenerateSection.cs index ba9cf567b..abb92f328 100644 --- a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/Reference/ReferenceLyricAutoGenerateSection.cs +++ b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/Reference/ReferenceLyricAutoGenerateSection.cs @@ -20,7 +20,7 @@ public ReferenceLyricAutoGenerateSubsection() { } - protected override DescriptionFormat CreateInvalidLyricDescriptionFormat() + protected override DescriptionFormat CreateInvalidDescriptionFormat() => new() { Text = "Seems every lyrics in the songs are unique. But don't worry, reference lyric can still link by hands." diff --git a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/RubyRomaji/TextTagAutoGenerateSection.cs b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/RubyRomaji/TextTagAutoGenerateSection.cs index c7c1ca8cf..d80164365 100644 --- a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/RubyRomaji/TextTagAutoGenerateSection.cs +++ b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/RubyRomaji/TextTagAutoGenerateSection.cs @@ -19,7 +19,7 @@ protected TextTagAutoGenerateSubsection(LyricAutoGenerateProperty autoGeneratePr { } - protected override DescriptionFormat CreateInvalidLyricDescriptionFormat() + protected override DescriptionFormat CreateInvalidDescriptionFormat() => new() { Text = $"Seems some lyric missing language, go to [{DescriptionFormat.LINK_KEY_ACTION}]({language_mode}) to fill the language.", diff --git a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/TimeTags/TimeTagAutoGenerateSection.cs b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/TimeTags/TimeTagAutoGenerateSection.cs index 64919e74c..6f8435d60 100644 --- a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/TimeTags/TimeTagAutoGenerateSection.cs +++ b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Settings/TimeTags/TimeTagAutoGenerateSection.cs @@ -27,7 +27,7 @@ public TimeTageAutoGenerateSubsection() { } - protected override DescriptionFormat CreateInvalidLyricDescriptionFormat() + protected override DescriptionFormat CreateInvalidDescriptionFormat() => new() { Text = $"Seems some lyric missing language, go to [{DescriptionFormat.LINK_KEY_ACTION}]({language_mode}) to fill the language.",