Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#35427 closed Bug (fixed)

Details of extension argument for makemessages management command not correct

Reported by: Bona Fide IT GmbH Owned by: Shamil
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Bona Fide IT GmbH, Shamil Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The documentation of the extension argument of the makemessages management command is not correct:

Specifies a list of file extensions to examine (default: ``html``, ``txt``,
``py`` or ``js`` if :option:`--domain` is ``js``).

should be

Specifies a list of file extensions to examine (default: ``html``, ``txt``,
``py`` or ``js`` if :option:`--domain` is ``djangojs``).

The domain is not js, it should be djangojs.

https://github.com/django/django/blob/main/docs/ref/django-admin.txt#L586-L587

Attachments (1)

doc-djangojs.patch (515 bytes ) - added by Bona Fide IT GmbH 3 months ago.

Download all attachments as: .zip

Change History (6)

by Bona Fide IT GmbH, 3 months ago

Attachment: doc-djangojs.patch added

comment:1 by Sarah Boyce, 3 months ago

Triage Stage: UnreviewedAccepted

Good catch thank you!

comment:2 by Shamil, 3 months ago

Cc: Shamil added
Owner: changed from nobody to Shamil
Status: newassigned
Last edited 3 months ago by Shamil (previous) (diff)

comment:3 by Natalia Bidart, 3 months ago

Triage Stage: AcceptedReady for checkin

comment:4 by nessita <124304+nessita@…>, 3 months ago

Resolution: fixed
Status: assignedclosed

In 32d163e6:

Fixed #35427 -- Corrected help text for makemessages --extension in docs/ref/django-admin.txt.

comment:5 by Natalia <124304+nessita@…>, 3 months ago

In 59c3f8a5:

[5.0.x] Fixed #35427 -- Corrected help text for makemessages --extension in docs/ref/django-admin.txt.

Backport of 32d163e680817e202e0def3fbb70d2450b02cffd from main.

Note: See TracTickets for help on using tickets.
Back to Top