Opened 17 years ago

Closed 17 years ago

#5491 closed (fixed)

Make make-messages.py sort filenames when processing files

Reported by: Ramiro Morales Owned by: nobody
Component: Internationalization Version: dev
Severity: Keywords:
Cc: 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

When make-messages.py enumerates the files it will extract translatable strings from, filesystem enumeration peculiarities cause changes in the layout of th final .po file being created/updated. In the case of the Django translations this difficult reviewing and makes translator-submitted patches bigger than should be.

The patch just makes it .sort() the list of files to process before.

Attachments (1)

make_mess_file_sort.diff (854 bytes ) - added by Ramiro Morales 17 years ago.

Download all attachments as: .zip

Change History (3)

by Ramiro Morales, 17 years ago

Attachment: make_mess_file_sort.diff added

comment:1 by Simon G. <dev@…>, 17 years ago

Has patch: set
Triage Stage: UnreviewedReady for checkin

comment:2 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: newclosed

(In [6445]) Fixed #5491 -- Changed PO file generation to sort the filenames we scan prior
to passing them to gettext. This should help reduce the changes in line
orderings caused by different translators using different operating systems and
locales. Based on a patch from Ramiro Morales.

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