i18nextractor

package
v0.0.0-...-5cbc45b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

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:"-"`
}

func (*Config) Execute

func (c *Config) Execute() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL