summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCraig Forbes <cpforbes@starlake.org>2019-06-14 15:29:47 -0500
committerCraig Forbes <cpforbes@starlake.org>2019-06-18 16:59:05 -0500
commitd852d0f04328fb348eb74a64d8fd2f7389b8f828 (patch)
tree754d254243e3d04a565a5776c6c6653911393b85 /Makefile
parent13c3d06c6a379e1aa4fd0ad6fb6f92621e248344 (diff)
Explicitly set the locale when sorting translation files.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8a4cf609f..b9c489fd4 100644
--- a/Makefile
+++ b/Makefile
@@ -204,7 +204,7 @@ pseudoxml:
all-source:
locale/circuitpython.pot: all-source
- find $(TRANSLATE_SOURCES) -iname "*.c" -print0 | sort -z | xargs -0 xgettext -L C -s --add-location=file --keyword=translate -o circuitpython.pot -p locale
+ find $(TRANSLATE_SOURCES) -iname "*.c" -print0 | (LC_ALL=C sort -z) | xargs -0 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