i18n

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func I18nCmd

func I18nCmd() *cobra.Command

Types

type I18nKey

type I18nKey struct {
	Key          string            `json:"key"`
	Context      string            `json:"context"`
	Translations map[string]string `json:"translations"`
}

type KeyExtractor

type KeyExtractor struct {
	// contains filtered or unexported fields
}

KeyExtractor Agent

func NewKeyExtractor

func NewKeyExtractor(diff string) *KeyExtractor

func (*KeyExtractor) Execute

func (a *KeyExtractor) Execute(input map[string]string) (string, error)

func (*KeyExtractor) Name

func (a *KeyExtractor) Name() string

func (*KeyExtractor) WaitForResults

func (a *KeyExtractor) WaitForResults() []string

type SQLGenerator

type SQLGenerator struct{}

SQLGenerator Agent

func NewSQLGenerator

func NewSQLGenerator() *SQLGenerator

func (*SQLGenerator) Execute

func (a *SQLGenerator) Execute(input map[string]string) (string, error)

func (*SQLGenerator) Name

func (a *SQLGenerator) Name() string

func (*SQLGenerator) WaitForResults

func (a *SQLGenerator) WaitForResults() []string

type TranslationData

type TranslationData struct {
	Keys []I18nKey `json:"keys"`
}

type TranslationEnhancer

type TranslationEnhancer struct {
	// contains filtered or unexported fields
}

TranslationEnhancer Agent

func NewTranslationEnhancer

func NewTranslationEnhancer(service *llm.Service) *TranslationEnhancer

func (*TranslationEnhancer) Execute

func (a *TranslationEnhancer) Execute(input map[string]string) (string, error)

func (*TranslationEnhancer) Name

func (a *TranslationEnhancer) Name() string

func (*TranslationEnhancer) WaitForResults

func (a *TranslationEnhancer) WaitForResults() []string

type TranslationGenerator

type TranslationGenerator struct {
	// contains filtered or unexported fields
}

TranslationGenerator Agent

func NewTranslationGenerator

func NewTranslationGenerator(service *llm.Service) *TranslationGenerator

func (*TranslationGenerator) Execute

func (a *TranslationGenerator) Execute(input map[string]string) (string, error)

func (*TranslationGenerator) Name

func (a *TranslationGenerator) Name() string

func (*TranslationGenerator) WaitForResults

func (a *TranslationGenerator) WaitForResults() []string

Jump to

Keyboard shortcuts

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