8000 Merge pull request #1624 from tannewt/add_translate_files · tannewt/circuitpython@e3e35a5 · GitHub
[go: up one dir, main page]

Skip to content

Commit e3e35a5

Browse files 8000
authored
Merge pull request micropython#1624 from tannewt/add_translate_files
Add translation file locations back.
2 parents ac136a2 + 5c104c9 commit e3e35a5

File tree

11 files changed

+6934
-14
lines changed

11 files changed

+6934
-14
lines changed

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 -s --no-location --keyword=translate -o circuitpython.pot -p locale
197+
find . -iname "*.c" | xargs xgettext -L C -s --add-location=file --keyword=translate -o circuitpython.pot -p locale
198198

199199
translate: locale/circuitpython.pot
200-
for po in $(shell ls locale/*.po); do msgmerge -U $$po -s --no-fuzzy-matching --no-location locale/circuitpython.pot; done
200+
for po in $(shell ls locale/*.po); do msgmerge -U $$po -s --no-fuzzy-matching --add-location=file 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)
0