diff options
Diffstat (limited to 'internal/template/engine.go')
-rw-r--r-- | internal/template/engine.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/template/engine.go b/internal/template/engine.go index 4104e019..1c834f35 100644 --- a/internal/template/engine.go +++ b/internal/template/engine.go @@ -11,7 +11,6 @@ import ( "strings" "time" - "miniflux.app/v2/internal/errors" "miniflux.app/v2/internal/locale" "github.com/gorilla/mux" @@ -119,10 +118,6 @@ func (e *Engine) Render(name string, data map[string]interface{}) []byte { switch k := key.(type) { case string: return printer.Printf(k, args...) - case errors.LocalizedError: - return k.Localize(printer) - case *errors.LocalizedError: - return k.Localize(printer) case error: return k.Error() default: |