فهرست منبع

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.
Rémi Verschelde 9 سال پیش
والد
کامیت
f4ee46124a

+ 1 - 1
tools/translations/Makefile

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

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 421 - 388
tools/translations/de.po


+ 1 - 0
tools/translations/extract.py

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

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 515 - 414
tools/translations/fr.po


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 510 - 402
tools/translations/it.po


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 525 - 426
tools/translations/pt_BR.po


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 510 - 399
tools/translations/ru.po


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 394 - 359
tools/translations/tools.pot


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 505 - 399
tools/translations/zh_CN.po


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 406 - 371
tools/translations/zh_HK.po


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است