diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-02-08 18:29:38 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-02-08 18:29:38 +0400 |
commit | e6cd9ea087d7bc5e027d67fc328014b604fbe25d (patch) | |
tree | d0a8e1e784d1968ae48f052fe636d2503b900dc1 /source/blender/makesrna/RNA_types.h | |
parent | 66e160d5033e4d4924fb7f7219d993a1defc8855 (diff) |
RNA ui API: fix long-standing annoying glitches when using 'text' property of UI functions:
* No context-aware at all.
* Always translated (when i18n was enabled).
Now, it will try tu use RNA struct/property context if available, unless you specify a context within optional "text_ctxt" parameter.
And you can prevent translation by setting 'translate' parameter to False (is True by default).
Will clean up code in a later commit (remove PROP_STRING_PY_TRANSLATE flag and related code), and also fix uilist templates to translate no more materials/textures/etc. names!
Diffstat (limited to 'source/blender/makesrna/RNA_types.h')
0 files changed, 0 insertions, 0 deletions