Opened 9 years ago

Closed 6 years ago

#6476 closed (fixed)

Allow make-messages.py to pass --no-wrap to xgettext and family

Reported by: pytechd <pytechd@…> Owned by: nobody
Component: Internationalization Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: yes
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I'm attaching a patch that adds a simple -w parameter to make-messages.py that enables --no-wrap when passed to xgettext, msguniq, and msgmerge. It is disabled by default, of course.

This arose from translating sources which are not directly controllable.

Attachments (1)

nowrap.patch (3.6 KB) - added by pytechd <pytechd@…> 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by pytechd <pytechd@…>

Attachment: nowrap.patch added

comment:1 Changed 9 years ago by pytechd <pytechd@…>

Has patch: set
Needs documentation: set

comment:2 Changed 9 years ago by Malcolm Tredinnick

Component: TranslationsInternationalization
Triage Stage: UnreviewedAccepted

comment:3 Changed 9 years ago by Malcolm Tredinnick

I'm going to leave all these sorts of changes until #5522 lands so that Jannis doesn't have to keep chasing a moving target over there.

comment:4 Changed 6 years ago by Jannis Leidel

Resolution: fixed
Status: newclosed

(In [14454]) Fixed #6476 -- Added option to makemessages management command to disable wrapping of long lines. Thanks to pytechd for the initial patch.

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