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.
This commit is contained in:
parent
186e315911
commit
5c104c934f
4
Makefile
4
Makefile
@ -194,10 +194,10 @@ pseudoxml:
|
|||||||
all-source:
|
all-source:
|
||||||
|
|
||||||
locale/circuitpython.pot: 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
|
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)
|
check-translate: locale/circuitpython.pot $(wildcard locale/*.po)
|
||||||
$(PYTHON) tools/check_translations.py $^
|
$(PYTHON) tools/check_translations.py $^
|
||||||
|
694
locale/ID.po
694
locale/ID.po
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
694
locale/de_DE.po
694
locale/de_DE.po
File diff suppressed because it is too large
Load Diff
694
locale/en_US.po
694
locale/en_US.po
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
694
locale/es.po
694
locale/es.po
File diff suppressed because it is too large
Load Diff
694
locale/fil.po
694
locale/fil.po
File diff suppressed because it is too large
Load Diff
694
locale/fr.po
694
locale/fr.po
File diff suppressed because it is too large
Load Diff
694
locale/it_IT.po
694
locale/it_IT.po
File diff suppressed because it is too large
Load Diff
694
locale/pt_BR.po
694
locale/pt_BR.po
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user