Added little code to update documentation catalogs aswell
This commit is contained in:
parent
1d181b61a3
commit
8ebf5dedd2
5
doc/translate.py
Normal file
5
doc/translate.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
from babel.messages.frontend import CommandLineInterface
|
||||||
|
|
||||||
|
CommandLineInterface().run(['pybabel', 'extract', '-o', 'socializer-documentation.pot', '.'])
|
||||||
|
#CommandLineInterface().run(['pybabel','compile','-d','../src/locales'])
|
||||||
|
CommandLineInterface().run(['pybabel','update', '--input-file', 'socializer-documentation.pot', '--domain', 'socializer-documentation', '--output-dir', '../src/locales'])
|
Loading…
Reference in New Issue
Block a user