Blender Git Commit Log

Git Commits -> Revision 2ecaa97

Revision 2ecaa97 by Bastien Montagne (master)
November 3, 2021, 15:13 (GMT)
I18n: Fix several issues with UI messages extraction script.

* Fix systematic skipping of labels when they are the same as
the identifier (Some cases are valid, like `RGB` or `HSV` e.g.).
* Add instead heuristics checks to skip non-UI properties (non-capitalized,
or same name as identifier and Operator properties, mainly).
* Skip `bl_icon` and `icon` properties.
* Properly search for properties in all parent classes (some cases with
e.g. `Panel` would break due to intermediary utils classes, leading to
those internal UI properties not being skipped as expected).

Related to T43295.

Commit Details:

Full Hash: 2ecaa971f090810d08bee468d25c5ea0ab2563d3
Parent Commit: b73993b
Lines Changed: +30, -7

1 Modified Path:

/release/scripts/modules/bl_i18n_utils/bl_extract_messages.py (+30, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021