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.
This commit is contained in:
Sayamindu Dasgupta 2007-11-23 22:04:32 +05:30
parent 4e8615a883
commit 14377298d0

View File

@ -237,11 +237,6 @@ def cmd_genpot(bundle_name, manifest):
if retcode: if retcode:
print 'ERROR - xgettext failed with return code %i.' % 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): def cmd_genl10n(bundle_name, manifest):
source_path = _get_source_path() source_path = _get_source_path()