summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdjango/bin/make-messages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/bin/make-messages.py b/django/bin/make-messages.py
index d7d32071f9..3aa9389a47 100755
--- a/django/bin/make-messages.py
+++ b/django/bin/make-messages.py
@@ -75,7 +75,7 @@ for (dirpath, dirnames, filenames) in os.walk("."):
open(os.path.join(dirpath, '%s.py' % file), "wb").write(templateize(src))
thefile = '%s.py' % file
if verbose: sys.stdout.write('processing file %s in %s\n' % (file, dirpath))
- cmd = 'xgettext %s -d %s -L Python -o - "%s"' % (
+ cmd = 'xgettext %s -d %s -L Python --keyword=gettext_noop -o - "%s"' % (
os.path.exists(potfile) and '--omit-header' or '', domain, os.path.join(dirpath, thefile))
msgs = os.popen(cmd, 'r').read()
if thefile != file: