diff options
author | Sayamindu Dasgupta <sayamindu@gmail.com> | 2007-11-23 16:34:32 (GMT) |
---|---|---|
committer | Sayamindu Dasgupta <sayamindu@gmail.com> | 2007-11-23 16:34:32 (GMT) |
commit | 14377298d0b34535f1442cfd87cc005e674ee0f2 (patch) | |
tree | 72f59dd8a2235f5782115ade43d27cb9dac4576d /lib/sugar/activity/bundlebuilder.py | |
parent | 4e8615a883c13dabb12214d2269f571ecd1058ac (diff) |
Fix the genpot option to not to modify PO files (#4995)
The genpot option modified PO files (by running msgmerge). This is not
something one would expect, and may cause confusion among translators.
This fixes dev.laptop.org ticket #4995.
Diffstat (limited to 'lib/sugar/activity/bundlebuilder.py')
-rw-r--r-- | lib/sugar/activity/bundlebuilder.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/sugar/activity/bundlebuilder.py b/lib/sugar/activity/bundlebuilder.py index 927b695..e992557 100644 --- a/lib/sugar/activity/bundlebuilder.py +++ b/lib/sugar/activity/bundlebuilder.py @@ -237,11 +237,6 @@ def cmd_genpot(bundle_name, manifest): if retcode: print 'ERROR - xgettext failed with return code %i.' % retcode - for file_name in _get_po_list(manifest).values(): - args = [ 'msgmerge', '-U', file_name, pot_file ] - retcode = subprocess.call(args) - if retcode: - print 'ERROR - msgmerge failed with return code %i.' % retcode def cmd_genl10n(bundle_name, manifest): source_path = _get_source_path() |