Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUpdate = errors.New("translation files are out of date")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Inputdir string `opts:"default=." help:"Source codes directory path"` Lang []string `help:"The language tag of the extracted messages (e.g. en, en-US, zh-Hant-CN)."` Outdir string `opts:"default=." help:"Write message files to this directory."` FailOnUpdate bool `opts:"name=fail-on-update"` Input afero.Fs `opts:"-"` Output afero.Fs `opts:"-"` }
Click to show internal directories.
Click to hide internal directories.