[devscripts/i18n] Remove -j when regenerating youtube_dl.pot
This option leave unnecessary comments in youtube_dl.pot
This commit is contained in:
parent
bf3a04bc00
commit
ca28223111
@ -76,7 +76,7 @@ class I18N_Utils(object):
|
|||||||
old_pot_file = self.get_pot_filename() + '.old'
|
old_pot_file = self.get_pot_filename() + '.old'
|
||||||
shutil.copy2(pot_file, old_pot_file)
|
shutil.copy2(pot_file, old_pot_file)
|
||||||
cmds = [
|
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]
|
pot_file]
|
||||||
cmds.extend(glob.glob('youtube_dl/*.py') + glob.glob('youtube_dl/*/*.py'))
|
cmds.extend(glob.glob('youtube_dl/*.py') + glob.glob('youtube_dl/*/*.py'))
|
||||||
self._run_subprocess(cmds)
|
self._run_subprocess(cmds)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user