From 8ced2dccbeea399a299f58527cba7de70db50afa Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Sat, 08 Sep 2007 17:40:22 +0000 Subject: Generate context comments in .po files. --- (limited to 'sugar') diff --git a/sugar/activity/bundlebuilder.py b/sugar/activity/bundlebuilder.py index b0e46ab..d2b1a89 100644 --- a/sugar/activity/bundlebuilder.py +++ b/sugar/activity/bundlebuilder.py @@ -230,7 +230,7 @@ def cmd_genpot(bundle_name, manifest): f.close() args = [ 'xgettext', '--join-existing', '--language=Python', - '--keyword=_', '--output=%s' % pot_file ] + '--keyword=_', '--add-comments=TRANS:', '--output=%s' % pot_file ] args += python_files retcode = subprocess.call(args) -- cgit v0.9.1