Opened 8 years ago

Closed 5 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@…> 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by pytechd <pytechd@…>

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

  • Has patch set
  • Needs documentation set
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 8 years ago by mtredinnick

  • Component changed from Translations to Internationalization
  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 7 years ago by mtredinnick

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 5 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

(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