diff --git a/internal/api/entry.go b/internal/api/entry.go index b301bb60..d08eb721 100644 --- a/internal/api/entry.go +++ b/internal/api/entry.go @@ -13,7 +13,6 @@ import ( "miniflux.app/v2/internal/http/request" "miniflux.app/v2/internal/http/response/json" "miniflux.app/v2/internal/integration" - "miniflux.app/v2/internal/locale" "miniflux.app/v2/internal/mediaproxy" "miniflux.app/v2/internal/model" "miniflux.app/v2/internal/reader/processor" @@ -337,9 +336,7 @@ func (h *handler) fetchContent(w http.ResponseWriter, r *http.Request) { return } - readingTime := locale.NewPrinter(user.Language).Plural("entry.estimated_reading_time", entry.ReadingTime, entry.ReadingTime) - - json.OK(w, r, map[string]string{"content": mediaproxy.RewriteDocumentWithRelativeProxyURL(h.router, entry.Content), "reading_time": readingTime}) + json.OK(w, r, map[string]string{"content": mediaproxy.RewriteDocumentWithRelativeProxyURL(h.router, entry.Content)}) } func (h *handler) flushHistory(w http.ResponseWriter, r *http.Request) {