i18n: Sort files to parse alphabetically

This should ensure that python produces the same tools.pot for every user,
and thus that the .po will not get useless diffs upon merge.
This commit is contained in:
Rémi Verschelde 2016-05-31 18:24:41 +02:00
parent bbaaf03200
commit f4ee46124a
10 changed files with 30964 additions and 30802 deletions

View File

@ -7,7 +7,7 @@ LANGS = $(POFILES:%.po=%)
all: update merge all: update merge
update: update:
@cd ../..; python tools/translations/extract.py @cd ../..; python2 tools/translations/extract.py
merge: merge:
@for po in $(POFILES); do \ @for po in $(POFILES); do \

File diff suppressed because it is too large Load Diff

View File

@ -31,6 +31,7 @@ for root, dirnames, filenames in os.walk('.'):
if (filename.find("collada") != -1): if (filename.find("collada") != -1):
continue continue
matches.append(os.path.join(root, filename)) matches.append(os.path.join(root, filename))
matches.sort()
unique_str = [] unique_str = []

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff