From 14377298d0b34535f1442cfd87cc005e674ee0f2 Mon Sep 17 00:00:00 2001 From: Sayamindu Dasgupta Date: Fri, 23 Nov 2007 22:04:32 +0530 Subject: [PATCH] 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. --- lib/sugar/activity/bundlebuilder.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/sugar/activity/bundlebuilder.py b/lib/sugar/activity/bundlebuilder.py index 927b6957..e9925570 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()