[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55381] trunk/blender: Usual minor UI messages fixes.

Bastien Montagne montagne29 at wanadoo.fr
Mon Mar 18 19:43:22 CET 2013


Revision: 55381
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55381
Author:   mont29
Date:     2013-03-18 18:43:22 +0000 (Mon, 18 Mar 2013)
Log Message:
-----------
Usual minor UI messages fixes.

Modified Paths:
--------------
    trunk/blender/release/scripts/modules/bl_i18n_utils/spell_check_utils.py
    trunk/blender/source/blender/editors/space_node/node_edit.c
    trunk/blender/source/blender/makesrna/intern/rna_nodetree.c
    trunk/blender/source/blender/makesrna/intern/rna_sequencer.c

Modified: trunk/blender/release/scripts/modules/bl_i18n_utils/spell_check_utils.py
===================================================================
--- trunk/blender/release/scripts/modules/bl_i18n_utils/spell_check_utils.py	2013-03-18 18:37:59 UTC (rev 55380)
+++ trunk/blender/release/scripts/modules/bl_i18n_utils/spell_check_utils.py	2013-03-18 18:43:22 UTC (rev 55381)
@@ -163,7 +163,7 @@
         "uncomment",
         "undeformed",
         "undistort", "undistortion",
-        "ungroup",
+        "ungroup", "ungrouped",
         "unhide",
         "unindent",
         "unkeyed",

Modified: trunk/blender/source/blender/editors/space_node/node_edit.c
===================================================================
--- trunk/blender/source/blender/editors/space_node/node_edit.c	2013-03-18 18:37:59 UTC (rev 55380)
+++ trunk/blender/source/blender/editors/space_node/node_edit.c	2013-03-18 18:43:22 UTC (rev 55381)
@@ -2082,6 +2082,7 @@
 {
 	/* identifiers */
 	ot->name = "Add Node Tree Interface Socket";
+	ot->description = "Add an input or output socket to the current node tree";
 	ot->idname = "NODE_OT_tree_socket_add";
 	
 	/* api callbacks */
@@ -2127,6 +2128,7 @@
 {
 	/* identifiers */
 	ot->name = "Remove Node Tree Interface Socket";
+	ot->description = "Remove an input or output socket to the current node tree";
 	ot->idname = "NODE_OT_tree_socket_remove";
 	
 	/* api callbacks */
@@ -2194,6 +2196,7 @@
 {
 	/* identifiers */
 	ot->name = "Move Node Tree Socket";
+	ot->description = "Move a socket up or down in the current node tree's sockets stack";
 	ot->idname = "NODE_OT_tree_socket_move";
 	
 	/* api callbacks */

Modified: trunk/blender/source/blender/makesrna/intern/rna_nodetree.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_nodetree.c	2013-03-18 18:37:59 UTC (rev 55380)
+++ trunk/blender/source/blender/makesrna/intern/rna_nodetree.c	2013-03-18 18:43:22 UTC (rev 55381)
@@ -619,7 +619,7 @@
 		return NULL;
 
 	if (strlen(identifier) >= sizeof(dummynt.idname)) {
-		BKE_reportf(reports, RPT_ERROR, "registering node tree class: '%s' is too long, maximum length is %d",
+		BKE_reportf(reports, RPT_ERROR, "Registering node tree class: '%s' is too long, maximum length is %d",
 		            identifier, (int)sizeof(dummynt.idname));
 		return NULL;
 	}
@@ -1394,7 +1394,7 @@
 		return NULL;
 
 	if (strlen(identifier) >= sizeof(dummynt.idname)) {
-		BKE_reportf(reports, RPT_ERROR, "registering node class: '%s' is too long, maximum length is %d",
+		BKE_reportf(reports, RPT_ERROR, "Registering node class: '%s' is too long, maximum length is %d",
 		            identifier, (int)sizeof(dummynt.idname));
 		return NULL;
 	}
@@ -1911,7 +1911,7 @@
 		return NULL;
 	
 	if (strlen(identifier) >= sizeof(dummyst.idname)) {
-		BKE_reportf(reports, RPT_ERROR, "registering node socket class: '%s' is too long, maximum length is %d",
+		BKE_reportf(reports, RPT_ERROR, "Registering node socket class: '%s' is too long, maximum length is %d",
 		            identifier, (int)sizeof(dummyst.idname));
 		return NULL;
 	}

Modified: trunk/blender/source/blender/makesrna/intern/rna_sequencer.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_sequencer.c	2013-03-18 18:37:59 UTC (rev 55380)
+++ trunk/blender/source/blender/makesrna/intern/rna_sequencer.c	2013-03-18 18:43:22 UTC (rev 55381)
@@ -35,6 +35,8 @@
 
 #include "BLI_math.h"
 
+#include "BLF_translation.h"
+
 #include "BKE_animsys.h"
 #include "BKE_global.h"
 #include "BKE_sequencer.h"
@@ -50,8 +52,6 @@
 
 #include "WM_types.h"
 
-#include "BLF_translation.h"
-
 typedef struct EffectInfo {
 	const char *struct_name;
 	const char *ui_name;
@@ -1325,6 +1325,7 @@
 	RNA_def_property_clear_flag(prop, PROP_EDITABLE);
 	RNA_def_property_enum_items(prop, seq_type_items);
 	RNA_def_property_ui_text(prop, "Type", "");
+	RNA_def_property_translation_context(prop, BLF_I18NCONTEXT_ID_SEQUENCE);
 	RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_update");
 
 




More information about the Bf-blender-cvs mailing list