You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
367 B
Makefile
10 lines
367 B
Makefile
.PHONY: po mo
|
|
|
|
po:
|
|
xgettext -LPython -o hadaly/data/locales/po/hadaly.pot --from-code=UTF-8 hadaly/*.kv hadaly/*.py
|
|
msgmerge --update --no-fuzzy-matching --backup=off hadaly/data/locales/po/fr.po hadaly/data/locales/po/hadaly.pot
|
|
|
|
mo:
|
|
mkdir -p hadaly/data/locales/fr/LC_MESSAGES
|
|
msgfmt hadaly/data/locales/po/fr.po -o hadaly/data/locales/fr/LC_MESSAGES/hadaly.mo
|