machinewrapped / gpt-subtrans

Open Source project using LLMs to translate SRT subtitles
Other
310 stars 36 forks source link

Validation error when subtitle dialog has a hashtag #163

Closed fenixpsicologia closed 2 months ago

fenixpsicologia commented 2 months ago

When trying to translate a subtitle that contains # in the dialogues, the translation validation fails.

  1. Use a subtitle that has a dialogue with #, typically accompanied by a number, for example: # 1
  2. Try to translate using some provider (I used Claude)
  3. Observe the logs
machinewrapped commented 2 months ago

Thanks for the report, I'll take a look - shouldn't be too hard to fix!

machinewrapped commented 2 months ago

That wasn't too hard to fix :)

https://github.com/machinewrapped/gpt-subtrans/releases/tag/v0.6.8

(I'll upload a macOS version tomorrow if you need it)

machinewrapped commented 2 months ago

Closing as fixed