mirror of
https://github.com/django/django.git
synced 2025-03-12 10:22:37 +00:00
xgettext only extracts comment blocks if there is no program code between the comment and the string that gets extracted. For details, see: https://www.gnu.org/software/gettext/manual/html_node/xgettext-Invocation.html#Operation-mode Black formatting has been turned off in some places to ensure the comments are not moved, which previously resulted in them being removed from the po files when scripts/manage_translations.py was run. Backport of 6fcd0440aaa7601aa258d1c956eecfaedf72fbf4 from main.