diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-26 18:29:39 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-26 18:29:39 +0400 |
commit | dc19877a09e307b91378565cca6e42aca6f68d9e (patch) | |
tree | d2ab1c86ff317e46d05bb7c85b243003922c0648 /source/blender/makesrna/intern/rna_wm.c | |
parent | 3be50219fdc697e257af27342dd227f561a3afde (diff) |
Remove PROP_TRANSLATE flag from labels for operators, menus and panels.
This flag lead to storing translated label for templates and
instant language switching became impossible.
This labels are display-time translated.
Diffstat (limited to 'source/blender/makesrna/intern/rna_wm.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_wm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_wm.c b/source/blender/makesrna/intern/rna_wm.c index c6805206051..8fa780de498 100644 --- a/source/blender/makesrna/intern/rna_wm.c +++ b/source/blender/makesrna/intern/rna_wm.c @@ -1188,7 +1188,7 @@ static void rna_def_operator(BlenderRNA *brna) RNA_def_property_flag(prop, PROP_REGISTER|PROP_NEVER_CLAMP); RNA_def_struct_name_property(srna, prop); - prop= RNA_def_property(srna, "bl_label", PROP_STRING, PROP_TRANSLATE); + prop= RNA_def_property(srna, "bl_label", PROP_STRING, PROP_NONE); RNA_def_property_string_sdna(prop, NULL, "type->name"); RNA_def_property_string_maxlength(prop, 1024); /* else it uses the pointer size! */ RNA_def_property_string_funcs(prop, NULL, NULL, "rna_Operator_bl_label_set"); |