Usual i18n/UI messages fixes...
This commit is contained in:
@@ -1273,7 +1273,7 @@ static void rna_def_curve_spline_bezpoints(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_property_srna(cprop, "SplineBezierPoints");
|
||||
srna = RNA_def_struct(brna, "SplineBezierPoints", NULL);
|
||||
RNA_def_struct_sdna(srna, "Nurb");
|
||||
RNA_def_struct_ui_text(srna, "Spline Bezier Points", "Collection of spline bezirt points");
|
||||
RNA_def_struct_ui_text(srna, "Spline Bezier Points", "Collection of spline Bezier points");
|
||||
|
||||
func = RNA_def_function(srna, "add", "rna_Curve_spline_bezpoints_add");
|
||||
RNA_def_function_ui_description(func, "Add a number of points to this spline");
|
||||
|
||||
@@ -1499,14 +1499,15 @@ static void rna_def_freestyle_thickness_modifiers(BlenderRNA *brna, PropertyRNA
|
||||
RNA_def_property_srna(cprop, "LineStyleThicknessModifiers");
|
||||
srna = RNA_def_struct(brna, "LineStyleThicknessModifiers", NULL);
|
||||
RNA_def_struct_sdna(srna, "FreestyleLineStyle");
|
||||
RNA_def_struct_ui_text(srna, "Thickness Modifiers", "Thickness modifiers for changing line thicknesss");
|
||||
RNA_def_struct_ui_text(srna, "Thickness Modifiers", "Thickness modifiers for changing line thickness");
|
||||
|
||||
func = RNA_def_function(srna, "new", "rna_LineStyle_thickness_modifier_add");
|
||||
RNA_def_function_ui_description(func, "Add a thickness modifier to line style");
|
||||
RNA_def_function_flag(func, FUNC_USE_REPORTS);
|
||||
parm = RNA_def_string(func, "name", "ThicknessModifier", 0, "", "New name for the thickness modifier (not unique)");
|
||||
RNA_def_property_flag(parm, PROP_REQUIRED);
|
||||
parm = RNA_def_enum(func, "type", rna_enum_linestyle_thickness_modifier_type_items, 0, "", "Thickness modifier type to add");
|
||||
parm = RNA_def_enum(func, "type", rna_enum_linestyle_thickness_modifier_type_items, 0,
|
||||
"", "Thickness modifier type to add");
|
||||
RNA_def_property_flag(parm, PROP_REQUIRED);
|
||||
parm = RNA_def_pointer(func, "modifier", "LineStyleThicknessModifier", "", "Newly added thickness modifier");
|
||||
RNA_def_function_return(func, parm);
|
||||
@@ -1528,14 +1529,15 @@ static void rna_def_freestyle_geometry_modifiers(BlenderRNA *brna, PropertyRNA *
|
||||
RNA_def_property_srna(cprop, "LineStyleGeometryModifiers");
|
||||
srna = RNA_def_struct(brna, "LineStyleGeometryModifiers", NULL);
|
||||
RNA_def_struct_sdna(srna, "FreestyleLineStyle");
|
||||
RNA_def_struct_ui_text(srna, "Geometry Modifiers", "Geometry modifiers for changing line geometrys");
|
||||
RNA_def_struct_ui_text(srna, "Geometry Modifiers", "Geometry modifiers for changing line geometries");
|
||||
|
||||
func = RNA_def_function(srna, "new", "rna_LineStyle_geometry_modifier_add");
|
||||
RNA_def_function_ui_description(func, "Add a geometry modifier to line style");
|
||||
RNA_def_function_flag(func, FUNC_USE_REPORTS);
|
||||
parm = RNA_def_string(func, "name", "GeometryModifier", 0, "", "New name for the geometry modifier (not unique)");
|
||||
RNA_def_property_flag(parm, PROP_REQUIRED);
|
||||
parm = RNA_def_enum(func, "type", rna_enum_linestyle_geometry_modifier_type_items, 0, "", "Geometry modifier type to add");
|
||||
parm = RNA_def_enum(func, "type", rna_enum_linestyle_geometry_modifier_type_items, 0,
|
||||
"", "Geometry modifier type to add");
|
||||
RNA_def_property_flag(parm, PROP_REQUIRED);
|
||||
parm = RNA_def_pointer(func, "modifier", "LineStyleGeometryModifier", "", "Newly added geometry modifier");
|
||||
RNA_def_function_return(func, parm);
|
||||
|
||||
@@ -2094,7 +2094,7 @@ static void rna_def_trackingObjects(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_property_srna(cprop, "MovieTrackingObjects");
|
||||
srna = RNA_def_struct(brna, "MovieTrackingObjects", NULL);
|
||||
RNA_def_struct_sdna(srna, "MovieTracking");
|
||||
RNA_def_struct_ui_text(srna, "Movie Objects", "Collection of movie trackingobjects");
|
||||
RNA_def_struct_ui_text(srna, "Movie Objects", "Collection of movie tracking objects");
|
||||
|
||||
func = RNA_def_function(srna, "new", "rna_trackingObject_new");
|
||||
RNA_def_function_ui_description(func, "Add tracking object to this movie clip");
|
||||
|
||||
@@ -1935,15 +1935,15 @@ static void rna_def_wm_keyconfigs(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
prop = RNA_def_property(srna, "addon", PROP_POINTER, PROP_NEVER_NULL);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "addonconf");
|
||||
RNA_def_property_struct_type(prop, "KeyConfig");
|
||||
RNA_def_property_ui_text(prop, "Addon Key Configuration",
|
||||
"Key configuration that can be extended by addons, and is added to the active "
|
||||
RNA_def_property_ui_text(prop, "Add-on Key Configuration",
|
||||
"Key configuration that can be extended by add-ons, and is added to the active "
|
||||
"configuration when handling events");
|
||||
|
||||
prop = RNA_def_property(srna, "user", PROP_POINTER, PROP_NEVER_NULL);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "userconf");
|
||||
RNA_def_property_struct_type(prop, "KeyConfig");
|
||||
RNA_def_property_ui_text(prop, "User Key Configuration",
|
||||
"Final key configuration that combines keymaps from the active and addon configurations, "
|
||||
"Final key configuration that combines keymaps from the active and add-on configurations, "
|
||||
"and can be edited by the user");
|
||||
|
||||
RNA_api_keyconfigs(srna);
|
||||
|
||||
Reference in New Issue
Block a user