diff options
author | Mark Kopenga <mkopenga@gmail.com> | 2018-08-16 13:35:04 +0200 |
---|---|---|
committer | Mark Kopenga <mkopenga@gmail.com> | 2018-08-16 13:35:04 +0200 |
commit | fcf616bd62a71e3ae3fac9ef93d02e20e8355c0b (patch) | |
tree | 1addda7c41f1aee562c17c3e10de5329c21299b2 /pkg/i18n | |
parent | faf218f4650edbd0a711a3304cc5549180e9dfdc (diff) |
Fixed it
Diffstat (limited to 'pkg/i18n')
-rw-r--r-- | pkg/i18n/i18n.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/i18n/i18n.go b/pkg/i18n/i18n.go index 2e445391d..9102ff0b3 100644 --- a/pkg/i18n/i18n.go +++ b/pkg/i18n/i18n.go @@ -7,6 +7,9 @@ import ( "golang.org/x/text/language" ) +// Teml is short for template used to make the required map[string]interface{} shorter when using gui.Tr.SLocalize and gui.Tr.TemplateLocalize +type Teml map[string]interface{} + // Localizer will translate a message into the user's language type Localizer struct { i18nLocalizer *i18n.Localizer |