summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-05-13 18:04:53 -0700
committerScott Shawcroft <scott@tannewt.org>2019-05-13 18:04:53 -0700
commit6756821fd98b8a54f8c46578a0de406483d3895f (patch)
tree757e9cb5ece43af8b8432fde738359b921dc7ab8 /Makefile
parentf29de5132562cd6e88661d150fa1ee3ab8b771e1 (diff)
Update translations and sort input files
This should stabilize the sort of files in the .po files. Fixes #1871
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9b7a5a32c..71d6ff771 100644
--- a/Makefile
+++ b/Makefile
@@ -196,7 +196,7 @@ pseudoxml:
all-source:
locale/circuitpython.pot: all-source
- find $(TRANSLATE_SOURCES) -iname "*.c" | xargs xgettext -L C -s --add-location=file --keyword=translate -o circuitpython.pot -p locale
+ find $(TRANSLATE_SOURCES) -iname "*.c" -print0 | sort -z | xargs xgettext -L C -s --add-location=file --keyword=translate -o circuitpython.pot -p locale
translate: locale/circuitpython.pot
for po in $(shell ls locale/*.po); do msgmerge -U $$po -s --no-fuzzy-matching --add-location=file locale/circuitpython.pot; done