diff --git a/osu.Game/Localisation/GeneralSettingsStrings.cs b/osu.Game/Localisation/GeneralSettingsStrings.cs
index a60e4891f4..cca8c8efd1 100644
--- a/osu.Game/Localisation/GeneralSettingsStrings.cs
+++ b/osu.Game/Localisation/GeneralSettingsStrings.cs
@@ -29,6 +29,11 @@ public static class GeneralSettingsStrings
///
public static LocalisableString PreferOriginalMetadataLanguage => new TranslatableString(getKey(@"prefer_original"), @"Prefer metadata in original language");
+ ///
+ /// "Prefer 24-hour time"
+ ///
+ public static LocalisableString Prefer24HourTime => new TranslatableString(getKey(@"prefer_24_hour_time"), @"Prefer 24-hour time");
+
///
/// "Updates"
///
diff --git a/osu.Game/Localisation/UserInterfaceStrings.cs b/osu.Game/Localisation/UserInterfaceStrings.cs
index ac79f9f45d..4be403edb4 100644
--- a/osu.Game/Localisation/UserInterfaceStrings.cs
+++ b/osu.Game/Localisation/UserInterfaceStrings.cs
@@ -24,11 +24,6 @@ public static class UserInterfaceStrings
///
public static LocalisableString CursorRotation => new TranslatableString(getKey(@"cursor_rotation"), @"Rotate cursor when dragging");
- ///
- /// "Prefer 24-hour time"
- ///
- public static LocalisableString Prefer24HourTime => new TranslatableString(getKey(@"prefer_24_hour_time"), @"Prefer 24-hour time");
-
///
/// "Menu cursor size"
///
diff --git a/osu.Game/Overlays/Settings/Sections/General/LanguageSettings.cs b/osu.Game/Overlays/Settings/Sections/General/LanguageSettings.cs
index 200618c469..e7cc1bce10 100644
--- a/osu.Game/Overlays/Settings/Sections/General/LanguageSettings.cs
+++ b/osu.Game/Overlays/Settings/Sections/General/LanguageSettings.cs
@@ -6,6 +6,7 @@
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
+using osu.Game.Configuration;
using osu.Game.Extensions;
using osu.Game.Localisation;
@@ -19,7 +20,7 @@ public class LanguageSettings : SettingsSubsection
protected override LocalisableString Header => GeneralSettingsStrings.LanguageHeader;
[BackgroundDependencyLoader]
- private void load(FrameworkConfigManager frameworkConfig)
+ private void load(FrameworkConfigManager frameworkConfig, OsuConfigManager config)
{
frameworkLocale = frameworkConfig.GetBindable(FrameworkSetting.Locale);
@@ -34,6 +35,11 @@ private void load(FrameworkConfigManager frameworkConfig)
LabelText = GeneralSettingsStrings.PreferOriginalMetadataLanguage,
Current = frameworkConfig.GetBindable(FrameworkSetting.ShowUnicode)
},
+ new SettingsCheckbox
+ {
+ LabelText = GeneralSettingsStrings.Prefer24HourTime,
+ Current = config.GetBindable(OsuSetting.Prefer24HourTime)
+ },
};
if (!LanguageExtensions.TryParseCultureCode(frameworkLocale.Value, out var locale))
diff --git a/osu.Game/Overlays/Settings/Sections/UserInterface/GeneralSettings.cs b/osu.Game/Overlays/Settings/Sections/UserInterface/GeneralSettings.cs
index d6d38c8e12..59894cbcae 100644
--- a/osu.Game/Overlays/Settings/Sections/UserInterface/GeneralSettings.cs
+++ b/osu.Game/Overlays/Settings/Sections/UserInterface/GeneralSettings.cs
@@ -41,11 +41,6 @@ private void load(OsuConfigManager config)
Current = config.GetBindable(OsuSetting.UIHoldActivationDelay),
KeyboardStep = 50
},
- new SettingsCheckbox
- {
- LabelText = UserInterfaceStrings.Prefer24HourTime,
- Current = config.GetBindable(OsuSetting.Prefer24HourTime)
- },
};
}
}