[Bf-blender-cvs] [fd48ef25a02] master: Fix (minor) some typos and other errors in UI messages.

Bastien Montagne noreply at git.blender.org
Tue Jul 9 15:30:34 CEST 2019


Commit: fd48ef25a02e61b47798e5272913a7f52f2d1121
Author: Bastien Montagne
Date:   Tue Jul 9 15:29:54 2019 +0200
Branches: master
https://developer.blender.org/rBfd48ef25a02e61b47798e5272913a7f52f2d1121

Fix (minor) some typos and other errors in UI messages.

===================================================================

M	source/blender/editors/space_outliner/outliner_collections.c
M	source/blender/makesrna/intern/rna_gpencil_modifier.c
M	source/blender/makesrna/intern/rna_object.c

===================================================================

diff --git a/source/blender/editors/space_outliner/outliner_collections.c b/source/blender/editors/space_outliner/outliner_collections.c
index 459183ff226..4740c412083 100644
--- a/source/blender/editors/space_outliner/outliner_collections.c
+++ b/source/blender/editors/space_outliner/outliner_collections.c
@@ -593,7 +593,7 @@ static int collection_link_exec(bContext *C, wmOperator *op)
 
   if (ID_IS_LINKED(active_collection) ||
       ((active_collection->flag & COLLECTION_IS_MASTER) && ID_IS_LINKED(scene))) {
-    BKE_report(op->reports, RPT_ERROR, "Cannot add a colection to a linked collection/scene");
+    BKE_report(op->reports, RPT_ERROR, "Cannot add a collection to a linked collection/scene");
     return OPERATOR_CANCELLED;
   }
 
diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c
index 2dabaeebb09..2b89225d34d 100644
--- a/source/blender/makesrna/intern/rna_gpencil_modifier.c
+++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c
@@ -663,7 +663,7 @@ static void rna_def_modifier_gpencilsimplify(BlenderRNA *brna)
   /* Mode */
   prop = RNA_def_property(srna, "mode", PROP_ENUM, PROP_NONE);
   RNA_def_property_enum_items(prop, prop_gpencil_simplify_mode_items);
-  RNA_def_property_ui_text(prop, "Mode", "How simplify the stroke");
+  RNA_def_property_ui_text(prop, "Mode", "How to simplify the stroke");
   RNA_def_property_update(prop, 0, "rna_GpencilModifier_update");
 
   prop = RNA_def_property(srna, "step", PROP_INT, PROP_NONE);
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index 0bd11b7715a..a2222c19b47 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -638,7 +638,7 @@ static void rna_Object_dup_collection_set(PointerRNA *ptr,
       id_us_plus(&ob->instance_collection->id);
     }
     else {
-      BKE_report(NULL, RPT_ERROR, "Only empty objects support group instances");
+      BKE_report(NULL, RPT_ERROR, "Only empty objects support collection instances");
     }
   }
   else {



More information about the Bf-blender-cvs mailing list