[i18n] Use sort to keep POT order more stable (#5716)

This commit is contained in:
Frans de Jonge
2019-12-31 17:47:54 +01:00
committed by GitHub
parent 47da0ae1cd
commit d647c62c67

View File

@@ -494,9 +494,9 @@ pot: po
$(XGETTEXT_BIN) --from-code=utf-8 \
--keyword=C_:1c,2 --keyword=N_:1,2 --keyword=NC_:1c,2,3 \
--add-comments=@translators \
reader.lua `find frontend -iname "*.lua"` \
`find plugins -iname "*.lua"` \
`find tools -iname "*.lua"` \
reader.lua `find frontend -iname "*.lua" | sort` \
`find plugins -iname "*.lua" | sort` \
`find tools -iname "*.lua" | sort` \
-o $(TEMPLATE_DIR)/$(DOMAIN).pot
po: