mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 02:22:55 +08:00
Added PreferOriginalMetadataLanguage to FirstRunSetup
This commit is contained in:
parent
cb6b9898c1
commit
a431b793b9
@ -18,6 +18,7 @@ using osu.Game.Graphics;
|
|||||||
using osu.Game.Graphics.Containers;
|
using osu.Game.Graphics.Containers;
|
||||||
using osu.Game.Graphics.Sprites;
|
using osu.Game.Graphics.Sprites;
|
||||||
using osu.Game.Localisation;
|
using osu.Game.Localisation;
|
||||||
|
using osu.Game.Overlays.Settings;
|
||||||
using osuTK;
|
using osuTK;
|
||||||
|
|
||||||
namespace osu.Game.Overlays.FirstRunSetup
|
namespace osu.Game.Overlays.FirstRunSetup
|
||||||
@ -26,7 +27,7 @@ namespace osu.Game.Overlays.FirstRunSetup
|
|||||||
public class ScreenWelcome : FirstRunSetupScreen
|
public class ScreenWelcome : FirstRunSetupScreen
|
||||||
{
|
{
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load(FrameworkConfigManager frameworkConfig)
|
||||||
{
|
{
|
||||||
Content.Children = new Drawable[]
|
Content.Children = new Drawable[]
|
||||||
{
|
{
|
||||||
@ -52,6 +53,11 @@ namespace osu.Game.Overlays.FirstRunSetup
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
new SettingsCheckbox
|
||||||
|
{
|
||||||
|
LabelText = GeneralSettingsStrings.PreferOriginalMetadataLanguage,
|
||||||
|
Current = frameworkConfig.GetBindable<bool>(FrameworkSetting.ShowUnicode)
|
||||||
|
},
|
||||||
new LanguageSelectionFlow
|
new LanguageSelectionFlow
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
|
Loading…
Reference in New Issue
Block a user