Add Language.LanguageName

Fixes #2435
This commit is contained in:
Bjørn Erik Pedersen
2016-09-12 20:57:52 +02:00
parent a7dc3c082e
commit 69a97823c4
3 changed files with 35 additions and 19 deletions

View File

@@ -24,11 +24,12 @@ import (
)
type Language struct {
Lang string
Title string
Weight int
params map[string]interface{}
paramsInit sync.Once
Lang string
LanguageName string
Title string
Weight int
params map[string]interface{}
paramsInit sync.Once
}
func (l *Language) String() string {