diff options
| author | Georg Bauer <gb@hugo.westfalen.de> | 2005-10-11 09:59:14 +0000 |
|---|---|---|
| committer | Georg Bauer <gb@hugo.westfalen.de> | 2005-10-11 09:59:14 +0000 |
| commit | 22a87715721daa3797bafeac2f17db5b0746796e (patch) | |
| tree | 9faffdee61410eae733a546878154ba3623d4ba9 | |
| parent | 51a691c9c0878ae1c61ea2bf428132d3ec086cb6 (diff) | |
i18n: added gettext_noop support to the xgettext call in make-messages.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rwxr-xr-x | django/bin/make-messages.py | 2 |
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: |
