forked from Github-Mirrors/canaille
Makefile generates translation and builds package
This commit is contained in:
parent
fc4130a38b
commit
36042f132e
2 changed files with 8 additions and 3 deletions
8
Makefile
Normal file
8
Makefile
Normal file
|
@ -0,0 +1,8 @@
|
|||
build:
|
||||
python3 setup.py compile_catalog
|
||||
python3 setup.py sdist bdist_wheel
|
||||
|
||||
init_i18n:
|
||||
python3 setup.py extract_messages
|
||||
python3 setup.py init_catalog --locale fr
|
||||
python3 setup.py compile_catalog
|
|
@ -115,17 +115,14 @@ output_file = canaille/translations/messages.pot
|
|||
[init_catalog]
|
||||
input_file = canaille/translations/messages.pot
|
||||
output_dir = canaille/translations/
|
||||
domain = canaille
|
||||
|
||||
[update_catalog]
|
||||
input_file = canaille/translations/messages.pot
|
||||
output_dir = canaille/translations/
|
||||
domain = canaille
|
||||
update-header-comment = true
|
||||
no-fuzzy-matching = true
|
||||
ignore-obsolete = true
|
||||
|
||||
[compile_catalog]
|
||||
directory = canaille/translations/
|
||||
domain = canaille
|
||||
statistics = true
|
||||
|
|
Loading…
Reference in a new issue