locale

package
v0.5.12 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Tag feature.Tag = "fs-locale"

Variables

This section is empty.

Functions

This section is empty.

Types

type CFeature

type CFeature struct {
	filesystem.CFeature[MakeFeature]
	// contains filtered or unexported fields
}

func (*CFeature) AddLanguageCatalog

func (f *CFeature) AddLanguageCatalog(ctlgs ...catalog.Catalog) MakeFeature

func (*CFeature) AddLocales

func (f *CFeature) AddLocales(c pkgLangCatalog.Catalog)

func (*CFeature) Build

func (f *CFeature) Build(b feature.Buildable) (err error)

func (*CFeature) Init

func (f *CFeature) Init(this interface{})

func (*CFeature) Make

func (f *CFeature) Make() Feature

func (*CFeature) Setup

func (f *CFeature) Setup(enjin feature.Internals)

func (*CFeature) Startup

func (f *CFeature) Startup(ctx *cli.Context) (err error)

type Feature

type Feature interface {
	filesystem.Feature[MakeFeature]
	feature.LocalesProvider
}

type MakeFeature

type MakeFeature interface {
	filesystem.MakeFeature[MakeFeature]

	AddLanguageCatalog(ctlgs ...catalog.Catalog) MakeFeature

	Make() Feature
}

func New

func New() MakeFeature

func NewTagged

func NewTagged(tag feature.Tag) MakeFeature

Jump to

Keyboard shortcuts

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