Generate context comments in .po files.

This commit is contained in:
Tomeu Vizoso 2007-09-08 19:40:22 +02:00
parent f73132de91
commit 8ced2dccbe

View File

@ -230,7 +230,7 @@ def cmd_genpot(bundle_name, manifest):
f.close() f.close()
args = [ 'xgettext', '--join-existing', '--language=Python', args = [ 'xgettext', '--join-existing', '--language=Python',
'--keyword=_', '--output=%s' % pot_file ] '--keyword=_', '--add-comments=TRANS:', '--output=%s' % pot_file ]
args += python_files args += python_files
retcode = subprocess.call(args) retcode = subprocess.call(args)