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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-09-21 17:53:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-09-21 17:53:35 +0400
commit943a026c6011faa7dbdc1a4c640c2f0f25196d96 (patch)
tree34c2d84376a2bdba338e8e8fd85550b74315d8d7 /source/blender/makesrna/RNA_types.h
parentf56759bb208b989749ed3f578a7d8ef4faa394f1 (diff)
py/rna string subtypes for strings which should be automatically translated:
layout.prop("blah", text="Translate Me!")
Diffstat (limited to 'source/blender/makesrna/RNA_types.h')
-rw-r--r--source/blender/makesrna/RNA_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_types.h b/source/blender/makesrna/RNA_types.h
index 4a18518dde9..8e8a2133b89 100644
--- a/source/blender/makesrna/RNA_types.h
+++ b/source/blender/makesrna/RNA_types.h
@@ -110,6 +110,7 @@ typedef enum PropertySubType {
PROP_FILEPATH = 1,
PROP_DIRPATH = 2,
PROP_FILENAME = 3,
+ PROP_TRANSLATE = 4, /* a string which should be translated */
/* numbers */
PROP_UNSIGNED = 13,