Fix i18n messages extraction script, and a few more UI messages...
authorBastien Montagne <montagne29@wanadoo.fr>
Wed, 4 Oct 2017 10:38:40 +0000 (12:38 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Wed, 4 Oct 2017 10:39:06 +0000 (12:39 +0200)
release/scripts/modules/bl_i18n_utils/bl_extract_messages.py
source/blender/editors/sculpt_paint/paint_vertex_color_ops.c
source/blender/makesrna/intern/rna_modifier.c

index 3b7eff6db9cfd7ef64dfcbeeab05f31750fb7252..bbeb1780355fa8e69b0cc9f5066130d0ec319157 100644 (file)
@@ -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
 
index 4acd4ddbd8d8ba955b9020bfef8f4fd6a76ecadf..bfe6373d1062f6e2c232845fe4046660f46bab46 100644 (file)
@@ -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);
 }
 
-/** \} */
\ No newline at end of file
+/** \} */
index 74aa3759d2df580803b2f32db2fcf5589a02ef43..a35d518b786ce9573579e797f300192ecf5c9b4c 100644 (file)
@@ -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}
        };