Fix i18n messages extraction script, and a few more UI messages...
This commit is contained in:
parent
b22b2c783d
commit
a22af1a84b
|
@ -227,6 +227,8 @@ def dump_rna_messages(msgs, reports, settings, verbose=False):
|
|||
# More builtin classes we don't need to parse.
|
||||
blacklist_rna_class |= {cls for cls in bpy.types.Property.__subclasses__()}
|
||||
|
||||
# None of this seems needed anymore, and it's broken anyway with current master (blender 2.79.1)...
|
||||
"""
|
||||
_rna = {getattr(bpy.types, cls) for cls in dir(bpy.types)}
|
||||
|
||||
# Classes which are attached to collections can be skipped too, these are api access only.
|
||||
|
@ -276,6 +278,7 @@ def dump_rna_messages(msgs, reports, settings, verbose=False):
|
|||
#op = get_instance(idname)
|
||||
#if 'INTERNAL' in path_resolve(op, "bl_options"):
|
||||
#blacklist_rna_class.add(idname)
|
||||
"""
|
||||
|
||||
return blacklist_rna_class
|
||||
|
||||
|
|
|
@ -190,7 +190,7 @@ void PAINT_OT_vertex_color_from_weight(wmOperatorType *ot)
|
|||
/* identifiers */
|
||||
ot->name = "Vertex Color from Weight";
|
||||
ot->idname = "PAINT_OT_vertex_color_from_weight";
|
||||
ot->description = "Converts active weight into greyscale vertex colors";
|
||||
ot->description = "Convert active weight into grey scale vertex colors";
|
||||
|
||||
/* api callback */
|
||||
ot->exec = vertex_paint_from_weight_exec;
|
||||
|
@ -571,4 +571,4 @@ void PAINT_OT_vertex_color_levels(wmOperatorType *ot)
|
|||
RNA_def_float(ot->srna, "gain", 1.0f, 0.0f, FLT_MAX, "Gain", "Value to multiply colors by", 0.0f, 10.0f);
|
||||
}
|
||||
|
||||
/** \} */
|
||||
/** \} */
|
||||
|
|
|
@ -1997,8 +1997,8 @@ static void rna_def_modifier_boolean(BlenderRNA *brna)
|
|||
/* BMesh intersection options */
|
||||
static EnumPropertyItem debug_items[] = {
|
||||
{eBooleanModifierBMeshFlag_BMesh_Separate, "SEPARATE", 0, "Separate", ""},
|
||||
{eBooleanModifierBMeshFlag_BMesh_NoDissolve, "NO_DISSOLVE", 0, "NoDissolve", ""},
|
||||
{eBooleanModifierBMeshFlag_BMesh_NoConnectRegions, "NO_CONNECT_REGIONS", 0, "NoConnectRegions", ""},
|
||||
{eBooleanModifierBMeshFlag_BMesh_NoDissolve, "NO_DISSOLVE", 0, "No Dissolve", ""},
|
||||
{eBooleanModifierBMeshFlag_BMesh_NoConnectRegions, "NO_CONNECT_REGIONS", 0, "No Connect Regions", ""},
|
||||
{0, NULL, 0, NULL, NULL}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue