diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-03-08 12:47:04 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-03-08 12:47:04 -0800 |
| commit | 5c104c934f20166eb41d1a5d6e1de558e2aff798 (patch) | |
| tree | 36b3382e9f73228adbc4ee1bffd14513ca1aa16d /Makefile | |
| parent | 186e31591157892b8d467a7f086c682afc6be2e9 (diff) | |
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.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 $^ |
