Documentation ¶
Index ¶
- Variables
- type LocalizedString
- type Localizer
- func (l *Localizer) TextAccounts() *LocalizedString
- func (l *Localizer) TextAdd() *LocalizedString
- func (l *Localizer) TextAddInstance() *LocalizedString
- func (l *Localizer) TextAddTag() *LocalizedString
- func (l *Localizer) TextAdmin() *LocalizedString
- func (l *Localizer) TextBlock() *LocalizedString
- func (l *Localizer) TextClose() *LocalizedString
- func (l *Localizer) TextConfiguration() *LocalizedString
- func (l *Localizer) TextDescription() *LocalizedString
- func (l *Localizer) TextDomain() *LocalizedString
- func (l *Localizer) TextErrorDatabase() *LocalizedString
- func (l *Localizer) TextForce() *LocalizedString
- func (l *Localizer) TextHomeWeb() *LocalizedString
- func (l *Localizer) TextInstance() *LocalizedString
- func (l *Localizer) TextInstances() *LocalizedString
- func (l *Localizer) TextLogin() *LocalizedString
- func (l *Localizer) TextLogout() *LocalizedString
- func (l *Localizer) TextLooksGood() *LocalizedString
- func (l *Localizer) TextName() *LocalizedString
- func (l *Localizer) TextObfuscatedDomain() *LocalizedString
- func (l *Localizer) TextRepo() *LocalizedString
- func (l *Localizer) TextSettings() *LocalizedString
- func (l *Localizer) TextTags() *LocalizedString
- func (l *Localizer) TextUnauthorized() *LocalizedString
- type Module
Constants ¶
This section is empty.
Variables ¶
var DefaultLanguage = language.English
DefaultLanguage is the default language of the application.
Functions ¶
This section is empty.
Types ¶
type LocalizedString ¶
type LocalizedString struct {
// contains filtered or unexported fields
}
LocalizedString contains a localized string.
func (*LocalizedString) Language ¶
func (l *LocalizedString) Language() language.Tag
Language returns the language of the localized string.
func (*LocalizedString) Lower ¶
func (l *LocalizedString) Lower() string
Lower returns the localized string in lower-case.
func (*LocalizedString) String ¶
func (l *LocalizedString) String() string
String returns the localized string.
type Localizer ¶
type Localizer struct {
// contains filtered or unexported fields
}
Localizer returns translated phrases.
func (*Localizer) TextAccounts ¶
func (l *Localizer) TextAccounts() *LocalizedString
TextAccounts returns a translated phrase.
func (*Localizer) TextAdd ¶
func (l *Localizer) TextAdd() *LocalizedString
TextAdd returns a translated phrase.
func (*Localizer) TextAddInstance ¶
func (l *Localizer) TextAddInstance() *LocalizedString
TextAddInstance returns a translated phrase.
func (*Localizer) TextAddTag ¶
func (l *Localizer) TextAddTag() *LocalizedString
TextAddTag returns a translated phrase.
func (*Localizer) TextAdmin ¶
func (l *Localizer) TextAdmin() *LocalizedString
TextAdmin returns a translated phrase.
func (*Localizer) TextBlock ¶
func (l *Localizer) TextBlock() *LocalizedString
TextBlock returns a translated phrase.
func (*Localizer) TextClose ¶
func (l *Localizer) TextClose() *LocalizedString
TextClose returns a translated phrase.
func (*Localizer) TextConfiguration ¶
func (l *Localizer) TextConfiguration() *LocalizedString
TextConfiguration returns a translated phrase.
func (*Localizer) TextDescription ¶
func (l *Localizer) TextDescription() *LocalizedString
TextDescription returns a translated phrase.
func (*Localizer) TextDomain ¶
func (l *Localizer) TextDomain() *LocalizedString
TextDomain returns a translated phrase.
func (*Localizer) TextErrorDatabase ¶
func (l *Localizer) TextErrorDatabase() *LocalizedString
TextErrorDatabase returns a translated phrase.
func (*Localizer) TextForce ¶
func (l *Localizer) TextForce() *LocalizedString
TextForce returns a translated phrase.
func (*Localizer) TextHomeWeb ¶
func (l *Localizer) TextHomeWeb() *LocalizedString
TextHomeWeb returns a translated phrase.
func (*Localizer) TextInstance ¶
func (l *Localizer) TextInstance() *LocalizedString
TextInstance returns a translated phrase.
func (*Localizer) TextInstances ¶
func (l *Localizer) TextInstances() *LocalizedString
TextInstances returns a translated phrase.
func (*Localizer) TextLogin ¶
func (l *Localizer) TextLogin() *LocalizedString
TextLogin returns a translated phrase.
func (*Localizer) TextLogout ¶
func (l *Localizer) TextLogout() *LocalizedString
TextLogout returns a translated phrase.
func (*Localizer) TextLooksGood ¶
func (l *Localizer) TextLooksGood() *LocalizedString
TextLooksGood returns a translated phrase.
func (*Localizer) TextName ¶
func (l *Localizer) TextName() *LocalizedString
TextName returns a translated phrase.
func (*Localizer) TextObfuscatedDomain ¶
func (l *Localizer) TextObfuscatedDomain() *LocalizedString
TextObfuscatedDomain returns a translated phrase.
func (*Localizer) TextRepo ¶
func (l *Localizer) TextRepo() *LocalizedString
TextRepo returns a translated phrase.
func (*Localizer) TextSettings ¶
func (l *Localizer) TextSettings() *LocalizedString
TextSettings returns a translated phrase.
func (*Localizer) TextTags ¶
func (l *Localizer) TextTags() *LocalizedString
TextTags returns a translated phrase.
func (*Localizer) TextUnauthorized ¶
func (l *Localizer) TextUnauthorized() *LocalizedString
TextUnauthorized returns a translated phrase.