locales

package
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: BlueOak-1.0.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnUS = map[string]string{}/* 241 elements not displayed */
View Source
var (
	Locales map[string]map[string]string
)
View Source
var PlPL = map[string]string{}/* 206 elements not displayed */
View Source
var PtBr = map[string]string{}/* 206 elements not displayed */
View Source
var ZhCN = map[string]string{}/* 171 elements not displayed */

Functions

func Tokens

func Tokens(tmpl []byte) [][][]byte

Tokens returns a slice of tuples (token, key), where token is just key with triple square brackets, and could also be constructed simply as "[[[" + key + "]]]"". The key is the lookup key for the Locales map. The token is what must be replaced in the raw template.

Types

This section is empty.

Jump to

Keyboard shortcuts

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