diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-04-10 11:22:40 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-04-10 11:24:02 +0300 |
commit | 814f143acf5ffdcb0cba6706823bd509d2105f63 (patch) | |
tree | 1f05aa3fa4d8c83bc6e2769a221e20f830d2094e /source | |
parent | bd76c887546558488aa07a5c01d81647aa7af7e9 (diff) |
Fix T54423: Messages from RNA_property_editable_info() were not translatable.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_access.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 18e42488829..bec6830f8c3 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -1842,14 +1842,14 @@ bool RNA_property_editable_info(PointerRNA *ptr, PropertyRNA *prop, const char * else { flag = prop->flag; if ((flag & PROP_EDITABLE) == 0 || (flag & PROP_REGISTER)) { - *r_info = "This property is for internal use only and can't be edited."; + *r_info = N_("This property is for internal use only and can't be edited"); } } /* property from linked data-block */ if (id && ID_IS_LINKED(id) && (prop->flag & PROP_LIB_EXCEPTION) == 0) { if (!(*r_info)[0]) { - *r_info = "Can't edit this property from a linked data-block."; + *r_info = N_("Can't edit this property from a linked data-block"); } return false; } |