forked from bartvdbraak/blender
UI: Fix some small ui inconsistencies
- Use "..." to indicate non immediate action. - First letter of words in labels should be capitalized.
This commit is contained in:
parent
e0bc5b533c
commit
f0bbb67e8a
@ -338,21 +338,21 @@ class SEQUENCER_MT_add(Menu):
|
||||
|
||||
if len(bpy.data.scenes) > 10:
|
||||
layout.operator_context = 'INVOKE_DEFAULT'
|
||||
layout.operator("sequencer.scene_strip_add", text="Scene")
|
||||
layout.operator("sequencer.scene_strip_add", text="Scene...")
|
||||
else:
|
||||
layout.operator_menu_enum("sequencer.scene_strip_add", "scene", text="Scene...")
|
||||
layout.operator_menu_enum("sequencer.scene_strip_add", "scene", text="Scene")
|
||||
|
||||
if len(bpy.data.movieclips) > 10:
|
||||
layout.operator_context = 'INVOKE_DEFAULT'
|
||||
layout.operator("sequencer.movieclip_strip_add", text="Clips")
|
||||
layout.operator("sequencer.movieclip_strip_add", text="Clips...")
|
||||
else:
|
||||
layout.operator_menu_enum("sequencer.movieclip_strip_add", "clip", text="Clip...")
|
||||
layout.operator_menu_enum("sequencer.movieclip_strip_add", "clip", text="Clip")
|
||||
|
||||
if len(bpy.data.masks) > 10:
|
||||
layout.operator_context = 'INVOKE_DEFAULT'
|
||||
layout.operator("sequencer.mask_strip_add", text="Masks")
|
||||
layout.operator("sequencer.mask_strip_add", text="Masks...")
|
||||
else:
|
||||
layout.operator_menu_enum("sequencer.mask_strip_add", "mask", text="Mask...")
|
||||
layout.operator_menu_enum("sequencer.mask_strip_add", "mask", text="Mask")
|
||||
|
||||
layout.operator("sequencer.movie_strip_add", text="Movie")
|
||||
layout.operator("sequencer.image_strip_add", text="Image")
|
||||
|
@ -250,7 +250,7 @@ def marker_menu_generic(layout):
|
||||
layout.operator_context = 'INVOKE_DEFAULT'
|
||||
layout.operator("marker.make_links_scene", text="Duplicate Marker to Scene...", icon='OUTLINER_OB_EMPTY')
|
||||
else:
|
||||
layout.operator_menu_enum("marker.make_links_scene", "scene", text="Duplicate Marker to Scene...")
|
||||
layout.operator_menu_enum("marker.make_links_scene", "scene", text="Duplicate Marker to Scene")
|
||||
|
||||
layout.operator("marker.delete", text="Delete Marker")
|
||||
|
||||
|
@ -560,7 +560,7 @@ class USERPREF_PT_system(Panel):
|
||||
# 3. Column
|
||||
column = split.column()
|
||||
|
||||
column.label(text="Solid OpenGL lights:")
|
||||
column.label(text="Solid OpenGL Lights:")
|
||||
|
||||
split = column.split(percentage=0.1)
|
||||
split.label()
|
||||
|
@ -1663,7 +1663,7 @@ class VIEW3D_MT_make_links(Menu):
|
||||
layout.operator("object.make_links_scene", text="Objects to Scene...", icon='OUTLINER_OB_EMPTY')
|
||||
else:
|
||||
layout.operator_context = 'EXEC_REGION_WIN'
|
||||
layout.operator_menu_enum("object.make_links_scene", "scene", text="Objects to Scene...")
|
||||
layout.operator_menu_enum("object.make_links_scene", "scene", text="Objects to Scene")
|
||||
layout.operator_context = operator_context_default
|
||||
|
||||
layout.operator_enum("object.make_links_data", "type") # inline
|
||||
|
Loading…
Reference in New Issue
Block a user