bdk-blender/scripts/modules/bl_i18n_utils
Damien Picard e718f29ec3 I18n: fix node socket extraction regexes
The node socket extraction regexes introduced in 6d39ba7b41 suffered
from two issues:

1. the contextless name extraction would also extract socket names
   which did have a context. To solve, this, use a negative lookahead
   at the end of the regex, containing ".translation_context(".
2. the number of characters in a message was limited to 1, because the
   _str_base component would match one or more chars after the first
   one, while it should have matched zero or more.

This last issues existed before, and the fix allows the extraction of
three new messages.

Pull Request: blender/blender#108052
2023-05-22 11:36:59 +02:00
..
__init__.py
bl_extract_messages.py I18n: translate node group socket type and subtype 2023-05-16 14:53:28 +02:00
merge_po.py
settings_user.py
settings.py I18n: fix node socket extraction regexes 2023-05-22 11:36:59 +02:00
utils_cli.py Cleanup: double quotes for non-enum strings 2023-04-18 10:51:32 +10:00
utils_languages_menu.py
utils_rtl.py
utils_spell_check.py Cleanup: UI messages fixes and tweaks. 2023-04-17 11:41:10 +02:00
utils.py Cleanup: double quotes for non-enum strings 2023-04-18 10:51:32 +10:00