diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-03-31 19:43:14 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-03-31 19:47:54 +0300 |
commit | 79c178b0156045a54974dea10b7cf59426c8762c (patch) | |
tree | 532da3875487b2b12009ac6678d44b3447dbe7fa /release/scripts/modules | |
parent | 54943e319ad89c0b4aff6320ecbd955338ea8948 (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')
0 files changed, 0 insertions, 0 deletions