From beb7a0cfcb6a5a76d680707a4c458eee51d87c07 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 21 Sep 2018 18:53:29 -0700 Subject: Use unique translation IDs instead of English text as key --- locale/locale.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'locale/locale.go') 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() -- cgit v1.2.3