From 5c104c934f20166eb41d1a5d6e1de558e2aff798 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Fri, 8 Mar 2019 12:47:04 -0800 Subject: Add translation file locations back. Skip line numbers because they cause diff churn. Also, keep sorting by msgid to prevent churn from adding new files. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b4d37b9d8..0c298f0ba 100644 --- a/Makefile +++ b/Makefile @@ -194,10 +194,10 @@ pseudoxml: all-source: locale/circuitpython.pot: all-source - find . -iname "*.c" | xargs xgettext -L C -s --no-location --keyword=translate -o circuitpython.pot -p locale + find . -iname "*.c" | 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 --no-location locale/circuitpython.pot; done + for po in $(shell ls locale/*.po); do msgmerge -U $$po -s --no-fuzzy-matching --add-location=file locale/circuitpython.pot; done check-translate: locale/circuitpython.pot $(wildcard locale/*.po) $(PYTHON) tools/check_translations.py $^ -- cgit v1.2.3