UI: Capitalization Corrections
Approximately 141 changes of capitalization to conform to MLA title style. Differential Revision: https://developer.blender.org/D8392 Reviewed by Julian Eisel
This commit is contained in:
@@ -1271,7 +1271,7 @@ class CYCLES_OBJECT_PT_visibility(CyclesButtonsPanel, Panel):
|
||||
|
||||
layout.prop(ob, "hide_select", text="Selectable", invert_checkbox=True, toggle=False)
|
||||
|
||||
col = layout.column(heading="Show in")
|
||||
col = layout.column(heading="Show In")
|
||||
col.prop(ob, "hide_viewport", text="Viewports", invert_checkbox=True, toggle=False)
|
||||
col.prop(ob, "hide_render", text="Renders", invert_checkbox=True, toggle=False)
|
||||
|
||||
|
||||
@@ -348,7 +348,7 @@ class UpdateAnimatedTransformConstraint(Operator):
|
||||
bl_options = {'REGISTER', 'UNDO'}
|
||||
|
||||
use_convert_to_radians: BoolProperty(
|
||||
name="Convert To Radians",
|
||||
name="Convert to Radians",
|
||||
description="Convert fcurves/drivers affecting rotations to radians (Warning: use this only once!)",
|
||||
default=True,
|
||||
)
|
||||
|
||||
@@ -1011,7 +1011,7 @@ class CLIP_OT_track_settings_as_default(Operator):
|
||||
"""Copy tracking settings from active track to default settings"""
|
||||
|
||||
bl_idname = "clip.track_settings_as_default"
|
||||
bl_label = "Track Settings As Default"
|
||||
bl_label = "Track Settings as Default"
|
||||
bl_options = {'UNDO', 'REGISTER'}
|
||||
|
||||
@classmethod
|
||||
|
||||
@@ -85,7 +85,7 @@ class ConsoleAutocomplete(Operator):
|
||||
class ConsoleCopyAsScript(Operator):
|
||||
"""Copy the console contents for use in a script"""
|
||||
bl_idname = "console.copy_as_script"
|
||||
bl_label = "Copy to Clipboard (as script)"
|
||||
bl_label = "Copy to Clipboard (as Script)"
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
|
||||
@@ -32,7 +32,7 @@ class SequencerCrossfadeSounds(Operator):
|
||||
"""Do cross-fading volume animation of two selected sound strips"""
|
||||
|
||||
bl_idname = "sequencer.crossfade_sounds"
|
||||
bl_label = "Crossfade sounds"
|
||||
bl_label = "Crossfade Sounds"
|
||||
bl_options = {'REGISTER', 'UNDO'}
|
||||
|
||||
@classmethod
|
||||
@@ -83,7 +83,7 @@ class SequencerSplitMulticam(Operator):
|
||||
"""Split multi-cam strip and select camera"""
|
||||
|
||||
bl_idname = "sequencer.split_multicam"
|
||||
bl_label = "Split multicam"
|
||||
bl_label = "Split Multicam"
|
||||
bl_options = {'REGISTER', 'UNDO'}
|
||||
|
||||
camera: IntProperty(
|
||||
|
||||
@@ -1112,9 +1112,9 @@ class PREFERENCES_OT_studiolight_uninstall(Operator):
|
||||
|
||||
|
||||
class PREFERENCES_OT_studiolight_copy_settings(Operator):
|
||||
"""Copy Studio Light settings to the Studio light editor"""
|
||||
"""Copy Studio Light settings to the Studio Light editor"""
|
||||
bl_idname = "preferences.studiolight_copy_settings"
|
||||
bl_label = "Copy Studio Light settings"
|
||||
bl_label = "Copy Studio Light Settings"
|
||||
index: IntProperty()
|
||||
|
||||
def execute(self, context):
|
||||
|
||||
@@ -1660,7 +1660,7 @@ class WM_OT_owner_disable(Operator):
|
||||
class WM_OT_tool_set_by_id(Operator):
|
||||
"""Set the tool by name (for keymaps)"""
|
||||
bl_idname = "wm.tool_set_by_id"
|
||||
bl_label = "Set Tool By Name"
|
||||
bl_label = "Set Tool by Name"
|
||||
|
||||
name: StringProperty(
|
||||
name="Identifier",
|
||||
@@ -1718,7 +1718,7 @@ class WM_OT_tool_set_by_id(Operator):
|
||||
class WM_OT_tool_set_by_index(Operator):
|
||||
"""Set the tool by index (for keymaps)"""
|
||||
bl_idname = "wm.tool_set_by_index"
|
||||
bl_label = "Set Tool By Index"
|
||||
bl_label = "Set Tool by Index"
|
||||
index: IntProperty(
|
||||
name="Index in toolbar",
|
||||
default=0,
|
||||
|
||||
@@ -54,7 +54,7 @@ class DATA_PT_empty(DataButtonsPanel, Panel):
|
||||
depth_row.prop(ob, "empty_image_depth", text="Depth", expand=True)
|
||||
col.row().prop(ob, "empty_image_side", text="Side", expand=True)
|
||||
|
||||
col = layout.column(heading="Show in", align=True)
|
||||
col = layout.column(heading="Show In", align=True)
|
||||
col.prop(ob, "show_empty_image_orthographic", text="Orthographic")
|
||||
col.prop(ob, "show_empty_image_perspective", text="Perspective")
|
||||
col.prop(ob, "show_empty_image_only_axis_aligned", text="Only Axis Aligned")
|
||||
|
||||
@@ -101,7 +101,7 @@ class GPENCIL_MT_layer_context_menu(Menu):
|
||||
layout.separator()
|
||||
|
||||
layout.operator("gpencil.lock_all", icon='LOCKED', text="Lock All")
|
||||
layout.operator("gpencil.unlock_all", icon='UNLOCKED', text="UnLock All")
|
||||
layout.operator("gpencil.unlock_all", icon='UNLOCKED', text="Unlock All")
|
||||
layout.prop(gpd, "use_autolock_layers", text="Autolock Inactive Layers")
|
||||
|
||||
layout.separator()
|
||||
@@ -263,7 +263,7 @@ class DATA_PT_gpencil_onion_skinning_display(DataButtonsPanel, Panel):
|
||||
layout.use_property_split = True
|
||||
layout.enabled = gpd.users <= 1
|
||||
|
||||
layout.prop(gpd, "use_ghosts_always", text="View In Render")
|
||||
layout.prop(gpd, "use_ghosts_always", text="View in Render")
|
||||
|
||||
col = layout.column(align=True)
|
||||
col.prop(gpd, "use_onion_fade", text="Fade")
|
||||
|
||||
@@ -57,7 +57,7 @@ class MESH_MT_vertex_group_context_menu(Menu):
|
||||
layout.separator()
|
||||
props = layout.operator("object.vertex_group_lock", icon='LOCKED', text="Lock All")
|
||||
props.action, props.mask = 'LOCK', 'ALL'
|
||||
props = layout.operator("object.vertex_group_lock", icon='UNLOCKED', text="UnLock All")
|
||||
props = layout.operator("object.vertex_group_lock", icon='UNLOCKED', text="Unlock All")
|
||||
props.action, props.mask = 'UNLOCK', 'ALL'
|
||||
props = layout.operator("object.vertex_group_lock", text="Lock Invert All")
|
||||
props.action, props.mask = 'INVERT', 'ALL'
|
||||
|
||||
@@ -162,7 +162,7 @@ class VIEWLAYER_PT_freestyle(ViewLayerFreestyleButtonsPanel, Panel):
|
||||
|
||||
if freestyle.mode == 'SCRIPT':
|
||||
row = layout.row()
|
||||
row.label(text="Style modules:")
|
||||
row.label(text="Style Modules:")
|
||||
row.operator("scene.freestyle_module_add", text="Add")
|
||||
for module in freestyle.modules:
|
||||
box = layout.box()
|
||||
|
||||
@@ -884,7 +884,7 @@ class GreasePencilLayerDisplayPanel:
|
||||
col.prop(gpl, "channel_color")
|
||||
|
||||
col = layout.row(align=True)
|
||||
col.prop(gpl, "use_solo_mode", text="Show Only On Keyframed")
|
||||
col.prop(gpl, "use_solo_mode", text="Show Only on Keyframed")
|
||||
|
||||
|
||||
class GreasePencilFlipTintColors(Operator):
|
||||
|
||||
@@ -37,7 +37,7 @@ def draw_mask_context_menu(layout, context):
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("mask.shape_key_rekey", text="Re-key Shape Points")
|
||||
layout.operator("mask.shape_key_rekey", text="Re-Key Shape Points")
|
||||
layout.operator("mask.feather_weight_clear")
|
||||
layout.operator("mask.shape_key_feather_reset", text="Reset Feather Animation")
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ class GPENCIL_MT_material_context_menu(Menu):
|
||||
layout.separator()
|
||||
|
||||
layout.operator("gpencil.material_lock_all", icon='LOCKED', text="Lock All")
|
||||
layout.operator("gpencil.material_unlock_all", icon='UNLOCKED', text="UnLock All")
|
||||
layout.operator("gpencil.material_unlock_all", icon='UNLOCKED', text="Unlock All")
|
||||
|
||||
layout.operator("gpencil.material_lock_unused", text="Lock Unselected")
|
||||
layout.operator("gpencil.lock_layer", text="Lock Unused")
|
||||
|
||||
@@ -364,7 +364,7 @@ class OBJECT_PT_visibility(ObjectButtonsPanel, Panel):
|
||||
|
||||
layout.prop(ob, "hide_select", text="Selectable", toggle=False, invert_checkbox=True)
|
||||
|
||||
col = layout.column(heading="Show in")
|
||||
col = layout.column(heading="Show In")
|
||||
col.prop(ob, "hide_viewport", text="Viewports", toggle=False, invert_checkbox=True)
|
||||
col.prop(ob, "hide_render", text="Renders", toggle=False, invert_checkbox=True)
|
||||
|
||||
|
||||
@@ -330,7 +330,7 @@ class StrokePanel(BrushPanel):
|
||||
col.separator()
|
||||
|
||||
if brush.use_anchor:
|
||||
col.prop(brush, "use_edge_to_edge", text="Edge To Edge")
|
||||
col.prop(brush, "use_edge_to_edge", text="Edge to Edge")
|
||||
|
||||
if brush.use_airbrush:
|
||||
col.prop(brush, "rate", text="Rate", slider=True)
|
||||
|
||||
@@ -228,7 +228,7 @@ def point_cache_ui(self, cache, enabled, cachetype):
|
||||
|
||||
sub = col.row()
|
||||
sub.enabled = enabled
|
||||
sub.operator("ptcache.bake", text="Calculate To Frame").bake = False
|
||||
sub.operator("ptcache.bake", text="Calculate to Frame").bake = False
|
||||
|
||||
sub = col.column()
|
||||
sub.enabled = enabled
|
||||
@@ -237,7 +237,7 @@ def point_cache_ui(self, cache, enabled, cachetype):
|
||||
col = flow.column()
|
||||
col.operator("ptcache.bake_all", text="Bake All Dynamics").bake = True
|
||||
col.operator("ptcache.free_bake_all", text="Delete All Bakes")
|
||||
col.operator("ptcache.bake_all", text="Update All To Frame").bake = False
|
||||
col.operator("ptcache.bake_all", text="Update All to Frame").bake = False
|
||||
|
||||
|
||||
def effector_weights_ui(self, weights, weight_type):
|
||||
|
||||
@@ -102,7 +102,7 @@ class PHYSICS_PT_field_settings(PhysicButtonsPanel, Panel):
|
||||
col.separator()
|
||||
|
||||
col = flow.column()
|
||||
col.prop(field, "guide_clump_amount", text="Clumping amount")
|
||||
col.prop(field, "guide_clump_amount", text="Clumping Amount")
|
||||
col.prop(field, "guide_clump_shape")
|
||||
col.prop(field, "use_max_distance")
|
||||
|
||||
@@ -378,7 +378,7 @@ class PHYSICS_PT_collision_particle(PhysicButtonsPanel, Panel):
|
||||
|
||||
|
||||
class PHYSICS_PT_collision_softbody(PhysicButtonsPanel, Panel):
|
||||
bl_label = "Softbody And Cloth"
|
||||
bl_label = "Softbody & Cloth"
|
||||
bl_parent_id = "PHYSICS_PT_collision"
|
||||
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}
|
||||
|
||||
|
||||
@@ -196,7 +196,7 @@ class PHYSICS_PT_settings(PhysicButtonsPanel, Panel):
|
||||
col = flow.column()
|
||||
if PhysicButtonsPanel.poll_gas_domain(context):
|
||||
col.prop(domain, "clipping", text="Empty Space")
|
||||
col.prop(domain, "delete_in_obstacle", text="Delete In Obstacle")
|
||||
col.prop(domain, "delete_in_obstacle", text="Delete in Obstacle")
|
||||
|
||||
if domain.cache_type == 'MODULAR':
|
||||
col.separator()
|
||||
|
||||
@@ -560,7 +560,7 @@ class CLIP_PT_tools_solve(CLIP_PT_tracking_panel, Panel):
|
||||
class CLIP_PT_tools_cleanup(CLIP_PT_tracking_panel, Panel):
|
||||
bl_space_type = 'CLIP_EDITOR'
|
||||
bl_region_type = 'TOOLS'
|
||||
bl_label = "Clean up"
|
||||
bl_label = "Clean Up"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
bl_category = "Solve"
|
||||
|
||||
@@ -1000,9 +1000,9 @@ class CLIP_PT_stabilization(CLIP_PT_reconstruction_panel, Panel):
|
||||
row.prop(stab, "show_tracks_expanded", text="", emboss=False)
|
||||
|
||||
if not stab.show_tracks_expanded:
|
||||
row.label(text="Tracks For Stabilization")
|
||||
row.label(text="Tracks for Stabilization")
|
||||
else:
|
||||
row.label(text="Tracks For Location")
|
||||
row.label(text="Tracks for Location")
|
||||
row = box.row()
|
||||
row.template_list("UI_UL_list", "stabilization_tracks", stab, "tracks",
|
||||
stab, "active_track_index", rows=2)
|
||||
@@ -1018,7 +1018,7 @@ class CLIP_PT_stabilization(CLIP_PT_reconstruction_panel, Panel):
|
||||
# Usually we don't hide things from interface, but here every pixel of
|
||||
# vertical space is precious.
|
||||
if stab.use_stabilize_rotation:
|
||||
box.label(text="Tracks For Rotation / Scale")
|
||||
box.label(text="Tracks for Rotation/Scale")
|
||||
row = box.row()
|
||||
row.template_list("UI_UL_list", "stabilization_rotation_tracks",
|
||||
stab, "rotation_tracks",
|
||||
|
||||
@@ -336,7 +336,7 @@ class DOPESHEET_MT_view(Menu):
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.prop(st.dopesheet, "use_multi_word_filter", text="Multi-word Match Search")
|
||||
layout.prop(st.dopesheet, "use_multi_word_filter", text="Multi-Word Match Search")
|
||||
|
||||
layout.separator()
|
||||
|
||||
|
||||
@@ -1071,7 +1071,7 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel):
|
||||
flow.prop(strip, "use_only_boost")
|
||||
|
||||
elif strip_type == 'SPEED':
|
||||
layout.prop(strip, "use_default_fade", text="Stretch to input strip length")
|
||||
layout.prop(strip, "use_default_fade", text="Stretch to Input Strip Length")
|
||||
if not strip.use_default_fade:
|
||||
layout.prop(strip, "use_as_speed")
|
||||
if strip.use_as_speed:
|
||||
@@ -1113,7 +1113,7 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel):
|
||||
# The multicam strip needs at least 2 strips to be useful
|
||||
if strip_channel > 2:
|
||||
BT_ROW = 4
|
||||
col.label(text=" Cut to")
|
||||
col.label(text="Cut To")
|
||||
row = col.row()
|
||||
|
||||
for i in range(1, strip_channel):
|
||||
@@ -1153,7 +1153,7 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel):
|
||||
col.prop(strip, "use_frame_interpolate")
|
||||
|
||||
elif strip_type in {'CROSS', 'GAMMA_CROSS', 'WIPE', 'ALPHA_OVER', 'ALPHA_UNDER', 'OVER_DROP'}:
|
||||
col.prop(strip, "use_default_fade", text="Default fade")
|
||||
col.prop(strip, "use_default_fade", text="Default Fade")
|
||||
if not strip.use_default_fade:
|
||||
col.prop(strip, "effect_fader", text="Effect Fader")
|
||||
elif strip_type == 'GAUSSIAN_BLUR':
|
||||
|
||||
@@ -177,7 +177,7 @@ class TEXT_PT_find(Panel):
|
||||
|
||||
row = col.row(align=True)
|
||||
row.operator("text.replace")
|
||||
row.operator("text.replace", text="Replace all").all = True
|
||||
row.operator("text.replace", text="Replace All").all = True
|
||||
|
||||
layout.separator()
|
||||
|
||||
|
||||
@@ -279,7 +279,7 @@ class USERPREF_PT_interface_temporary_windows(InterfacePanel, CenterAlignMixIn,
|
||||
view = prefs.view
|
||||
|
||||
col = layout.column()
|
||||
col.prop(view, "render_display_type", text="Render in")
|
||||
col.prop(view, "render_display_type", text="Render In")
|
||||
col.prop(view, "filebrowser_display_type", text="File Browser")
|
||||
|
||||
|
||||
@@ -373,8 +373,8 @@ class USERPREF_PT_edit_objects_new(EditingPanel, CenterAlignMixIn, Panel):
|
||||
|
||||
flow = layout.grid_flow(row_major=False, columns=0, even_columns=True, even_rows=False, align=False)
|
||||
|
||||
flow.prop(edit, "material_link", text="Link Materials to")
|
||||
flow.prop(edit, "object_align", text="Align to")
|
||||
flow.prop(edit, "material_link", text="Link Materials To")
|
||||
flow.prop(edit, "object_align", text="Align To")
|
||||
flow.prop(edit, "use_enter_edit_mode", text="Enter Edit Mode")
|
||||
flow.prop(edit, "collection_instance_empty_size", text="Instance Empty Size")
|
||||
|
||||
@@ -479,7 +479,7 @@ class USERPREF_PT_edit_misc(EditingPanel, CenterAlignMixIn, Panel):
|
||||
|
||||
col = layout.column()
|
||||
col.prop(edit, "sculpt_paint_overlay_color", text="Sculpt Overlay Color")
|
||||
col.prop(edit, "node_margin", text="Node Auto-offset Margin")
|
||||
col.prop(edit, "node_margin", text="Node Auto-Offset Margin")
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
@@ -1348,7 +1348,7 @@ class USERPREF_PT_saveload_blend(SaveLoadPanel, CenterAlignMixIn, Panel):
|
||||
col.prop(view, "use_save_prompt")
|
||||
col.prop(paths, "use_save_preview_images")
|
||||
|
||||
col = layout.column(heading="Default to")
|
||||
col = layout.column(heading="Default To")
|
||||
col.prop(paths, "use_relative_paths")
|
||||
col.prop(paths, "use_file_compression")
|
||||
col.prop(paths, "use_load_ui")
|
||||
@@ -1377,7 +1377,7 @@ class USERPREF_PT_saveload_blend_autosave(SaveLoadPanel, CenterAlignMixIn, Panel
|
||||
|
||||
col = layout.column()
|
||||
col.active = paths.use_auto_save_temporary_files
|
||||
col.prop(paths, "auto_save_time", text="Timer (mins)")
|
||||
col.prop(paths, "auto_save_time", text="Timer (Minutes)")
|
||||
|
||||
|
||||
class USERPREF_PT_saveload_file_browser(SaveLoadPanel, CenterAlignMixIn, Panel):
|
||||
|
||||
@@ -2257,7 +2257,7 @@ class VIEW3D_MT_object(Menu):
|
||||
|
||||
ob = context.active_object
|
||||
if ob and ob.type == 'GPENCIL' and context.gpencil_data:
|
||||
layout.operator_menu_enum("gpencil.convert", "type", text="Convert to")
|
||||
layout.operator_menu_enum("gpencil.convert", "type", text="Convert To")
|
||||
else:
|
||||
layout.operator_menu_enum("object.convert", "target")
|
||||
|
||||
@@ -3035,14 +3035,14 @@ class VIEW3D_MT_mask(Menu):
|
||||
|
||||
layout.separator()
|
||||
|
||||
props = layout.operator("sculpt.mask_expand", text="Expand Mask By Topology")
|
||||
props = layout.operator("sculpt.mask_expand", text="Expand Mask by Topology")
|
||||
props.use_normals = False
|
||||
props.keep_previous_mask = False
|
||||
props.invert = True
|
||||
props.smooth_iterations = 2
|
||||
props.create_face_set = False
|
||||
|
||||
props = layout.operator("sculpt.mask_expand", text="Expand Mask By Curvature")
|
||||
props = layout.operator("sculpt.mask_expand", text="Expand Mask by Curvature")
|
||||
props.use_normals = True
|
||||
props.keep_previous_mask = True
|
||||
props.invert = False
|
||||
@@ -3428,7 +3428,7 @@ class VIEW3D_MT_pose_constraints(Menu):
|
||||
def draw(self, _context):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator("pose.constraint_add_with_targets", text="Add (With Targets)...")
|
||||
layout.operator("pose.constraint_add_with_targets", text="Add (with Targets)...")
|
||||
layout.operator("pose.constraints_copy")
|
||||
layout.operator("pose.constraints_clear")
|
||||
|
||||
@@ -3440,9 +3440,9 @@ class VIEW3D_MT_pose_names(Menu):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator_context = 'EXEC_REGION_WIN'
|
||||
layout.operator("pose.autoside_names", text="AutoName Left/Right").axis = 'XAXIS'
|
||||
layout.operator("pose.autoside_names", text="AutoName Front/Back").axis = 'YAXIS'
|
||||
layout.operator("pose.autoside_names", text="AutoName Top/Bottom").axis = 'ZAXIS'
|
||||
layout.operator("pose.autoside_names", text="Auto-Name Left/Right").axis = 'XAXIS'
|
||||
layout.operator("pose.autoside_names", text="Auto-Name Front/Back").axis = 'YAXIS'
|
||||
layout.operator("pose.autoside_names", text="Auto-Name Top/Bottom").axis = 'ZAXIS'
|
||||
layout.operator("pose.flip_names")
|
||||
|
||||
|
||||
@@ -4769,9 +4769,9 @@ class VIEW3D_MT_edit_armature_names(Menu):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator_context = 'EXEC_REGION_WIN'
|
||||
layout.operator("armature.autoside_names", text="AutoName Left/Right").type = 'XAXIS'
|
||||
layout.operator("armature.autoside_names", text="AutoName Front/Back").type = 'YAXIS'
|
||||
layout.operator("armature.autoside_names", text="AutoName Top/Bottom").type = 'ZAXIS'
|
||||
layout.operator("armature.autoside_names", text="Auto-Name Left/Right").type = 'XAXIS'
|
||||
layout.operator("armature.autoside_names", text="Auto-Name Front/Back").type = 'YAXIS'
|
||||
layout.operator("armature.autoside_names", text="Auto-Name Top/Bottom").type = 'ZAXIS'
|
||||
layout.operator("armature.flip_names", text="Flip Names")
|
||||
|
||||
|
||||
@@ -5074,7 +5074,7 @@ class VIEW3D_MT_edit_gpencil_transform(Menu):
|
||||
|
||||
|
||||
class VIEW3D_MT_edit_gpencil_showhide(Menu):
|
||||
bl_label = "Show/hide"
|
||||
bl_label = "Show/Hide"
|
||||
|
||||
def draw(self, _context):
|
||||
layout = self.layout
|
||||
@@ -5862,7 +5862,7 @@ class VIEW3D_PT_shading_options(Panel):
|
||||
|
||||
row = col.row()
|
||||
row.active = not xray_active
|
||||
row.prop(shading, "use_dof", text="Depth Of Field")
|
||||
row.prop(shading, "use_dof", text="Depth of Field")
|
||||
|
||||
if shading.type in {'WIREFRAME', 'SOLID'}:
|
||||
row = layout.split()
|
||||
@@ -6553,7 +6553,7 @@ class VIEW3D_PT_snapping(Panel):
|
||||
|
||||
layout = self.layout
|
||||
col = layout.column()
|
||||
col.label(text="Snap to")
|
||||
col.label(text="Snap To")
|
||||
col.prop(tool_settings, "snap_elements", expand=True)
|
||||
|
||||
col.separator()
|
||||
@@ -6561,7 +6561,7 @@ class VIEW3D_PT_snapping(Panel):
|
||||
col.prop(tool_settings, "use_snap_grid_absolute")
|
||||
|
||||
if snap_elements != {'INCREMENT'}:
|
||||
col.label(text="Snap with")
|
||||
col.label(text="Snap With")
|
||||
row = col.row(align=True)
|
||||
row.prop(tool_settings, "snap_target", expand=True)
|
||||
|
||||
|
||||
@@ -681,7 +681,7 @@ class VIEW3D_PT_tools_brush_falloff(Panel, View3DPaintPanel, FalloffPanel):
|
||||
|
||||
class VIEW3D_PT_tools_brush_falloff_frontface(View3DPaintPanel, Panel):
|
||||
bl_context = ".imagepaint" # dot on purpose (access from topbar)
|
||||
bl_label = "Front-face Falloff"
|
||||
bl_label = "Front-Face Falloff"
|
||||
bl_parent_id = "VIEW3D_PT_tools_brush_falloff"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
|
||||
|
||||
@@ -606,7 +606,7 @@ void ARMATURE_OT_autoside_names(wmOperatorType *ot)
|
||||
};
|
||||
|
||||
/* identifiers */
|
||||
ot->name = "AutoName by Axis";
|
||||
ot->name = "Auto-Name by Axis";
|
||||
ot->idname = "ARMATURE_OT_autoside_names";
|
||||
ot->description =
|
||||
"Automatically renames the selected bones according to which side of the target axis they "
|
||||
|
||||
@@ -1550,10 +1550,10 @@ enum {
|
||||
|
||||
static const EnumPropertyItem prop_similar_types[] = {
|
||||
{SIMEDBONE_CHILDREN, "CHILDREN", 0, "Children", ""},
|
||||
{SIMEDBONE_CHILDREN_IMMEDIATE, "CHILDREN_IMMEDIATE", 0, "Immediate children", ""},
|
||||
{SIMEDBONE_CHILDREN_IMMEDIATE, "CHILDREN_IMMEDIATE", 0, "Immediate Children", ""},
|
||||
{SIMEDBONE_SIBLINGS, "SIBLINGS", 0, "Siblings", ""},
|
||||
{SIMEDBONE_LENGTH, "LENGTH", 0, "Length", ""},
|
||||
{SIMEDBONE_DIRECTION, "DIRECTION", 0, "Direction (Y axis)", ""},
|
||||
{SIMEDBONE_DIRECTION, "DIRECTION", 0, "Direction (Y Axis)", ""},
|
||||
{SIMEDBONE_PREFIX, "PREFIX", 0, "Prefix", ""},
|
||||
{SIMEDBONE_SUFFIX, "SUFFIX", 0, "Suffix", ""},
|
||||
{SIMEDBONE_LAYER, "LAYER", 0, "Layer", ""},
|
||||
|
||||
@@ -638,7 +638,7 @@ void POSE_OT_autoside_names(wmOperatorType *ot)
|
||||
};
|
||||
|
||||
/* identifiers */
|
||||
ot->name = "AutoName by Axis";
|
||||
ot->name = "Auto-Name by Axis";
|
||||
ot->idname = "POSE_OT_autoside_names";
|
||||
ot->description =
|
||||
"Automatically renames the selected bones according to which side of the target axis they "
|
||||
|
||||
@@ -3152,8 +3152,8 @@ void GPENCIL_OT_stroke_cyclical_set(wmOperatorType *ot)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static const EnumPropertyItem cyclic_type[] = {
|
||||
{GP_STROKE_CYCLIC_CLOSE, "CLOSE", 0, "Close all", ""},
|
||||
{GP_STROKE_CYCLIC_OPEN, "OPEN", 0, "Open all", ""},
|
||||
{GP_STROKE_CYCLIC_CLOSE, "CLOSE", 0, "Close All", ""},
|
||||
{GP_STROKE_CYCLIC_OPEN, "OPEN", 0, "Open All", ""},
|
||||
{GP_STROKE_CYCLIC_TOGGLE, "TOGGLE", 0, "Toggle", ""},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
@@ -78,7 +78,7 @@ wmKeyMap *eyedropper_colorband_modal_keymap(wmKeyConfig *keyconf)
|
||||
{
|
||||
static const EnumPropertyItem modal_items_point[] = {
|
||||
{EYE_MODAL_POINT_CANCEL, "CANCEL", 0, "Cancel", ""},
|
||||
{EYE_MODAL_POINT_SAMPLE, "SAMPLE_SAMPLE", 0, "Sample a point", ""},
|
||||
{EYE_MODAL_POINT_SAMPLE, "SAMPLE_SAMPLE", 0, "Sample a Point", ""},
|
||||
{EYE_MODAL_POINT_CONFIRM, "SAMPLE_CONFIRM", 0, "Confirm Sampling", ""},
|
||||
{EYE_MODAL_POINT_RESET, "SAMPLE_RESET", 0, "Reset Sampling", ""},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
|
||||
@@ -5330,7 +5330,7 @@ static void ui_template_palette_menu(bContext *UNUSED(C), uiLayout *layout, void
|
||||
{
|
||||
uiLayout *row;
|
||||
|
||||
uiItemL(layout, IFACE_("Sort by:"), ICON_NONE);
|
||||
uiItemL(layout, IFACE_("Sort By:"), ICON_NONE);
|
||||
row = uiLayoutRow(layout, false);
|
||||
uiItemEnumO_value(row, IFACE_("Hue"), ICON_NONE, "PALETTE_OT_sort", "type", 1);
|
||||
row = uiLayoutRow(layout, false);
|
||||
|
||||
@@ -642,56 +642,56 @@ wmKeyMap *bevel_modal_keymap(wmKeyConfig *keyconf)
|
||||
static const EnumPropertyItem modal_items[] = {
|
||||
{BEV_MODAL_CANCEL, "CANCEL", 0, "Cancel", "Cancel bevel"},
|
||||
{BEV_MODAL_CONFIRM, "CONFIRM", 0, "Confirm", "Confirm bevel"},
|
||||
{BEV_MODAL_VALUE_OFFSET, "VALUE_OFFSET", 0, "Change offset", "Value changes offset"},
|
||||
{BEV_MODAL_VALUE_PROFILE, "VALUE_PROFILE", 0, "Change profile", "Value changes profile"},
|
||||
{BEV_MODAL_VALUE_SEGMENTS, "VALUE_SEGMENTS", 0, "Change segments", "Value changes segments"},
|
||||
{BEV_MODAL_SEGMENTS_UP, "SEGMENTS_UP", 0, "Increase segments", "Increase segments"},
|
||||
{BEV_MODAL_SEGMENTS_DOWN, "SEGMENTS_DOWN", 0, "Decrease segments", "Decrease segments"},
|
||||
{BEV_MODAL_VALUE_OFFSET, "VALUE_OFFSET", 0, "Change Offset", "Value changes offset"},
|
||||
{BEV_MODAL_VALUE_PROFILE, "VALUE_PROFILE", 0, "Change Profile", "Value changes profile"},
|
||||
{BEV_MODAL_VALUE_SEGMENTS, "VALUE_SEGMENTS", 0, "Change Segments", "Value changes segments"},
|
||||
{BEV_MODAL_SEGMENTS_UP, "SEGMENTS_UP", 0, "Increase Segments", "Increase segments"},
|
||||
{BEV_MODAL_SEGMENTS_DOWN, "SEGMENTS_DOWN", 0, "Decrease Segments", "Decrease segments"},
|
||||
{BEV_MODAL_OFFSET_MODE_CHANGE,
|
||||
"OFFSET_MODE_CHANGE",
|
||||
0,
|
||||
"Change offset mode",
|
||||
"Change Offset Mode",
|
||||
"Cycle through offset modes"},
|
||||
{BEV_MODAL_CLAMP_OVERLAP_TOGGLE,
|
||||
"CLAMP_OVERLAP_TOGGLE",
|
||||
0,
|
||||
"Toggle clamp overlap",
|
||||
"Toggle Clamp Overlap",
|
||||
"Toggle clamp overlap flag"},
|
||||
{BEV_MODAL_AFFECT_CHANGE,
|
||||
"AFFECT_CHANGE",
|
||||
0,
|
||||
"Change affect type",
|
||||
"Change Affect Type",
|
||||
"Change which geometry type the operation affects, edges or vertices"},
|
||||
{BEV_MODAL_HARDEN_NORMALS_TOGGLE,
|
||||
"HARDEN_NORMALS_TOGGLE",
|
||||
0,
|
||||
"Toggle harden normals",
|
||||
"Toggle Harden Normals",
|
||||
"Toggle harden normals flag"},
|
||||
{BEV_MODAL_MARK_SEAM_TOGGLE,
|
||||
"MARK_SEAM_TOGGLE",
|
||||
0,
|
||||
"Toggle mark seam",
|
||||
"Toggle Mark Seam",
|
||||
"Toggle mark seam flag"},
|
||||
{BEV_MODAL_MARK_SHARP_TOGGLE,
|
||||
"MARK_SHARP_TOGGLE",
|
||||
0,
|
||||
"Toggle mark sharp",
|
||||
"Toggle Mark Sharp",
|
||||
"Toggle mark sharp flag"},
|
||||
{BEV_MODAL_OUTER_MITER_CHANGE,
|
||||
"OUTER_MITER_CHANGE",
|
||||
0,
|
||||
"Change outer miter",
|
||||
"Change Outer Miter",
|
||||
"Cycle through outer miter kinds"},
|
||||
{BEV_MODAL_INNER_MITER_CHANGE,
|
||||
"INNER_MITER_CHANGE",
|
||||
0,
|
||||
"Change inner miter",
|
||||
"Change Inner Miter",
|
||||
"Cycle through inner miter kinds"},
|
||||
{BEV_MODAL_PROFILE_TYPE_CHANGE, "PROFILE_TYPE_CHANGE", 0, "Cycle through profile types", ""},
|
||||
{BEV_MODAL_VERTEX_MESH_CHANGE,
|
||||
"VERTEX_MESH_CHANGE",
|
||||
0,
|
||||
"Change intersection method",
|
||||
"Change Intersection Method",
|
||||
"Cycle through intersection methods"},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
@@ -83,7 +83,7 @@ static const EnumPropertyItem prop_similar_types[] = {
|
||||
{SIMFACE_SIDES, "SIDES", 0, "Polygon Sides", ""},
|
||||
{SIMFACE_PERIMETER, "PERIMETER", 0, "Perimeter", ""},
|
||||
{SIMFACE_NORMAL, "NORMAL", 0, "Normal", ""},
|
||||
{SIMFACE_COPLANAR, "COPLANAR", 0, "Co-planar", ""},
|
||||
{SIMFACE_COPLANAR, "COPLANAR", 0, "Coplanar", ""},
|
||||
{SIMFACE_SMOOTH, "SMOOTH", 0, "Flat/Smooth", ""},
|
||||
{SIMFACE_FACEMAP, "FACE_MAP", 0, "Face-Map", ""},
|
||||
#ifdef WITH_FREESTYLE
|
||||
|
||||
@@ -1478,8 +1478,8 @@ static char *modifier_apply_as_shapekey_get_description(struct bContext *UNUSED(
|
||||
|
||||
void OBJECT_OT_modifier_apply_as_shapekey(wmOperatorType *ot)
|
||||
{
|
||||
ot->name = "Apply Modifier As Shapekey";
|
||||
ot->description = "Apply modifier as a new shapekey and remove from the stack";
|
||||
ot->name = "Apply Modifier as Shape Key";
|
||||
ot->description = "Apply modifier as a new shape key and remove from the stack";
|
||||
ot->idname = "OBJECT_OT_modifier_apply_as_shapekey";
|
||||
|
||||
ot->invoke = modifier_apply_as_shapekey_invoke;
|
||||
|
||||
@@ -1359,7 +1359,7 @@ enum {
|
||||
|
||||
static const EnumPropertyItem prop_make_track_types[] = {
|
||||
{CREATE_TRACK_DAMPTRACK, "DAMPTRACK", 0, "Damped Track Constraint", ""},
|
||||
{CREATE_TRACK_TRACKTO, "TRACKTO", 0, "Track To Constraint", ""},
|
||||
{CREATE_TRACK_TRACKTO, "TRACKTO", 0, "Track to Constraint", ""},
|
||||
{CREATE_TRACK_LOCKTRACK, "LOCKTRACK", 0, "Lock Track Constraint", ""},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
@@ -691,7 +691,7 @@ void PARTICLE_OT_disconnect_hair(wmOperatorType *ot)
|
||||
ot->flag = OPTYPE_UNDO;
|
||||
|
||||
RNA_def_boolean(
|
||||
ot->srna, "all", 0, "All hair", "Disconnect all hair systems from the emitter mesh");
|
||||
ot->srna, "all", 0, "All Hair", "Disconnect all hair systems from the emitter mesh");
|
||||
}
|
||||
|
||||
/* from/to_world_space : whether from/to particles are in world or hair space
|
||||
@@ -981,7 +981,7 @@ void PARTICLE_OT_connect_hair(wmOperatorType *ot)
|
||||
/* No REGISTER, redo does not work due to missing update, see T47750. */
|
||||
ot->flag = OPTYPE_UNDO;
|
||||
|
||||
RNA_def_boolean(ot->srna, "all", 0, "All hair", "Connect all hair systems to the emitter mesh");
|
||||
RNA_def_boolean(ot->srna, "all", 0, "All Hair", "Connect all hair systems to the emitter mesh");
|
||||
}
|
||||
|
||||
/************************ particle system copy operator *********************/
|
||||
|
||||
@@ -5523,8 +5523,8 @@ static void keymap_modal_set(wmKeyConfig *keyconf)
|
||||
static const EnumPropertyItem modal_items[] = {
|
||||
{KM_MODAL_CANCEL, "CANCEL", 0, "Cancel", ""},
|
||||
{KM_MODAL_APPLY, "APPLY", 0, "Apply", ""},
|
||||
{KM_MODAL_SNAP_ON, "SNAP", 0, "Snap on", ""},
|
||||
{KM_MODAL_SNAP_OFF, "SNAP_OFF", 0, "Snap off", ""},
|
||||
{KM_MODAL_SNAP_ON, "SNAP", 0, "Snap On", ""},
|
||||
{KM_MODAL_SNAP_OFF, "SNAP_OFF", 0, "Snap Off", ""},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
|
||||
@@ -1043,13 +1043,13 @@ static int clear_track_path_exec(bContext *C, wmOperator *op)
|
||||
void CLIP_OT_clear_track_path(wmOperatorType *ot)
|
||||
{
|
||||
static const EnumPropertyItem clear_path_actions[] = {
|
||||
{TRACK_CLEAR_UPTO, "UPTO", 0, "Clear up-to", "Clear path up to current frame"},
|
||||
{TRACK_CLEAR_UPTO, "UPTO", 0, "Clear Up To", "Clear path up to current frame"},
|
||||
{TRACK_CLEAR_REMAINED,
|
||||
"REMAINED",
|
||||
0,
|
||||
"Clear remained",
|
||||
"Clear Remained",
|
||||
"Clear path at remaining frames (after current)"},
|
||||
{TRACK_CLEAR_ALL, "ALL", 0, "Clear all", "Clear the whole path"},
|
||||
{TRACK_CLEAR_ALL, "ALL", 0, "Clear All", "Clear the whole path"},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
|
||||
@@ -975,15 +975,15 @@ static int select_grouped_exec(bContext *C, wmOperator *op)
|
||||
void CLIP_OT_select_grouped(wmOperatorType *ot)
|
||||
{
|
||||
static const EnumPropertyItem select_group_items[] = {
|
||||
{0, "KEYFRAMED", 0, "Keyframed tracks", "Select all keyframed tracks"},
|
||||
{1, "ESTIMATED", 0, "Estimated tracks", "Select all estimated tracks"},
|
||||
{2, "TRACKED", 0, "Tracked tracks", "Select all tracked tracks"},
|
||||
{3, "LOCKED", 0, "Locked tracks", "Select all locked tracks"},
|
||||
{4, "DISABLED", 0, "Disabled tracks", "Select all disabled tracks"},
|
||||
{0, "KEYFRAMED", 0, "Keyframed Tracks", "Select all keyframed tracks"},
|
||||
{1, "ESTIMATED", 0, "Estimated Tracks", "Select all estimated tracks"},
|
||||
{2, "TRACKED", 0, "Tracked Tracks", "Select all tracked tracks"},
|
||||
{3, "LOCKED", 0, "Locked Tracks", "Select all locked tracks"},
|
||||
{4, "DISABLED", 0, "Disabled Tracks", "Select all disabled tracks"},
|
||||
{5,
|
||||
"COLOR",
|
||||
0,
|
||||
"Tracks with same color",
|
||||
"Tracks with Same Color",
|
||||
"Select all tracks with same color as active track"},
|
||||
{6, "FAILED", 0, "Failed Tracks", "Select all tracks which failed to be reconstructed"},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
|
||||
@@ -97,11 +97,11 @@ EnumPropertyItem sequencer_prop_effect_types[] = {
|
||||
#define SEQ_SIDE_MOUSE -1
|
||||
|
||||
EnumPropertyItem prop_side_types[] = {
|
||||
{SEQ_SIDE_MOUSE, "MOUSE", 0, "Mouse position", ""},
|
||||
{SEQ_SIDE_MOUSE, "MOUSE", 0, "Mouse Position", ""},
|
||||
{SEQ_SIDE_LEFT, "LEFT", 0, "Left", ""},
|
||||
{SEQ_SIDE_RIGHT, "RIGHT", 0, "Right", ""},
|
||||
{SEQ_SIDE_BOTH, "BOTH", 0, "Both", ""},
|
||||
{SEQ_SIDE_NO_CHANGE, "NO_CHANGE", 0, "No change", ""},
|
||||
{SEQ_SIDE_NO_CHANGE, "NO_CHANGE", 0, "No Change", ""},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
|
||||
@@ -409,7 +409,7 @@ void TEXT_OT_open(wmOperatorType *ot)
|
||||
FILE_DEFAULTDISPLAY,
|
||||
FILE_SORT_ALPHA); /* TODO: relative_path. */
|
||||
RNA_def_boolean(
|
||||
ot->srna, "internal", 0, "Make internal", "Make text file internal after loading");
|
||||
ot->srna, "internal", 0, "Make Internal", "Make text file internal after loading");
|
||||
}
|
||||
|
||||
/** \} */
|
||||
@@ -3693,7 +3693,7 @@ void TEXT_OT_replace(wmOperatorType *ot)
|
||||
|
||||
/* properties */
|
||||
PropertyRNA *prop;
|
||||
prop = RNA_def_boolean(ot->srna, "all", false, "Replace all", "Replace all occurrences");
|
||||
prop = RNA_def_boolean(ot->srna, "all", false, "Replace All", "Replace all occurrences");
|
||||
RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE);
|
||||
}
|
||||
|
||||
|
||||
@@ -646,12 +646,12 @@ wmKeyMap *transform_modal_keymap(wmKeyConfig *keyconf)
|
||||
static const EnumPropertyItem modal_items[] = {
|
||||
{TFM_MODAL_CONFIRM, "CONFIRM", 0, "Confirm", ""},
|
||||
{TFM_MODAL_CANCEL, "CANCEL", 0, "Cancel", ""},
|
||||
{TFM_MODAL_AXIS_X, "AXIS_X", 0, "X axis", ""},
|
||||
{TFM_MODAL_AXIS_Y, "AXIS_Y", 0, "Y axis", ""},
|
||||
{TFM_MODAL_AXIS_Z, "AXIS_Z", 0, "Z axis", ""},
|
||||
{TFM_MODAL_PLANE_X, "PLANE_X", 0, "X plane", ""},
|
||||
{TFM_MODAL_PLANE_Y, "PLANE_Y", 0, "Y plane", ""},
|
||||
{TFM_MODAL_PLANE_Z, "PLANE_Z", 0, "Z plane", ""},
|
||||
{TFM_MODAL_AXIS_X, "AXIS_X", 0, "X Axis", ""},
|
||||
{TFM_MODAL_AXIS_Y, "AXIS_Y", 0, "Y Axis", ""},
|
||||
{TFM_MODAL_AXIS_Z, "AXIS_Z", 0, "Z Axis", ""},
|
||||
{TFM_MODAL_PLANE_X, "PLANE_X", 0, "X Plane", ""},
|
||||
{TFM_MODAL_PLANE_Y, "PLANE_Y", 0, "Y Plane", ""},
|
||||
{TFM_MODAL_PLANE_Z, "PLANE_Z", 0, "Z Plane", ""},
|
||||
{TFM_MODAL_CONS_OFF, "CONS_OFF", 0, "Clear Constraints", ""},
|
||||
{TFM_MODAL_SNAP_INV_ON, "SNAP_INV_ON", 0, "Snap Invert", ""},
|
||||
{TFM_MODAL_SNAP_INV_OFF, "SNAP_INV_OFF", 0, "Snap Invert (Off)", ""},
|
||||
@@ -672,13 +672,13 @@ wmKeyMap *transform_modal_keymap(wmKeyConfig *keyconf)
|
||||
0,
|
||||
"Decrease Max AutoIK Chain Length",
|
||||
""},
|
||||
{TFM_MODAL_EDGESLIDE_UP, "EDGESLIDE_EDGE_NEXT", 0, "Select next Edge Slide Edge", ""},
|
||||
{TFM_MODAL_EDGESLIDE_DOWN, "EDGESLIDE_PREV_NEXT", 0, "Select previous Edge Slide Edge", ""},
|
||||
{TFM_MODAL_EDGESLIDE_UP, "EDGESLIDE_EDGE_NEXT", 0, "Select Next Edge Slide Edge", ""},
|
||||
{TFM_MODAL_EDGESLIDE_DOWN, "EDGESLIDE_PREV_NEXT", 0, "Select Previous Edge Slide Edge", ""},
|
||||
{TFM_MODAL_PROPSIZE, "PROPORTIONAL_SIZE", 0, "Adjust Proportional Influence", ""},
|
||||
{TFM_MODAL_INSERTOFS_TOGGLE_DIR,
|
||||
"INSERTOFS_TOGGLE_DIR",
|
||||
0,
|
||||
"Toggle Direction for Node Auto-offset",
|
||||
"Toggle Direction for Node Auto-Offset",
|
||||
""},
|
||||
{TFM_MODAL_TRANSLATE, "TRANSLATE", 0, "Move", ""},
|
||||
{TFM_MODAL_ROTATE, "ROTATE", 0, "Rotate", ""},
|
||||
|
||||
@@ -215,7 +215,7 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel)
|
||||
uiLayoutSetPropDecorate(sub, false);
|
||||
uiItemR(sub, ptr, "invert_vertex_group", 0, "", ICON_ARROW_LEFTRIGHT);
|
||||
|
||||
col = uiLayoutColumnWithHeading(layout, true, IFACE_("Bind to"));
|
||||
col = uiLayoutColumnWithHeading(layout, true, IFACE_("Bind To"));
|
||||
uiItemR(col, ptr, "use_vertex_groups", 0, IFACE_("Vertex Groups"), ICON_NONE);
|
||||
uiItemR(col, ptr, "use_bone_envelopes", 0, IFACE_("Bone Envelopes"), ICON_NONE);
|
||||
|
||||
|
||||
@@ -450,7 +450,7 @@ static void rna_def_dopesheet(BlenderRNA *brna)
|
||||
prop = RNA_def_property(srna, "show_shapekeys", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag", ADS_FILTER_NOSHAPEKEYS);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Display Shapekeys", "Include visualization of shape key related animation data");
|
||||
prop, "Display Shape Keys", "Include visualization of shape key related animation data");
|
||||
RNA_def_property_ui_icon(prop, ICON_SHAPEKEY_DATA, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL);
|
||||
|
||||
|
||||
@@ -796,7 +796,7 @@ static void rna_def_curvemapping(BlenderRNA *brna)
|
||||
|
||||
static const EnumPropertyItem tone_items[] = {
|
||||
{CURVE_TONE_STANDARD, "STANDARD", 0, "Standard", ""},
|
||||
{CURVE_TONE_FILMLIKE, "FILMLIKE", 0, "Film like", ""},
|
||||
{CURVE_TONE_FILMLIKE, "FILMLIKE", 0, "Filmlike", ""},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
|
||||
@@ -4788,7 +4788,7 @@ static void def_sh_tex_voronoi(StructRNA *srna)
|
||||
{SHD_VORONOI_DISTANCE_TO_EDGE,
|
||||
"DISTANCE_TO_EDGE",
|
||||
0,
|
||||
"Distance To Edge",
|
||||
"Distance to Edge",
|
||||
"Computes the distance to the edge of the voronoi cell"},
|
||||
{SHD_VORONOI_N_SPHERE_RADIUS,
|
||||
"N_SPHERE_RADIUS",
|
||||
@@ -7725,15 +7725,15 @@ static void def_cmp_viewer(StructRNA *srna)
|
||||
static const EnumPropertyItem tileorder_items[] = {
|
||||
{0, "CENTEROUT", 0, "Center", "Expand from center"},
|
||||
{1, "RANDOM", 0, "Random", "Random tiles"},
|
||||
{2, "BOTTOMUP", 0, "Bottom up", "Expand from bottom"},
|
||||
{3, "RULE_OF_THIRDS", 0, "Rule of thirds", "Expand from 9 places"},
|
||||
{2, "BOTTOMUP", 0, "Bottom Up", "Expand from bottom"},
|
||||
{3, "RULE_OF_THIRDS", 0, "Rule of Thirds", "Expand from 9 places"},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
prop = RNA_def_property(srna, "tile_order", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "custom1");
|
||||
RNA_def_property_enum_items(prop, tileorder_items);
|
||||
RNA_def_property_ui_text(prop, "Tile order", "Tile order");
|
||||
RNA_def_property_ui_text(prop, "Tile Order", "Tile order");
|
||||
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
|
||||
|
||||
prop = RNA_def_property(srna, "center_x", PROP_FLOAT, PROP_NONE);
|
||||
|
||||
@@ -379,7 +379,7 @@ const EnumPropertyItem rna_enum_image_type_items[] = {
|
||||
{R_IMF_IMTYPE_FFMPEG,
|
||||
"FFMPEG",
|
||||
ICON_FILE_MOVIE,
|
||||
"FFmpeg video",
|
||||
"FFmpeg Video",
|
||||
"The most versatile way to output video files"},
|
||||
#endif
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
@@ -2864,13 +2864,13 @@ static void rna_def_tool_settings(BlenderRNA *brna)
|
||||
};
|
||||
|
||||
static const EnumPropertyItem gpencil_stroke_snap_items[] = {
|
||||
{0, "NONE", 0, "All points", "Snap to all points"},
|
||||
{0, "NONE", 0, "All Points", "Snap to all points"},
|
||||
{GP_PROJECT_DEPTH_STROKE_ENDPOINTS,
|
||||
"ENDS",
|
||||
0,
|
||||
"End points",
|
||||
"End Points",
|
||||
"Snap to first and last points and interpolate"},
|
||||
{GP_PROJECT_DEPTH_STROKE_FIRST, "FIRST", 0, "First point", "Snap to first point"},
|
||||
{GP_PROJECT_DEPTH_STROKE_FIRST, "FIRST", 0, "First Point", "Snap to first point"},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
@@ -5510,12 +5510,12 @@ static void rna_def_scene_ffmpeg_settings(BlenderRNA *brna)
|
||||
"Constant Bitrate",
|
||||
"Configure constant bit rate, rather than constant output quality"},
|
||||
{FFM_CRF_LOSSLESS, "LOSSLESS", 0, "Lossless", ""},
|
||||
{FFM_CRF_PERC_LOSSLESS, "PERC_LOSSLESS", 0, "Perceptually lossless", ""},
|
||||
{FFM_CRF_HIGH, "HIGH", 0, "High quality", ""},
|
||||
{FFM_CRF_MEDIUM, "MEDIUM", 0, "Medium quality", ""},
|
||||
{FFM_CRF_LOW, "LOW", 0, "Low quality", ""},
|
||||
{FFM_CRF_VERYLOW, "VERYLOW", 0, "Very low quality", ""},
|
||||
{FFM_CRF_LOWEST, "LOWEST", 0, "Lowest quality", ""},
|
||||
{FFM_CRF_PERC_LOSSLESS, "PERC_LOSSLESS", 0, "Perceptually Lossless", ""},
|
||||
{FFM_CRF_HIGH, "HIGH", 0, "High Quality", ""},
|
||||
{FFM_CRF_MEDIUM, "MEDIUM", 0, "Medium Quality", ""},
|
||||
{FFM_CRF_LOW, "LOW", 0, "Low Quality", ""},
|
||||
{FFM_CRF_VERYLOW, "VERYLOW", 0, "Very Low Quality", ""},
|
||||
{FFM_CRF_LOWEST, "LOWEST", 0, "Lowest Quality", ""},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
@@ -5738,7 +5738,7 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
|
||||
{0,
|
||||
"AUTO",
|
||||
0,
|
||||
"Auto-detect",
|
||||
"Auto-Detect",
|
||||
"Automatically determine the number of threads, based on CPUs"},
|
||||
{R_FIXED_THREADS, "FIXED", 0, "Fixed", "Manually determine the number of threads"},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
|
||||
@@ -1151,7 +1151,7 @@ static void rna_def_particle_edit(BlenderRNA *brna)
|
||||
|
||||
static const EnumPropertyItem edit_type_items[] = {
|
||||
{PE_TYPE_PARTICLES, "PARTICLES", 0, "Particles", ""},
|
||||
{PE_TYPE_SOFTBODY, "SOFT_BODY", 0, "Soft body", ""},
|
||||
{PE_TYPE_SOFTBODY, "SOFT_BODY", 0, "Soft Body", ""},
|
||||
{PE_TYPE_CLOTH, "CLOTH", 0, "Cloth", ""},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
@@ -1936,7 +1936,7 @@ static void rna_def_sequence(BlenderRNA *brna)
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "cache_flag", SEQ_CACHE_STORE_PREPROCESSED);
|
||||
RNA_def_property_ui_text(
|
||||
prop,
|
||||
"Cache Pre-processed",
|
||||
"Cache Pre-Processed",
|
||||
"Cache pre-processed images, for faster tweaking of effects at the cost of memory usage");
|
||||
|
||||
prop = RNA_def_property(srna, "use_cache_composite", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -2100,7 +2100,7 @@ static void rna_def_editor(BlenderRNA *brna)
|
||||
RNA_def_property_ui_range(prop, 0.0f, SEQ_CACHE_COST_MAX, 0.1f, 1);
|
||||
RNA_def_property_float_sdna(prop, NULL, "recycle_max_cost");
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Recycle Up To Cost", "Only frames with cost lower than this value will be recycled");
|
||||
prop, "Recycle Up to Cost", "Only frames with cost lower than this value will be recycled");
|
||||
}
|
||||
|
||||
static void rna_def_filter_video(StructRNA *srna)
|
||||
@@ -2822,7 +2822,7 @@ static void rna_def_speed_control(StructRNA *srna)
|
||||
prop = RNA_def_property(srna, "use_frame_interpolate", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flags", SEQ_SPEED_USE_INTERPOLATION);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Frame interpolation", "Do crossfade blending between current and next frame");
|
||||
prop, "Frame Interpolation", "Do crossfade blending between current and next frame");
|
||||
RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_raw_update");
|
||||
}
|
||||
|
||||
|
||||
@@ -5185,7 +5185,7 @@ static void rna_def_space_dopesheet(BlenderRNA *brna)
|
||||
prop = RNA_def_property(srna, "show_interpolation", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", SACTION_SHOW_INTERPOLATION);
|
||||
RNA_def_property_ui_text(prop,
|
||||
"Show Handles And Interpolation",
|
||||
"Show Handles and Interpolation",
|
||||
"Display keyframe handle types and non-bezier interpolation modes");
|
||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_DOPESHEET, NULL);
|
||||
|
||||
@@ -5208,7 +5208,7 @@ static void rna_def_space_dopesheet(BlenderRNA *brna)
|
||||
/* editing */
|
||||
prop = RNA_def_property(srna, "use_auto_merge_keyframes", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SACTION_NOTRANSKEYCULL);
|
||||
RNA_def_property_ui_text(prop, "AutoMerge Keyframes", "Automatically merge nearby keyframes");
|
||||
RNA_def_property_ui_text(prop, "Auto-Merge Keyframes", "Automatically merge nearby keyframes");
|
||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_DOPESHEET, NULL);
|
||||
|
||||
prop = RNA_def_property(srna, "use_realtime_update", PROP_BOOLEAN, PROP_NONE);
|
||||
|
||||
@@ -1074,8 +1074,8 @@ static void rna_def_texture_stucci(BlenderRNA *brna)
|
||||
|
||||
static const EnumPropertyItem prop_stucci_stype[] = {
|
||||
{TEX_PLASTIC, "PLASTIC", 0, "Plastic", "Use standard stucci"},
|
||||
{TEX_WALLIN, "WALL_IN", 0, "Wall in", "Create Dimples"},
|
||||
{TEX_WALLOUT, "WALL_OUT", 0, "Wall out", "Create Ridges"},
|
||||
{TEX_WALLIN, "WALL_IN", 0, "Wall In", "Create Dimples"},
|
||||
{TEX_WALLOUT, "WALL_OUT", 0, "Wall Out", "Create Ridges"},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
|
||||
@@ -4786,7 +4786,7 @@ static void rna_def_userdef_view(BlenderRNA *brna)
|
||||
|
||||
prop = RNA_def_property(srna, "font_path_ui_mono", PROP_STRING, PROP_FILEPATH);
|
||||
RNA_def_property_string_sdna(prop, NULL, "font_path_ui_mono");
|
||||
RNA_def_property_ui_text(prop, "Mono-space Font", "Path to interface mono-space Font");
|
||||
RNA_def_property_ui_text(prop, "Monospaced Font", "Path to interface monospaced Font");
|
||||
RNA_def_property_update(prop, NC_WINDOW, "rna_userdef_font_update");
|
||||
|
||||
/* Language. */
|
||||
|
||||
@@ -258,7 +258,7 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel)
|
||||
uiItemR(col, ptr, "use_deform_preserve_volume", 0, NULL, ICON_NONE);
|
||||
uiItemR(col, ptr, "use_multi_modifier", 0, NULL, ICON_NONE);
|
||||
|
||||
col = uiLayoutColumnWithHeading(layout, true, IFACE_("Bind to"));
|
||||
col = uiLayoutColumnWithHeading(layout, true, IFACE_("Bind To"));
|
||||
uiItemR(col, ptr, "use_vertex_groups", 0, IFACE_("Vertex Groups"), ICON_NONE);
|
||||
uiItemR(col, ptr, "use_bone_envelopes", 0, IFACE_("Bone Envelopes"), ICON_NONE);
|
||||
|
||||
|
||||
@@ -229,14 +229,14 @@ static void modifier_ops_extra_draw(bContext *C, uiLayout *layout, void *md_v)
|
||||
/* Apply as shapekey. */
|
||||
if (BKE_modifier_is_same_topology(md) && !BKE_modifier_is_non_geometrical(md)) {
|
||||
uiItemBooleanO(layout,
|
||||
CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Apply As Shapekey"),
|
||||
CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Apply as Shape Key"),
|
||||
ICON_SHAPEKEY_DATA,
|
||||
"OBJECT_OT_modifier_apply_as_shapekey",
|
||||
"keep_modifier",
|
||||
false);
|
||||
|
||||
uiItemBooleanO(layout,
|
||||
CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Save As Shapekey"),
|
||||
CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Save as Shape Key"),
|
||||
ICON_SHAPEKEY_DATA,
|
||||
"OBJECT_OT_modifier_apply_as_shapekey",
|
||||
"keep_modifier",
|
||||
|
||||
@@ -3771,7 +3771,7 @@ static void gesture_circle_modal_keymap(wmKeyConfig *keyconf)
|
||||
{GESTURE_MODAL_CIRCLE_SIZE, "SIZE", 0, "Size", ""},
|
||||
|
||||
{GESTURE_MODAL_SELECT, "SELECT", 0, "Select", ""},
|
||||
{GESTURE_MODAL_DESELECT, "DESELECT", 0, "DeSelect", ""},
|
||||
{GESTURE_MODAL_DESELECT, "DESELECT", 0, "Deselect", ""},
|
||||
{GESTURE_MODAL_NOP, "NOP", 0, "No Operation", ""},
|
||||
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
@@ -3834,7 +3834,7 @@ static void gesture_box_modal_keymap(wmKeyConfig *keyconf)
|
||||
static const EnumPropertyItem modal_items[] = {
|
||||
{GESTURE_MODAL_CANCEL, "CANCEL", 0, "Cancel", ""},
|
||||
{GESTURE_MODAL_SELECT, "SELECT", 0, "Select", ""},
|
||||
{GESTURE_MODAL_DESELECT, "DESELECT", 0, "DeSelect", ""},
|
||||
{GESTURE_MODAL_DESELECT, "DESELECT", 0, "Deselect", ""},
|
||||
{GESTURE_MODAL_BEGIN, "BEGIN", 0, "Begin", ""},
|
||||
{GESTURE_MODAL_MOVE, "MOVE", 0, "Move", ""},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
|
||||
Reference in New Issue
Block a user