sinedie/SRTranslator

Could you make an option to not wrap the text at all? I have many files where the sub is perfectly spaced and I would like to keep the original formatting.

Morv55555 opened this issue · 2 comments

Could you make an option to not wrap the text at all? I have many files where the sub is perfectly spaced and I would like to keep the original formatting.

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

Thanks!