diff --git a/frontend/public/locales/en/translation.json b/frontend/public/locales/en/translation.json index e0dc43977..fb7c03b4a 100644 --- a/frontend/public/locales/en/translation.json +++ b/frontend/public/locales/en/translation.json @@ -259,6 +259,7 @@ "other": "Other", "events": "Events", "previousEvents": "Previous Events", + "nMoreEventsPrev": "{{ n }} more events
previously posted", "allEvents": "All Events", "eventName": "Event name", "sorryNoEvents": "Sorry, there are no events that match these filters.", diff --git a/frontend/src/pages/Events.tsx b/frontend/src/pages/Events.tsx index 92040f76d..70224c2cb 100644 --- a/frontend/src/pages/Events.tsx +++ b/frontend/src/pages/Events.tsx @@ -1,6 +1,6 @@ import { Helmet } from "react-helmet"; import { useState, useContext, useEffect } from "react"; -import { useTranslation } from "react-i18next"; +import { Trans, useTranslation } from "react-i18next"; import { Link, useHistory } from "react-router-dom"; import { Event } from "../api/types"; @@ -277,11 +277,15 @@ export default function Events() { {nMorePrevEvents ? (

- - {nMorePrevEvents} - {" "} - more events -
previously entered + , + }} + />

) : null}