aboutsummaryrefslogtreecommitdiffhomepage
path: root/locale/locale.go
diff options
context:
space:
mode:
Diffstat (limited to 'locale/locale.go')
-rwxr-xr-xlocale/locale.go8
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()