locales

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadLang

func LoadLang(src embed.FS) (cat catalog.Catalog, err error)

Types

type Locale

type Locale struct {
	Language string `json:"language"`
	Messages []Msg  `json:"messages"`
}

type Msg

type Msg struct {
	Id                string `json:"id"`
	Message           string `json:"message"`
	Translation       string `json:"translation"`
	TranslatorComment string `json:"translatorComment"`
}

Jump to

Keyboard shortcuts

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