Skip to content

Commit 6a8f735

Browse files
authored
Merge pull request adafruit#1587 from tannewt/fixup_translations
Fixup translations and remove location to reduce diffs
2 parents d339239 + 785edf7 commit 6a8f735

11 files changed

Lines changed: 11009 additions & 17916 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@ pseudoxml:
194194
all-source:
195195

196196
locale/circuitpython.pot: all-source
197-
find . -iname "*.c" | xargs xgettext -L C --keyword=translate -F -o circuitpython.pot -p locale
197+
find . -iname "*.c" | xargs xgettext -L C -s --no-location --keyword=translate -o circuitpython.pot -p locale
198198

199199
translate: locale/circuitpython.pot
200-
for po in $(shell ls locale/*.po); do msgmerge -U -F $$po locale/circuitpython.pot; done
200+
for po in $(shell ls locale/*.po); do msgmerge -U $$po -s --no-fuzzy-matching --no-location locale/circuitpython.pot; done
201201

202202
check-translate: locale/circuitpython.pot $(wildcard locale/*.po)
203203
$(PYTHON) tools/check_translations.py $^

0 commit comments

Comments
 (0)