resources

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LocalesURI is the resource URI for the locale inventory.
	LocalesURI = "i18n://locales"
	// DiffURI is the resource URI for the latest diff analysis.
	DiffURI = "i18n://analysis/diff"
	// UsageURI is the resource URI for the latest usage analysis.
	UsageURI = "i18n://analysis/usage"
	// DeadKeysURI is the resource URI for the latest dead-key analysis.
	DeadKeysURI = "i18n://analysis/dead-keys"
	// LatestPlanURI is the resource URI for the latest translation plan.
	LatestPlanURI = "i18n://translation/plan/latest"
	// LatestReportURI is the resource URI for the latest audit report.
	LatestReportURI = "i18n://reports/latest"
)

Variables

This section is empty.

Functions

func IsSubscribableURI added in v0.14.0

func IsSubscribableURI(rawURI string) bool

IsSubscribableURI reports whether rawURI identifies a registered i18n resource.

func LocaleURI

func LocaleURI(locale string, namespace string) string

LocaleURI returns the resource URI for a locale namespace.

func ParseLocaleURI added in v0.14.0

func ParseLocaleURI(rawURI string) (locale string, namespace string, ok bool)

ParseLocaleURI parses an exact locale namespace resource URI.

Types

This section is empty.

Jump to

Keyboard shortcuts

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