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:
authorBastien Montagne <montagne29@wanadoo.fr>2019-03-31 19:43:14 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-03-31 19:47:54 +0300
commit79c178b0156045a54974dea10b7cf59426c8762c (patch)
tree532da3875487b2b12009ac6678d44b3447dbe7fa /release/scripts/modules/bl_i18n_utils/bl_extract_messages.py
parent54943e319ad89c0b4aff6320ecbd955338ea8948 (diff)
18N for tools definitions: make them resilient to None context.
Dynamic callbacks generating lists of tools should accept None context, not crash on it. Similar to what we do with dynamic RNA enums, when NULL/None context is given, assume we are in 'introspection' mode and return as many things as possible. This is currently essentially used by i18n messages extraction tool (where getting all possible entries is kind of mandatory ;) ). Also add some initial missing tranlations for complex cases that cannot be automated, there'll likely be more of that kind...
Diffstat (limited to 'release/scripts/modules/bl_i18n_utils/bl_extract_messages.py')
0 files changed, 0 insertions, 0 deletions