Commit f2ac9ed8 authored by Adrien Di Mascio's avatar Adrien Di Mascio
Browse files

oops, bad changeset review, revert debug changes

parent 9660bd221553
...@@ -235,7 +235,7 @@ class UpdateCubicWebCatalogCommand(Command): ...@@ -235,7 +235,7 @@ class UpdateCubicWebCatalogCommand(Command):
('tal', [tali18nfile], None), ('tal', [tali18nfile], None),
('js', globfind(join(BASEDIR, 'web'), 'cub*.js'), 'java'), ('js', globfind(join(BASEDIR, 'web'), 'cub*.js'), 'java'),
]: ]:
cmd = 'xgettext --add-location --omit-header -k_ -o %s %s' cmd = 'xgettext --no-location --omit-header -k_ -o %s %s'
if lang is not None: if lang is not None:
cmd += ' -L %s' % lang cmd += ' -L %s' % lang
potfiles.append(join(tempdir, '%s.pot' % id)) potfiles.append(join(tempdir, '%s.pot' % id))
...@@ -253,7 +253,7 @@ class UpdateCubicWebCatalogCommand(Command): ...@@ -253,7 +253,7 @@ class UpdateCubicWebCatalogCommand(Command):
shutil.move('%snew' % target, target) shutil.move('%snew' % target, target)
toedit.append(abspath(target)) toedit.append(abspath(target))
# cleanup # cleanup
# rm(tempdir) rm(tempdir)
# instructions pour la suite # instructions pour la suite
print '*' * 72 print '*' * 72
print 'you can now edit the following files:' print 'you can now edit the following files:'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment