From 19844e972e798cfe7be2baf864a6ca2a10161242 Mon Sep 17 00:00:00 2001 From: andy840119 Date: Sun, 5 Jun 2022 22:10:08 +0800 Subject: [PATCH 1/2] Add the translation string. --- .../Generator/Languages/LanguageDetector.cs | 3 ++- .../Edit/Generator/Notes/NoteGenerator.cs | 5 +++-- .../RomajiTags/RomajiTagGenerator.cs | 3 ++- .../Generator/RubyTags/RubyTagGenerator.cs | 3 ++- .../Generator/TimeTags/TimeTagGenerator.cs | 3 ++- .../Localisation/LanguageDetectorStrings.cs | 16 ++++++++++++++ .../Localisation/NoteGeneratorStrings.cs | 21 +++++++++++++++++++ .../Localisation/RomajiTagGeneratorStrings.cs | 16 ++++++++++++++ .../Localisation/RubyTagGeneratorStrings.cs | 16 ++++++++++++++ .../Localisation/TimeTagGeneratorStrings.cs | 16 ++++++++++++++ 10 files changed, 96 insertions(+), 6 deletions(-) create mode 100644 osu.Game.Rulesets.Karaoke/Localisation/LanguageDetectorStrings.cs create mode 100644 osu.Game.Rulesets.Karaoke/Localisation/NoteGeneratorStrings.cs create mode 100644 osu.Game.Rulesets.Karaoke/Localisation/RomajiTagGeneratorStrings.cs create mode 100644 osu.Game.Rulesets.Karaoke/Localisation/RubyTagGeneratorStrings.cs create mode 100644 osu.Game.Rulesets.Karaoke/Localisation/TimeTagGeneratorStrings.cs diff --git a/osu.Game.Rulesets.Karaoke/Edit/Generator/Languages/LanguageDetector.cs b/osu.Game.Rulesets.Karaoke/Edit/Generator/Languages/LanguageDetector.cs index ad41221c4..ecb0ff2c6 100644 --- a/osu.Game.Rulesets.Karaoke/Edit/Generator/Languages/LanguageDetector.cs +++ b/osu.Game.Rulesets.Karaoke/Edit/Generator/Languages/LanguageDetector.cs @@ -7,6 +7,7 @@ using osu.Framework.Localisation; using osu.Game.Rulesets.Karaoke.Edit.Generator.Types; using osu.Game.Rulesets.Karaoke.Objects; +using osu.Game.Rulesets.Karaoke.Localisation; namespace osu.Game.Rulesets.Karaoke.Edit.Generator.Languages { @@ -31,7 +32,7 @@ public LanguageDetector(LanguageDetectorConfig config) public LocalisableString? GetInvalidMessage(Lyric lyric) { if (string.IsNullOrWhiteSpace(lyric.Text)) - return "Lyric should not be empty."; + return LanguageDetectorStrings.LyricShouldNotBeEmpty; return null; } diff --git a/osu.Game.Rulesets.Karaoke/Edit/Generator/Notes/NoteGenerator.cs b/osu.Game.Rulesets.Karaoke/Edit/Generator/Notes/NoteGenerator.cs index 51e94b571..7f552bdae 100644 --- a/osu.Game.Rulesets.Karaoke/Edit/Generator/Notes/NoteGenerator.cs +++ b/osu.Game.Rulesets.Karaoke/Edit/Generator/Notes/NoteGenerator.cs @@ -8,6 +8,7 @@ using osu.Game.Rulesets.Karaoke.Edit.Generator.Types; using osu.Game.Rulesets.Karaoke.Objects; using osu.Game.Rulesets.Karaoke.Utils; +using osu.Game.Rulesets.Karaoke.Localisation; namespace osu.Game.Rulesets.Karaoke.Edit.Generator.Notes { @@ -25,10 +26,10 @@ public NoteGenerator(NoteGeneratorConfig config) var timeTags = lyric.TimeTags; if (lyric.TimeTags.Count < 2) - return "Sorry, lyric must have at least two time-tags."; + return NoteGeneratorStrings.SorryLyricMustHaveAtLeastTwoTimeTags; if (timeTags.Any(x => x.Time == null)) - return "All time-tag should have the time."; + return NoteGeneratorStrings.AllTimeTagShouldHaveTheTime; return null; } diff --git a/osu.Game.Rulesets.Karaoke/Edit/Generator/RomajiTags/RomajiTagGenerator.cs b/osu.Game.Rulesets.Karaoke/Edit/Generator/RomajiTags/RomajiTagGenerator.cs index c4f276f10..169324926 100644 --- a/osu.Game.Rulesets.Karaoke/Edit/Generator/RomajiTags/RomajiTagGenerator.cs +++ b/osu.Game.Rulesets.Karaoke/Edit/Generator/RomajiTags/RomajiTagGenerator.cs @@ -4,6 +4,7 @@ using osu.Framework.Localisation; using osu.Game.Rulesets.Karaoke.Edit.Generator.Types; using osu.Game.Rulesets.Karaoke.Objects; +using osu.Game.Rulesets.Karaoke.Localisation; namespace osu.Game.Rulesets.Karaoke.Edit.Generator.RomajiTags { @@ -19,7 +20,7 @@ protected RomajiTagGenerator(T config) public LocalisableString? GetInvalidMessage(Lyric lyric) { if (string.IsNullOrWhiteSpace(lyric.Text)) - return "Lyric should not be empty."; + return RomajiTagGeneratorStrings.LyricShouldNotBeEmpty; return null; } diff --git a/osu.Game.Rulesets.Karaoke/Edit/Generator/RubyTags/RubyTagGenerator.cs b/osu.Game.Rulesets.Karaoke/Edit/Generator/RubyTags/RubyTagGenerator.cs index 148357256..16f469070 100644 --- a/osu.Game.Rulesets.Karaoke/Edit/Generator/RubyTags/RubyTagGenerator.cs +++ b/osu.Game.Rulesets.Karaoke/Edit/Generator/RubyTags/RubyTagGenerator.cs @@ -4,6 +4,7 @@ using osu.Framework.Localisation; using osu.Game.Rulesets.Karaoke.Edit.Generator.Types; using osu.Game.Rulesets.Karaoke.Objects; +using osu.Game.Rulesets.Karaoke.Localisation; namespace osu.Game.Rulesets.Karaoke.Edit.Generator.RubyTags { @@ -19,7 +20,7 @@ protected RubyTagGenerator(T config) public LocalisableString? GetInvalidMessage(Lyric lyric) { if (string.IsNullOrWhiteSpace(lyric.Text)) - return "Lyric should not be empty."; + return RubyTagGeneratorStrings.LyricShouldNotBeEmpty; return null; } diff --git a/osu.Game.Rulesets.Karaoke/Edit/Generator/TimeTags/TimeTagGenerator.cs b/osu.Game.Rulesets.Karaoke/Edit/Generator/TimeTags/TimeTagGenerator.cs index c93392e89..970e26122 100644 --- a/osu.Game.Rulesets.Karaoke/Edit/Generator/TimeTags/TimeTagGenerator.cs +++ b/osu.Game.Rulesets.Karaoke/Edit/Generator/TimeTags/TimeTagGenerator.cs @@ -7,6 +7,7 @@ using osu.Framework.Localisation; using osu.Game.Rulesets.Karaoke.Edit.Generator.Types; using osu.Game.Rulesets.Karaoke.Objects; +using osu.Game.Rulesets.Karaoke.Localisation; namespace osu.Game.Rulesets.Karaoke.Edit.Generator.TimeTags { @@ -22,7 +23,7 @@ protected TimeTagGenerator(T config) public LocalisableString? GetInvalidMessage(Lyric lyric) { if (string.IsNullOrEmpty(lyric.Text)) - return "Lyric should not be empty."; + return TimeTagGeneratorStrings.LyricShouldNotBeEmpty; return null; } diff --git a/osu.Game.Rulesets.Karaoke/Localisation/LanguageDetectorStrings.cs b/osu.Game.Rulesets.Karaoke/Localisation/LanguageDetectorStrings.cs new file mode 100644 index 000000000..05b4ee366 --- /dev/null +++ b/osu.Game.Rulesets.Karaoke/Localisation/LanguageDetectorStrings.cs @@ -0,0 +1,16 @@ +using osu.Framework.Localisation; + +namespace osu.Game.Rulesets.Karaoke.Localisation +{ + public static class LanguageDetectorStrings + { + private const string prefix = @"osu.Game.Rulesets.Karaoke.Localisation.LanguageDetector"; + + /// + /// "Lyric should not be empty." + /// + public static LocalisableString LyricShouldNotBeEmpty => new TranslatableString(getKey(@"lyric_should_not_be_empty"), @"Lyric should not be empty."); + + private static string getKey(string key) => $@"{prefix}:{key}"; + } +} \ No newline at end of file diff --git a/osu.Game.Rulesets.Karaoke/Localisation/NoteGeneratorStrings.cs b/osu.Game.Rulesets.Karaoke/Localisation/NoteGeneratorStrings.cs new file mode 100644 index 000000000..c9299f0ce --- /dev/null +++ b/osu.Game.Rulesets.Karaoke/Localisation/NoteGeneratorStrings.cs @@ -0,0 +1,21 @@ +using osu.Framework.Localisation; + +namespace osu.Game.Rulesets.Karaoke.Localisation +{ + public static class NoteGeneratorStrings + { + private const string prefix = @"osu.Game.Rulesets.Karaoke.Localisation.NoteGenerator"; + + /// + /// "Sorry, lyric must have at least two time-tags." + /// + public static LocalisableString SorryLyricMustHaveAtLeastTwoTimeTags => new TranslatableString(getKey(@"sorry_lyric_must_have_at_least_two_time_tags"), @"Sorry, lyric must have at least two time-tags."); + + /// + /// "All time-tag should have the time." + /// + public static LocalisableString AllTimeTagShouldHaveTheTime => new TranslatableString(getKey(@"all_time_tag_should_have_the_time"), @"All time-tag should have the time."); + + private static string getKey(string key) => $@"{prefix}:{key}"; + } +} \ No newline at end of file diff --git a/osu.Game.Rulesets.Karaoke/Localisation/RomajiTagGeneratorStrings.cs b/osu.Game.Rulesets.Karaoke/Localisation/RomajiTagGeneratorStrings.cs new file mode 100644 index 000000000..5564d68c9 --- /dev/null +++ b/osu.Game.Rulesets.Karaoke/Localisation/RomajiTagGeneratorStrings.cs @@ -0,0 +1,16 @@ +using osu.Framework.Localisation; + +namespace osu.Game.Rulesets.Karaoke.Localisation +{ + public static class RomajiTagGeneratorStrings + { + private const string prefix = @"osu.Game.Rulesets.Karaoke.Localisation.RomajiTagGenerator"; + + /// + /// "Lyric should not be empty." + /// + public static LocalisableString LyricShouldNotBeEmpty => new TranslatableString(getKey(@"lyric_should_not_be_empty"), @"Lyric should not be empty."); + + private static string getKey(string key) => $@"{prefix}:{key}"; + } +} \ No newline at end of file diff --git a/osu.Game.Rulesets.Karaoke/Localisation/RubyTagGeneratorStrings.cs b/osu.Game.Rulesets.Karaoke/Localisation/RubyTagGeneratorStrings.cs new file mode 100644 index 000000000..ec967967c --- /dev/null +++ b/osu.Game.Rulesets.Karaoke/Localisation/RubyTagGeneratorStrings.cs @@ -0,0 +1,16 @@ +using osu.Framework.Localisation; + +namespace osu.Game.Rulesets.Karaoke.Localisation +{ + public static class RubyTagGeneratorStrings + { + private const string prefix = @"osu.Game.Rulesets.Karaoke.Localisation.RubyTagGenerator"; + + /// + /// "Lyric should not be empty." + /// + public static LocalisableString LyricShouldNotBeEmpty => new TranslatableString(getKey(@"lyric_should_not_be_empty"), @"Lyric should not be empty."); + + private static string getKey(string key) => $@"{prefix}:{key}"; + } +} \ No newline at end of file diff --git a/osu.Game.Rulesets.Karaoke/Localisation/TimeTagGeneratorStrings.cs b/osu.Game.Rulesets.Karaoke/Localisation/TimeTagGeneratorStrings.cs new file mode 100644 index 000000000..9d58e59e5 --- /dev/null +++ b/osu.Game.Rulesets.Karaoke/Localisation/TimeTagGeneratorStrings.cs @@ -0,0 +1,16 @@ +using osu.Framework.Localisation; + +namespace osu.Game.Rulesets.Karaoke.Localisation +{ + public static class TimeTagGeneratorStrings + { + private const string prefix = @"osu.Game.Rulesets.Karaoke.Localisation.TimeTagGenerator"; + + /// + /// "Lyric should not be empty." + /// + public static LocalisableString LyricShouldNotBeEmpty => new TranslatableString(getKey(@"lyric_should_not_be_empty"), @"Lyric should not be empty."); + + private static string getKey(string key) => $@"{prefix}:{key}"; + } +} \ No newline at end of file From 05a5d4e12f8afaeb4e8b3877d918259d9fbb4354 Mon Sep 17 00:00:00 2001 From: andy840119 Date: Sun, 5 Jun 2022 22:33:26 +0800 Subject: [PATCH 2/2] [POC] collect the class into namespace, but seems cannot be generated by localization tool. --- .../Edit/Generator/Languages/LanguageDetector.cs | 2 +- .../Edit/Generator/Notes/NoteGenerator.cs | 2 +- .../Edit/Generator/RomajiTags/RomajiTagGenerator.cs | 2 +- .../Edit/Generator/RubyTags/RubyTagGenerator.cs | 2 +- .../Edit/Generator/TimeTags/TimeTagGenerator.cs | 2 +- .../{ => Edit/Generator}/LanguageDetectorStrings.cs | 4 ++-- .../Localisation/{ => Edit/Generator}/NoteGeneratorStrings.cs | 4 ++-- .../{ => Edit/Generator}/RomajiTagGeneratorStrings.cs | 4 ++-- .../{ => Edit/Generator}/RubyTagGeneratorStrings.cs | 4 ++-- .../{ => Edit/Generator}/TimeTagGeneratorStrings.cs | 4 ++-- 10 files changed, 15 insertions(+), 15 deletions(-) rename osu.Game.Rulesets.Karaoke/Localisation/{ => Edit/Generator}/LanguageDetectorStrings.cs (88%) rename osu.Game.Rulesets.Karaoke/Localisation/{ => Edit/Generator}/NoteGeneratorStrings.cs (92%) rename osu.Game.Rulesets.Karaoke/Localisation/{ => Edit/Generator}/RomajiTagGeneratorStrings.cs (88%) rename osu.Game.Rulesets.Karaoke/Localisation/{ => Edit/Generator}/RubyTagGeneratorStrings.cs (88%) rename osu.Game.Rulesets.Karaoke/Localisation/{ => Edit/Generator}/TimeTagGeneratorStrings.cs (88%) diff --git a/osu.Game.Rulesets.Karaoke/Edit/Generator/Languages/LanguageDetector.cs b/osu.Game.Rulesets.Karaoke/Edit/Generator/Languages/LanguageDetector.cs index ecb0ff2c6..a513dd78c 100644 --- a/osu.Game.Rulesets.Karaoke/Edit/Generator/Languages/LanguageDetector.cs +++ b/osu.Game.Rulesets.Karaoke/Edit/Generator/Languages/LanguageDetector.cs @@ -7,7 +7,7 @@ using osu.Framework.Localisation; using osu.Game.Rulesets.Karaoke.Edit.Generator.Types; using osu.Game.Rulesets.Karaoke.Objects; -using osu.Game.Rulesets.Karaoke.Localisation; +using osu.Game.Rulesets.Karaoke.Localisation.Edit.Generator; namespace osu.Game.Rulesets.Karaoke.Edit.Generator.Languages { diff --git a/osu.Game.Rulesets.Karaoke/Edit/Generator/Notes/NoteGenerator.cs b/osu.Game.Rulesets.Karaoke/Edit/Generator/Notes/NoteGenerator.cs index 7f552bdae..60e45d460 100644 --- a/osu.Game.Rulesets.Karaoke/Edit/Generator/Notes/NoteGenerator.cs +++ b/osu.Game.Rulesets.Karaoke/Edit/Generator/Notes/NoteGenerator.cs @@ -8,7 +8,7 @@ using osu.Game.Rulesets.Karaoke.Edit.Generator.Types; using osu.Game.Rulesets.Karaoke.Objects; using osu.Game.Rulesets.Karaoke.Utils; -using osu.Game.Rulesets.Karaoke.Localisation; +using osu.Game.Rulesets.Karaoke.Localisation.Edit.Generator; namespace osu.Game.Rulesets.Karaoke.Edit.Generator.Notes { diff --git a/osu.Game.Rulesets.Karaoke/Edit/Generator/RomajiTags/RomajiTagGenerator.cs b/osu.Game.Rulesets.Karaoke/Edit/Generator/RomajiTags/RomajiTagGenerator.cs index 169324926..604e45c5a 100644 --- a/osu.Game.Rulesets.Karaoke/Edit/Generator/RomajiTags/RomajiTagGenerator.cs +++ b/osu.Game.Rulesets.Karaoke/Edit/Generator/RomajiTags/RomajiTagGenerator.cs @@ -4,7 +4,7 @@ using osu.Framework.Localisation; using osu.Game.Rulesets.Karaoke.Edit.Generator.Types; using osu.Game.Rulesets.Karaoke.Objects; -using osu.Game.Rulesets.Karaoke.Localisation; +using osu.Game.Rulesets.Karaoke.Localisation.Edit.Generator; namespace osu.Game.Rulesets.Karaoke.Edit.Generator.RomajiTags { diff --git a/osu.Game.Rulesets.Karaoke/Edit/Generator/RubyTags/RubyTagGenerator.cs b/osu.Game.Rulesets.Karaoke/Edit/Generator/RubyTags/RubyTagGenerator.cs index 16f469070..ace93705e 100644 --- a/osu.Game.Rulesets.Karaoke/Edit/Generator/RubyTags/RubyTagGenerator.cs +++ b/osu.Game.Rulesets.Karaoke/Edit/Generator/RubyTags/RubyTagGenerator.cs @@ -4,7 +4,7 @@ using osu.Framework.Localisation; using osu.Game.Rulesets.Karaoke.Edit.Generator.Types; using osu.Game.Rulesets.Karaoke.Objects; -using osu.Game.Rulesets.Karaoke.Localisation; +using osu.Game.Rulesets.Karaoke.Localisation.Edit.Generator; namespace osu.Game.Rulesets.Karaoke.Edit.Generator.RubyTags { diff --git a/osu.Game.Rulesets.Karaoke/Edit/Generator/TimeTags/TimeTagGenerator.cs b/osu.Game.Rulesets.Karaoke/Edit/Generator/TimeTags/TimeTagGenerator.cs index 970e26122..1dac026dd 100644 --- a/osu.Game.Rulesets.Karaoke/Edit/Generator/TimeTags/TimeTagGenerator.cs +++ b/osu.Game.Rulesets.Karaoke/Edit/Generator/TimeTags/TimeTagGenerator.cs @@ -7,7 +7,7 @@ using osu.Framework.Localisation; using osu.Game.Rulesets.Karaoke.Edit.Generator.Types; using osu.Game.Rulesets.Karaoke.Objects; -using osu.Game.Rulesets.Karaoke.Localisation; +using osu.Game.Rulesets.Karaoke.Localisation.Edit.Generator; namespace osu.Game.Rulesets.Karaoke.Edit.Generator.TimeTags { diff --git a/osu.Game.Rulesets.Karaoke/Localisation/LanguageDetectorStrings.cs b/osu.Game.Rulesets.Karaoke/Localisation/Edit/Generator/LanguageDetectorStrings.cs similarity index 88% rename from osu.Game.Rulesets.Karaoke/Localisation/LanguageDetectorStrings.cs rename to osu.Game.Rulesets.Karaoke/Localisation/Edit/Generator/LanguageDetectorStrings.cs index 05b4ee366..2c89fcc62 100644 --- a/osu.Game.Rulesets.Karaoke/Localisation/LanguageDetectorStrings.cs +++ b/osu.Game.Rulesets.Karaoke/Localisation/Edit/Generator/LanguageDetectorStrings.cs @@ -1,6 +1,6 @@ using osu.Framework.Localisation; -namespace osu.Game.Rulesets.Karaoke.Localisation +namespace osu.Game.Rulesets.Karaoke.Localisation.Edit.Generator { public static class LanguageDetectorStrings { @@ -13,4 +13,4 @@ public static class LanguageDetectorStrings private static string getKey(string key) => $@"{prefix}:{key}"; } -} \ No newline at end of file +} diff --git a/osu.Game.Rulesets.Karaoke/Localisation/NoteGeneratorStrings.cs b/osu.Game.Rulesets.Karaoke/Localisation/Edit/Generator/NoteGeneratorStrings.cs similarity index 92% rename from osu.Game.Rulesets.Karaoke/Localisation/NoteGeneratorStrings.cs rename to osu.Game.Rulesets.Karaoke/Localisation/Edit/Generator/NoteGeneratorStrings.cs index c9299f0ce..0295e7859 100644 --- a/osu.Game.Rulesets.Karaoke/Localisation/NoteGeneratorStrings.cs +++ b/osu.Game.Rulesets.Karaoke/Localisation/Edit/Generator/NoteGeneratorStrings.cs @@ -1,6 +1,6 @@ using osu.Framework.Localisation; -namespace osu.Game.Rulesets.Karaoke.Localisation +namespace osu.Game.Rulesets.Karaoke.Localisation.Edit.Generator { public static class NoteGeneratorStrings { @@ -18,4 +18,4 @@ public static class NoteGeneratorStrings private static string getKey(string key) => $@"{prefix}:{key}"; } -} \ No newline at end of file +} diff --git a/osu.Game.Rulesets.Karaoke/Localisation/RomajiTagGeneratorStrings.cs b/osu.Game.Rulesets.Karaoke/Localisation/Edit/Generator/RomajiTagGeneratorStrings.cs similarity index 88% rename from osu.Game.Rulesets.Karaoke/Localisation/RomajiTagGeneratorStrings.cs rename to osu.Game.Rulesets.Karaoke/Localisation/Edit/Generator/RomajiTagGeneratorStrings.cs index 5564d68c9..8b91f924d 100644 --- a/osu.Game.Rulesets.Karaoke/Localisation/RomajiTagGeneratorStrings.cs +++ b/osu.Game.Rulesets.Karaoke/Localisation/Edit/Generator/RomajiTagGeneratorStrings.cs @@ -1,6 +1,6 @@ using osu.Framework.Localisation; -namespace osu.Game.Rulesets.Karaoke.Localisation +namespace osu.Game.Rulesets.Karaoke.Localisation.Edit.Generator { public static class RomajiTagGeneratorStrings { @@ -13,4 +13,4 @@ public static class RomajiTagGeneratorStrings private static string getKey(string key) => $@"{prefix}:{key}"; } -} \ No newline at end of file +} diff --git a/osu.Game.Rulesets.Karaoke/Localisation/RubyTagGeneratorStrings.cs b/osu.Game.Rulesets.Karaoke/Localisation/Edit/Generator/RubyTagGeneratorStrings.cs similarity index 88% rename from osu.Game.Rulesets.Karaoke/Localisation/RubyTagGeneratorStrings.cs rename to osu.Game.Rulesets.Karaoke/Localisation/Edit/Generator/RubyTagGeneratorStrings.cs index ec967967c..8401fd202 100644 --- a/osu.Game.Rulesets.Karaoke/Localisation/RubyTagGeneratorStrings.cs +++ b/osu.Game.Rulesets.Karaoke/Localisation/Edit/Generator/RubyTagGeneratorStrings.cs @@ -1,6 +1,6 @@ using osu.Framework.Localisation; -namespace osu.Game.Rulesets.Karaoke.Localisation +namespace osu.Game.Rulesets.Karaoke.Localisation.Edit.Generator { public static class RubyTagGeneratorStrings { @@ -13,4 +13,4 @@ public static class RubyTagGeneratorStrings private static string getKey(string key) => $@"{prefix}:{key}"; } -} \ No newline at end of file +} diff --git a/osu.Game.Rulesets.Karaoke/Localisation/TimeTagGeneratorStrings.cs b/osu.Game.Rulesets.Karaoke/Localisation/Edit/Generator/TimeTagGeneratorStrings.cs similarity index 88% rename from osu.Game.Rulesets.Karaoke/Localisation/TimeTagGeneratorStrings.cs rename to osu.Game.Rulesets.Karaoke/Localisation/Edit/Generator/TimeTagGeneratorStrings.cs index 9d58e59e5..805499b66 100644 --- a/osu.Game.Rulesets.Karaoke/Localisation/TimeTagGeneratorStrings.cs +++ b/osu.Game.Rulesets.Karaoke/Localisation/Edit/Generator/TimeTagGeneratorStrings.cs @@ -1,6 +1,6 @@ using osu.Framework.Localisation; -namespace osu.Game.Rulesets.Karaoke.Localisation +namespace osu.Game.Rulesets.Karaoke.Localisation.Edit.Generator { public static class TimeTagGeneratorStrings { @@ -13,4 +13,4 @@ public static class TimeTagGeneratorStrings private static string getKey(string key) => $@"{prefix}:{key}"; } -} \ No newline at end of file +}