Commit: 7a83b64f7bd39934cf73dcca94598b610e829fb4 Author: Yevgeny Makarov Date: Fri Sep 20 14:31:24 2019 +0200 Branches: arcpatch-D5716 https://developer.blender.org/rB7a83b64f7bd39934cf73dcca94598b610e829fb4
UI: Fix Capitalization Differential Revision: https://developer.blender.org/D5716 =================================================================== M intern/cycles/blender/addon/properties.py M release/scripts/startup/bl_operators/rigidbody.py M release/scripts/startup/bl_ui/properties_data_mesh.py M release/scripts/startup/bl_ui/space_filebrowser.py M release/scripts/startup/bl_ui/space_view3d.py M source/blender/editors/animation/anim_channels_edit.c M source/blender/editors/gpencil/gpencil_data.c M source/blender/editors/interface/interface_context_menu.c M source/blender/editors/interface/interface_eyedropper_color.c M source/blender/editors/interface/interface_ops.c M source/blender/editors/mesh/editmesh_knife.c M source/blender/editors/object/object_add.c M source/blender/editors/object/object_collection.c M source/blender/editors/space_action/action_edit.c M source/blender/editors/space_clip/tracking_ops.c M source/blender/editors/space_graph/graph_edit.c M source/blender/editors/space_outliner/outliner_edit.c M source/blender/editors/space_view3d/view3d_view.c M source/blender/editors/transform/transform_ops.c M source/blender/makesrna/intern/rna_animviz.c M source/blender/makesrna/intern/rna_boid.c M source/blender/makesrna/intern/rna_brush.c M source/blender/makesrna/intern/rna_dynamicpaint.c M source/blender/makesrna/intern/rna_fluidsim.c M source/blender/makesrna/intern/rna_gpencil_modifier.c M source/blender/makesrna/intern/rna_linestyle.c M source/blender/makesrna/intern/rna_mesh.c M source/blender/makesrna/intern/rna_modifier.c M source/blender/makesrna/intern/rna_nodetree.c M source/blender/makesrna/intern/rna_object_force.c M source/blender/makesrna/intern/rna_particle.c M source/blender/makesrna/intern/rna_pose.c M source/blender/makesrna/intern/rna_scene.c M source/blender/makesrna/intern/rna_sequencer.c M source/blender/makesrna/intern/rna_smoke.c M source/blender/makesrna/intern/rna_space.c M source/blender/makesrna/intern/rna_tracking.c M source/blender/makesrna/intern/rna_userdef.c =================================================================== diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py index 8623b38a271..840ab557132 100644 --- a/intern/cycles/blender/addon/properties.py +++ b/intern/cycles/blender/addon/properties.py @@ -957,7 +957,7 @@ class CyclesLightSettings(bpy.types.PropertyGroup): class CyclesWorldSettings(bpy.types.PropertyGroup): sampling_method: EnumProperty( - name="Sampling method", + name="Sampling Method", description="How to sample the background light", items=enum_world_mis, default='AUTOMATIC', @@ -1331,12 +1331,12 @@ class CyclesRenderLayerSettings(bpy.types.PropertyGroup): subtype="PIXEL", ) denoising_relative_pca: BoolProperty( - name="Relative filter", + name="Relative Filter", description="When removing pixels that don't carry information, use a relative threshold instead of an absolute one (can help to reduce artifacts, but might cause detail loss around edges)", default=False, ) denoising_store_passes: BoolProperty( - name="Store denoising passes", + name="Store Denoising Passes", description="Store the denoising feature passes and the noisy image", default=False, update=update_render_passes, diff --git a/release/scripts/startup/bl_operators/rigidbody.py b/release/scripts/startup/bl_operators/rigidbody.py index f16f97ab156..4c014ff7ac4 100644 --- a/release/scripts/startup/bl_operators/rigidbody.py +++ b/release/scripts/startup/bl_operators/rigidbody.py @@ -89,7 +89,7 @@ class CopyRigidbodySettings(Operator): class BakeToKeyframes(Operator): '''Bake rigid body transformations of selected objects to keyframes''' bl_idname = "rigidbody.bake_to_keyframes" - bl_label = "Bake To Keyframes" + bl_label = "Bake to Keyframes" bl_options = {'REGISTER', 'UNDO'} frame_start: IntProperty( diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py index 9be6c8f3ba8..0794c3a1039 100644 --- a/release/scripts/startup/bl_ui/properties_data_mesh.py +++ b/release/scripts/startup/bl_ui/properties_data_mesh.py @@ -72,8 +72,8 @@ class MESH_MT_shape_key_context_menu(Menu): layout.separator() layout.operator("object.shape_key_remove", icon='X', text="Delete All Shape Keys").all = True layout.separator() - layout.operator("object.shape_key_move", icon='TRIA_UP_BAR', text="Move To Top").type = 'TOP' - layout.operator("object.shape_key_move", icon='TRIA_DOWN_BAR', text="Move To Bottom").type = 'BOTTOM' + layout.operator("object.shape_key_move", icon='TRIA_UP_BAR', text="Move to Top").type = 'TOP' + layout.operator("object.shape_key_move", icon='TRIA_DOWN_BAR', text="Move to Bottom").type = 'BOTTOM' class MESH_UL_vgroups(UIList): diff --git a/release/scripts/startup/bl_ui/space_filebrowser.py b/release/scripts/startup/bl_ui/space_filebrowser.py index 948a797e7fe..054ed93d6d2 100644 --- a/release/scripts/startup/bl_ui/space_filebrowser.py +++ b/release/scripts/startup/bl_ui/space_filebrowser.py @@ -239,9 +239,9 @@ class FILEBROWSER_MT_bookmarks_context_menu(Menu): layout.separator() layout.operator("file.bookmark_move", icon='TRIA_UP_BAR', - text="Move To Top").direction = 'TOP' + text="Move to Top").direction = 'TOP' layout.operator("file.bookmark_move", icon='TRIA_DOWN_BAR', - text="Move To Bottom").direction = 'BOTTOM' + text="Move to Bottom").direction = 'BOTTOM' class FILEBROWSER_PT_bookmarks_favorites(Panel): diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 9188697002f..4a575a9ae8d 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -2223,7 +2223,7 @@ class VIEW3D_MT_object_rigid_body(Menu): layout.operator("rigidbody.mass_calculate", text="Calculate Mass") layout.operator("rigidbody.object_settings_copy", text="Copy from Active") layout.operator("object.visual_transform_apply", text="Apply Transformation") - layout.operator("rigidbody.bake_to_keyframes", text="Bake To Keyframes") + layout.operator("rigidbody.bake_to_keyframes", text="Bake to Keyframes") layout.separator() diff --git a/source/blender/editors/animation/anim_channels_edit.c b/source/blender/editors/animation/anim_channels_edit.c index afd2cdc2a2b..0fc137295d0 100644 --- a/source/blender/editors/animation/anim_channels_edit.c +++ b/source/blender/editors/animation/anim_channels_edit.c @@ -3339,7 +3339,7 @@ static void ANIM_OT_channel_select_keys(wmOperatorType *ot) PropertyRNA *prop; /* identifiers */ - ot->name = "Select Channel keyframes"; + ot->name = "Select Channel Keyframes"; ot->idname = "ANIM_OT_channel_select_keys"; ot->description = "Select all keyframes of channel under mouse"; diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c index a072b6c4cf9..fdbbd899366 100644 --- a/source/blender/editors/gpencil/gpencil_data.c +++ b/source/blender/editors/gpencil/gpencil_data.c @@ -561,7 +561,7 @@ void GPENCIL_OT_layer_duplicate_object(wmOperatorType *ot) }; /* identifiers */ - ot->name = "Duplicate Layer to new Object"; + ot->name = "Duplicate Layer to New Object"; ot->idname = "GPENCIL_OT_layer_duplicate_object"; ot->description = "Make a copy of the active Grease Pencil layer to new object"; @@ -792,7 +792,7 @@ static int gp_frame_clean_loose_exec(bContext *C, wmOperator *op) void GPENCIL_OT_frame_clean_loose(wmOperatorType *ot) { /* identifiers */ - ot->name = "Clean Loose points"; + ot->name = "Clean Loose Points"; ot->idname = "GPENCIL_OT_frame_clean_loose"; ot->description = "Remove loose points"; diff --git a/source/blender/editors/interface/interface_context_menu.c b/source/blender/editors/interface/interface_context_menu.c index 580ff527bf6..b84b07adba5 100644 --- a/source/blender/editors/interface/interface_context_menu.c +++ b/source/blender/editors/interface/interface_context_menu.c @@ -899,13 +899,13 @@ bool ui_popup_context_menu_for_button(bContext *C, uiBut *but) if (is_array_component) { uiItemBooleanO(layout, - CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Copy All To Selected"), + CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Copy All to Selected"), ICON_NONE, "UI_OT_copy_to_selected_button", "all", true); uiItemBooleanO(layout, - CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Copy Single To Selected"), + CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Copy Single to Selected"), ICON_NONE, "UI_OT_copy_to_selected_button", "all", @@ -913,7 +913,7 @@ bool ui_popup_context_menu_for_button(bContext *C, uiBut *but) } else { uiItemBooleanO(layout, - CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Copy To Selected"), + CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Copy to Selected"), ICON_NONE, "UI_OT_copy_to_selected_button", "all", @@ -928,7 +928,7 @@ bool ui_popup_context_menu_for_button(bContext *C, uiBut *but) if (ptr->owner_id && !is_whole_array && ELEM(type, PROP_BOOLEAN, PROP_INT, PROP_FLOAT, PROP_ENUM)) { uiItemO(layout, - CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Copy As New Driver"), + CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Copy as New Driver"), ICON_NONE, "UI_OT_copy_as_driver_button"); } @@ -950,7 +950,7 @@ bool ui_popup_context_menu_for_button(bContext *C, uiBut *but) but->search_func == ui_rna_collection_search_cb)) && ui_jump_to_target_button_poll(C)) { uiItemO(layout, - CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Jump To Target"), + CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Jump to Target"), ICON_NONE, "UI_OT_jump_to_target_button"); uiItemS(layout); diff --git a/source/blender/editors/interface/interface_eyedropper_color.c b/source/blender/editors/interface/interface_eyedropper_color.c index 68c12fe7652..00943680419 100644 --- a/source/blender/editors/interface/interface_eyedropper_color.c +++ b/source/blender/editors/interface/interface_eyedropper_color.c @@ -332,7 +332,7 @@ void UI_OT_eyedropper_color(wmOperatorType *ot) /* identifiers */ ot->name = "Eyedropper"; ot->idname = "UI_OT_eyedropper_color"; - ot->description = "Sample a color from the Blender Window to store in a property"; + ot->description = "Sample a color from the Blender window to store in a property"; /* api callbacks */ ot->invoke = eyedropper_invoke; diff --git a/source/blender/editors/interface/interface_ops.c b/source/blender/editors/interface/interface_ops.c index b3c46dda4c3..4e56a02997b 100644 --- a/source/blender/editors/interface/interface_ops.c +++ b/source/blender/editors/interface/interface_ops.c @@ -221,7 +221,7 @@ static int copy_as_driver_button_exec(bContext *C, wmOperator *op) static void UI_OT_copy_as_driver_button(wmOperatorType *ot) { /* identifiers */ - ot->name = "Copy As New Driver"; + ot->name = "Copy as New Driver"; ot->idname = "UI_OT_copy_as_driver_button"; ot->description = "Create a new driver with this property as input, and copy it to the " @@ -453,7 +453,7 @@ static int unset_property_button_exec(bContext *C, wmOperator *UNUSED(op)) static void UI_OT_unset_property_button(wmOperatorType *ot) { /* identifiers */ - ot->name = "Unset property"; + ot->name = "Unset Property"; ot->idname = "UI_OT_unset_property_button"; ot->description = "Clear the property and use default or generated value in operators"; @@ -944,7 +944,7 @@ static i @@ Diff output truncated at 10240 characters. @@ _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
