Skip to content

can-z/SubtitleValidator

Repository files navigation

SubtitleValidator

A validator for subtitle files used by YYeTS forum for translating English subtitles to Chinese.

TODO

  • English ellipsis --> WARNING
  • Ignore quotation marks at the end of sentences
  • Double spaces in Chinese captions
  • Single space in English captions
  • Spaces before hyphens in English captions
  • No space before hyphens in Chinese captions
  • Ignore hyphens at the beginning of English captions
  • Auto-fix errors
  • Keep previous capitalization mode if an English line is empty
  • Ignore empty English lines
  • If a Chinese/English line has hyphens for different characters, the other line must have them too
  • Skip format error lines and process the rest
  • Ignore cases for words such as "I"
  • Show "No Error" message if no error
  • Show message for Exceptions
  • Complete really_smart_decode()
  • Better and Chinese system error messages
  • Fix right_white_space_check
  • Ignore {\an8} lines

About

SubtitleValidator

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages