Closed Morv55555 closed 1 year ago
When a text is translated you can get a shorter or longer sentence and the original formatting most probably will be wrong.
Still, there is a way to avoid wraping:
In the CLI, use the -w WRAP_LIMIT, --wrap-limit WRAP_LIMIT flag and set it to a really high value, like 1000.
-w WRAP_LIMIT, --wrap-limit WRAP_LIMIT
In the code, just don't call srt.wrap_lines() or call it with a high value as argument
srt.wrap_lines()
Thanks!
When a text is translated you can get a shorter or longer sentence and the original formatting most probably will be wrong.
Still, there is a way to avoid wraping:
In the CLI, use the
-w WRAP_LIMIT, --wrap-limit WRAP_LIMIT
flag and set it to a really high value, like 1000.In the code, just don't call
srt.wrap_lines()
or call it with a high value as argument