Versions in this module Expand all Collapse all v0 v0.0.1 Jul 30, 2023 Changes in this version + const LN_BREAK + type Config struct + LanguageDest string + LanguageSrc string + OutputDir string + RemoveCloseCaption bool + type FileLines struct + Originals []string + TempTrans []string + Translatables []string + Translateds []string + type Transub struct + Conf Config + FileExt string + InputFilename string + OutputFilename string + func TransubNew(filename string, config ...Config) *Transub + func (ts *Transub) CreateOutputFile(fileTextLines FileLines) error + func (ts *Transub) ExtractFileLines() (originals, translatables []string, err error) + func (ts *Transub) RemoveLangFromFilename() string + func (ts *Transub) Translaste() error