From 2c5aa73ccbe6c95fe8d916dbdcbb4a1b3cfc4f3b Mon Sep 17 00:00:00 2001 From: Hivie Date: Mon, 4 Aug 2025 22:07:41 +0100 Subject: [PATCH] remove unnecessary localisations --- osu.Game/Localisation/EditorStrings.cs | 10 ---------- osu.Game/Rulesets/Edit/Checks/Components/CheckScope.cs | 5 ----- 2 files changed, 15 deletions(-) diff --git a/osu.Game/Localisation/EditorStrings.cs b/osu.Game/Localisation/EditorStrings.cs index 2a9be8700d..eeccdc8e8a 100644 --- a/osu.Game/Localisation/EditorStrings.cs +++ b/osu.Game/Localisation/EditorStrings.cs @@ -209,16 +209,6 @@ namespace osu.Game.Localisation /// public static LocalisableString OpenDiscussionPage => new TranslatableString(getKey(@"open_discussion_page"), @"Open beatmap discussion page"); - /// - /// "Difficulty" - /// - public static LocalisableString Difficulty => new TranslatableString(getKey(@"this_difficulty"), @"Difficulty"); - - /// - /// "Beatmapset" - /// - public static LocalisableString Beatmapset => new TranslatableString(getKey(@"this_beatmapset"), @"Beatmapset"); - private static string getKey(string key) => $@"{prefix}:{key}"; } } diff --git a/osu.Game/Rulesets/Edit/Checks/Components/CheckScope.cs b/osu.Game/Rulesets/Edit/Checks/Components/CheckScope.cs index 8ae23befeb..27e35bb284 100644 --- a/osu.Game/Rulesets/Edit/Checks/Components/CheckScope.cs +++ b/osu.Game/Rulesets/Edit/Checks/Components/CheckScope.cs @@ -1,9 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -using osu.Framework.Localisation; -using osu.Game.Localisation; - namespace osu.Game.Rulesets.Edit.Checks.Components { public enum CheckScope @@ -11,13 +8,11 @@ namespace osu.Game.Rulesets.Edit.Checks.Components /// /// Run checks that apply to the current difficulty. /// - [LocalisableDescription(typeof(EditorStrings), nameof(EditorStrings.Difficulty))] Difficulty, /// /// Run checks that apply to the beatmapset as a whole. /// - [LocalisableDescription(typeof(EditorStrings), nameof(EditorStrings.Beatmapset))] Beatmapset, } }