UI: Splash Screen Language Selection
Quick Setup splash now includes language selection. Differential Revision: https://developer.blender.org/D7370 Reviewed by Brecht Van Lommel
This commit is contained in:
parent
9d0f452076
commit
1ee3def5d3
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue