po

package
v0.0.0-...-3518944 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2017 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Po

type Po struct {
	Attrs    map[string]string
	Messages []*Translation
}

func Parse

func Parse(r io.Reader) (*Po, error)

func ParseFile

func ParseFile(filename string) (*Po, error)

type Translation

type Translation struct {
	Context      string
	Singular     string
	Plural       string
	Translations []string
}

Jump to

Keyboard shortcuts

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