1
0
mirror of https://github.com/django/django.git synced 2025-03-12 10:22:37 +00:00
Julien Palard e62301091d [5.2.x] Fixed #36102 -- Moved i18n comments directly above the translatable string.
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.
2025-02-14 15:23:46 +01:00
..
2024-01-26 12:45:07 +01:00