Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2013-03-18 22:43:22 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2013-03-18 22:43:22 +0400
commit66c7b54a889e292184dd386cf8cc2b0925e1d0f8 (patch)
tree903580145a28861f5982a78de999d40db66b25f1 /source
parentb38870ce25a99037d7b9836a4f5a1133043e01f7 (diff)
Usual minor UI messages fixes.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_node/node_edit.c3
-rw-r--r--source/blender/makesrna/intern/rna_nodetree.c6
-rw-r--r--source/blender/makesrna/intern/rna_sequencer.c5
3 files changed, 9 insertions, 5 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c
index 7c1a867bd16..256b02d3288 100644
--- a/source/blender/editors/space_node/node_edit.c
+++ b/source/blender/editors/space_node/node_edit.c
@@ -2082,6 +2082,7 @@ void NODE_OT_tree_socket_add(wmOperatorType *ot)
{
/* 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 @@ void NODE_OT_tree_socket_remove(wmOperatorType *ot)
{
/* 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 @@ void NODE_OT_tree_socket_move(wmOperatorType *ot)
{
/* 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 */
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index 277f3251042..6fd91e8a32b 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -619,7 +619,7 @@ static StructRNA *rna_NodeTree_register(Main *bmain, ReportList *reports, void *
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 @@ static bNodeType *rna_Node_register_base(Main *bmain, ReportList *reports, Struc
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 @@ static StructRNA *rna_NodeSocket_register(Main *bmain, ReportList *reports, void
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;
}
diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c
index 9b81f042358..ed9d12cd1e0 100644
--- a/source/blender/makesrna/intern/rna_sequencer.c
+++ b/source/blender/makesrna/intern/rna_sequencer.c
@@ -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 @@ static void rna_def_sequence(BlenderRNA *brna)
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");