diff options
author | Harley Acheson <harley.acheson@gmail.com> | 2020-04-08 02:32:42 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2020-04-08 02:33:52 +0300 |
commit | 1ee3def5d39f6d17ca7bb2dc74c5499f92eec739 (patch) | |
tree | bac35cdf27a6b02210d7c1ba4647254879561502 /release/scripts | |
parent | 9d0f4520768fdf9689a05cf2640f097972aa68a3 (diff) |
UI: Splash Screen Language Selection
Quick Setup splash now includes language selection.
Differential Revision: https://developer.blender.org/D7370
Reviewed by Brecht Van Lommel
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_operators/wm.py | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index 6e3b883aa8a..f0f3ba14d92 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -2423,7 +2423,14 @@ class WM_MT_splash(Menu): col = split.column() - col.label() + sub = col.split(factor=0.35) + row = sub.row() + row.alignment = 'RIGHT' + row.label(text="Language") + prefs = context.preferences + sub.prop(prefs.view, "language", text="") + + col.separator() sub = col.split(factor=0.35) row = sub.row() @@ -2465,14 +2472,6 @@ class WM_MT_splash(Menu): label = "Blender Dark" sub.menu("USERPREF_MT_interface_theme_presets", text=label) - # We need to make switching to a language easier first - #sub = col.split(factor=0.35) - #row = sub.row() - #row.alignment = 'RIGHT' - # row.label(text="Language:") - #prefs = context.preferences - #sub.prop(prefs.system, "language", text="") - # Keep height constant if not has_select_mouse: col.label() |