summaryrefslogtreecommitdiff
path: root/django/db/models/sql/compiler.py
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2025-01-15 22:20:25 +0100
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-02-14 15:23:46 +0100
commite62301091de8c6da45ab4a9d09080ba88229d2d0 (patch)
treef6b6de10da5bb206d682fb9a70048f5ace8b29d5 /django/db/models/sql/compiler.py
parent9cd975c7faf4c2a351b662703b9c32ad370d4bdf (diff)
[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.
Diffstat (limited to 'django/db/models/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions