diff --git a/public/locales/en/common.json b/public/locales/en/common.json index dd14a58e5..9c2030442 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -763,6 +763,7 @@ "calendar": { "inCinemas": "In cinemas", "physicalRelease": "Physical release", - "digitalRelease": "Digital release" + "digitalRelease": "Digital release", + "noEventsToday": "No events for today!" } } diff --git a/src/widgets/calendar/agenda.jsx b/src/widgets/calendar/agenda.jsx index dc7761b9a..a854d277d 100644 --- a/src/widgets/calendar/agenda.jsx +++ b/src/widgets/calendar/agenda.jsx @@ -40,7 +40,7 @@ export function Event({ event, colorVariants, showDate = false }) { export default function Agenda({ service, colorVariants, showDate }) { const { widget } = service; const { events } = useContext(EventContext); - const { i18n } = useTranslation(); + const { t } = useTranslation(); if (!showDate) { return
; @@ -64,12 +64,11 @@ export default function Agenda({ service, colorVariants, showDate }) {