translate gopher.go

This commit is contained in:
nytpu
2021-05-11 15:19:18 -06:00
parent 45d04c35ac
commit 4bddcf1f67
+1 -1
View File
@@ -36,7 +36,7 @@ func gopherFeed(data *core.FullData, remote string, title string) error {
if len(resp.Dir.Items) != 0 {
// TODO
return fmt.Errorf("Gemini-style feeds served over gopher are currently unsupported.")
return fmt.Errorf(core.Localizer.Get("errors.gopher_no_extract"))
}
defer resp.Body.Close()