arns-lt-gemini/dict.go

29 lines
505 B
Go
Raw Normal View History

package main
type dict struct {
hostname string
languageEn string
searchStr string
}
var EN = dict{
hostname: "en.arns.lt",
languageEn: "English",
searchStr: "Input searching tag, created date or word in description",
}
var SGS = dict{
hostname: "en.arns.lt",
languageEn: "Samogitian",
searchStr: "Ivesk ėiškuoma žīma, sokūrėma data arba žuodi ėš aprašīma",
}
func Dict() dict {
dictMap := map[string]dict{
"en": EN,
"sgs": SGS,
}
return dictMap[defaultLang]
}