From fed2178f7e2347e19a55484276c5ca453281ba38 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sat, 5 Dec 2015 12:12:17 +0530 Subject: [PATCH] Keep POT file when updating translations --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ca1bdb638..f1c92d95f 100755 --- a/setup.py +++ b/setup.py @@ -97,7 +97,8 @@ class UpdateTranslations(DjangoCommand): DjangoCommand.run(self) 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):