add chinese subtitles
This commit is contained in:
parent
5f58c7aab7
commit
1c235dfd2a
1 changed files with 4 additions and 1 deletions
|
@ -244,7 +244,10 @@ if __name__ == '__main__':
|
|||
output_json = prefix + 'no-en.json'
|
||||
output_srt = prefix + 'no-en.srt'
|
||||
render_subtitles(item_json, output_json, output_srt, ['no', 'en'])
|
||||
for lang in ('en', 'ko', 'no'):
|
||||
output_json = prefix + 'ch-en.json'
|
||||
output_srt = prefix + 'ch-en.srt'
|
||||
render_subtitles(item_json, output_json, output_srt, ['ch', 'en'])
|
||||
for lang in ('en', 'ko', 'no', 'ch'):
|
||||
output_json = prefix + lang + '.json'
|
||||
output_srt = prefix + lang + '.srt'
|
||||
render_subtitles(item_json, output_json, output_srt, lang)
|
||||
|
|
Loading…
Reference in a new issue