[devscripts/i18n] Remove -j when regenerating youtube_dl.pot

This option leave unnecessary comments in youtube_dl.pot
This commit is contained in:
Yen Chi Hsuan 2015-12-29 03:35:55 +08:00
parent bf3a04bc00
commit ca28223111

View File

@ -76,7 +76,7 @@ class I18N_Utils(object):
old_pot_file = self.get_pot_filename() + '.old'
shutil.copy2(pot_file, old_pot_file)
cmds = [
'xgettext', '-d', self.GETTEXT_DOMAIN, '-j', '-k', '-ktr', '--from-code=utf-8', '-F', '-o',
'xgettext', '-d', self.GETTEXT_DOMAIN, '-k', '-ktr', '--from-code=utf-8', '-F', '-o',
pot_file]
cmds.extend(glob.glob('youtube_dl/*.py') + glob.glob('youtube_dl/*/*.py'))
self._run_subprocess(cmds)