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:
Harley Acheson 2020-04-07 16:32:42 -07:00
parent 9d0f452076
commit 1ee3def5d3
1 changed files with 8 additions and 9 deletions

View File

@ -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()