diff options
author | Frédéric Guillot <fred@miniflux.net> | 2018-09-21 18:53:29 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-09-21 22:23:23 -0700 |
commit | beb7a0cfcb6a5a76d680707a4c458eee51d87c07 (patch) | |
tree | f6e23ffbffcdd58f8438e2d2711acb4fa86bb83b /locale/locale.go | |
parent | f244df62936eea307a5fc3f27fb9968527d402ac (diff) |
Use unique translation IDs instead of English text as key
Diffstat (limited to 'locale/locale.go')
-rwxr-xr-x | locale/locale.go | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/locale/locale.go b/locale/locale.go index 64d3b86..8867ccb 100755 --- a/locale/locale.go +++ b/locale/locale.go @@ -6,13 +6,7 @@ package locale // import "miniflux.app/locale" import "miniflux.app/logger" -// Translation is the translation mapping table. -type Translation map[string]interface{} - -// Locales represents locales supported by the system. -type Locales map[string]Translation - -// Load prepare the locale system by loading all translations. +// Load loads all translations. func Load() *Translator { translator := NewTranslator() |