Opened 18 years ago

Closed 18 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.

Change History (3)

by Ramiro Morales, 18 years ago

Attachment: make_mess_file_sort.diff added

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

Has patch: set
Triage Stage: UnreviewedReady for checkin

comment:2 by Malcolm Tredinnick, 18 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