diff --git a/src/collections/Worship.ts b/src/collections/Worship.ts index 5ff8720..c158281 100644 --- a/src/collections/Worship.ts +++ b/src/collections/Worship.ts @@ -66,7 +66,7 @@ export const Worship: CollectionConfig = { value: 'MASS', }, { - label: 'Familien Messe', + label: 'Familiengottesdienst', value: 'FAMILY', }, { diff --git a/src/components/MassTable/MassTableRow.tsx b/src/components/MassTable/MassTableRow.tsx index d512e72..3cfb711 100644 --- a/src/components/MassTable/MassTableRow.tsx +++ b/src/components/MassTable/MassTableRow.tsx @@ -25,8 +25,6 @@ export const MassTableRow = ({ }: MassTableRowProps) => { const [symbol, setSymbol] = useState('') const time = useTime(date) - //const compactDate = useCompactDate(date) - //const day = useShortDayName(date) const day = new Date(date).toLocaleDateString("de-DE", {weekday: 'long'}) return ( @@ -47,7 +45,7 @@ export const MassTableRow = ({ {!cancelled && type === 'FAMILY' && ( - {'Familien + {'Familiengottesdienst'} )} {!cancelled && type === 'WORD' && ( diff --git a/src/pageComponents/Worship/Worship.tsx b/src/pageComponents/Worship/Worship.tsx index f828ccc..8f82197 100644 --- a/src/pageComponents/Worship/Worship.tsx +++ b/src/pageComponents/Worship/Worship.tsx @@ -52,9 +52,12 @@ export const Worship = ({ worship }: WorshipPageProps) => { { typeof worship.location == "object" && - + } + + {time} Uhr + { worship.celebrant && {worship.celebrant} diff --git a/src/utils/dto/worship.ts b/src/utils/dto/worship.ts index e4868e3..5c81dcb 100644 --- a/src/utils/dto/worship.ts +++ b/src/utils/dto/worship.ts @@ -7,7 +7,7 @@ import { EventRowProps } from '@/components/EventRow/EventRow' export const transformCategory = (category: "MASS" | "FAMILY" | "WORD" | "LANGUAGE" | "OTHER"): string => { const type = { 'MASS': 'Eucharistiefeier', - 'FAMILY': 'Familienmesse', + 'FAMILY': 'Familiengottesdienst', 'WORD': 'Wort-Gottes-Feier', 'LANGUAGE': 'Eucharistiefeier in Fremdsprache', 'OTHER': 'Gottesdienst',