languages.go 548 Bytes
Newer Older
1 2 3 4
// Package inflect provides an inflector.
package inflect

import (
5 6
	"github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/chuckpreslar/inflect/languages"
	"github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/chuckpreslar/inflect/types"
7 8 9 10 11 12 13 14 15 16 17 18 19
)

var (
	// Language to use when converting a word from it's plural to
	// singular forms and vice versa.
	Language = "en"

	// Languages avaiable for converting a word from
	// it's plural to singular forms and vice versa.
	Languages = map[string]*types.LanguageType{
		"en": languages.English,
	}
)