lang

package
v1.9.983-0...-febbaca Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lang

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

Lang maps a language to the terms we use in the document. We use an 'int' as to use the parser.Flags to indicate which language we'are using.

func New

func New(language string) Lang

New returns a new and initialized Lang.

func (Lang) And

func (l Lang) And() string

func (Lang) Authors

func (l Lang) Authors() string

func (Lang) Bibliography

func (l Lang) Bibliography() string

func (Lang) Footnotes

func (l Lang) Footnotes() string

func (Lang) Index

func (l Lang) Index() string

func (Lang) WrittenBy

func (l Lang) WrittenBy() string

type Term

type Term struct {
	And          string
	Authors      string
	Bibliography string
	Footnotes    string
	Index        string
	WrittenBy    string
}

Term contains the specific terms for translation.

Jump to

Keyboard shortcuts

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