Example #1
0
File: tran.go Project: sqp/godock
// Sloc translates the given string using another domain name.
//
func Sloc(domain, str string) string {
	return gettext.DGettext(domain, str)
}
Example #2
0
// G is the shorthand for Gettext
func G(msgid string) string {
	return gettext.DGettext(TEXTDOMAIN, msgid)
}
Example #3
0
File: tran.go Project: sqp/godock
// Splug translates the given string in the applet domain.
//
func Splug(str string) string {
	return gettext.DGettext(cdglobal.GettextPackagePlugins, str)
}