#36102: Some Translators comments are dissapearing from the po files
-------------------------------------+-------------------------------------
     Reporter:  Julien Palard        |                    Owner:  Julien
                                     |  Palard
         Type:  Bug                  |                   Status:  closed
    Component:  contrib.humanize     |                  Version:  5.1
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  i18n                 |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Sarah Boyce <42296566+sarahboyce@…>):

 In [changeset:"e62301091de8c6da45ab4a9d09080ba88229d2d0" e623010]:
 {{{#!CommitTicketReference repository=""
 revision="e62301091de8c6da45ab4a9d09080ba88229d2d0"
 [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.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36102#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019504d89712-4395bd74-d10d-46c6-b39a-74f30e9f035a-000000%40eu-central-1.amazonses.com.

Reply via email to