mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
Keep POT file when updating translations
This commit is contained in:
parent
34ba546d9d
commit
fed2178f7e
3
setup.py
3
setup.py
@ -97,7 +97,8 @@ class UpdateTranslations(DjangoCommand):
|
|||||||
DjangoCommand.run(self)
|
DjangoCommand.run(self)
|
||||||
|
|
||||||
from django.core.management import call_command
|
from django.core.management import call_command
|
||||||
call_command('makemessages', all=True, domain='django', verbosity=1)
|
call_command('makemessages', all=True, domain='django', keep_pot=True,
|
||||||
|
verbosity=1)
|
||||||
|
|
||||||
|
|
||||||
class CustomBuild(build):
|
class CustomBuild(build):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user