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:
authorSv. Lockal <lockalsash@gmail.com>2013-01-05 16:06:50 +0400
committerSv. Lockal <lockalsash@gmail.com>2013-01-05 16:06:50 +0400
commit5ffcde851b5c2dbde7df4551bdf8979d51ce0447 (patch)
tree776caff3e2be2d2017045a197f56c91e2630884f /source/blender/makesrna/intern/rna_text.c
parent6cf52cc80c4cee6d6d4dbc0c18ea7f2bb8c69ee6 (diff)
Add translation contexts for line, mute and clip
Diffstat (limited to 'source/blender/makesrna/intern/rna_text.c')
-rw-r--r--source/blender/makesrna/intern/rna_text.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_text.c b/source/blender/makesrna/intern/rna_text.c
index b1637ef4c8a..df6181af4b2 100644
--- a/source/blender/makesrna/intern/rna_text.c
+++ b/source/blender/makesrna/intern/rna_text.c
@@ -30,6 +30,8 @@
#include "MEM_guardedalloc.h"
+#include "BLF_translation.h"
+
#include "BKE_text.h"
#include "RNA_define.h"
@@ -127,6 +129,7 @@ static void rna_def_text_line(BlenderRNA *brna)
RNA_def_property_string_funcs(prop, "rna_TextLine_body_get", "rna_TextLine_body_length", "rna_TextLine_body_set");
RNA_def_property_ui_text(prop, "Line", "Text in the line");
RNA_def_property_update(prop, NC_TEXT | NA_EDITED, NULL);
+ RNA_def_property_translation_context(prop, BLF_I18NCONTEXT_ID_TEXT);
}
static void rna_def_text(BlenderRNA *brna)