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