fix: Familiengottesdienst

This commit is contained in:
Benno Tielen 2026-08-28 14:39:38 +02:00
parent 8f0c47419b
commit 79a261db92
4 changed files with 7 additions and 6 deletions

View file

@ -66,7 +66,7 @@ export const Worship: CollectionConfig = {
value: 'MASS',
},
{
label: 'Familien Messe',
label: 'Familiengottesdienst',
value: 'FAMILY',
},
{

View file

@ -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 = ({
</span>
{!cancelled && type === 'FAMILY' && (
<Image src={family} width={18} height={18} alt={'Familien Messe'} />
<Image src={family} width={18} height={18} alt={'Familiengottesdienst'} />
)}
{!cancelled && type === 'WORD' && (

View file

@ -52,9 +52,12 @@ export const Worship = ({ worship }: WorshipPageProps) => {
</EventExcerptRow>
<EventExcerptRow label={"Wo:"}>
{ typeof worship.location == "object" &&
<TextDiv text={`${worship.location.name}\n${worship.location.address}\n${time} Uhr`} />
<TextDiv text={`${worship.location.name}\n${worship.location.address}`} />
}
</EventExcerptRow>
<EventExcerptRow label={"Wann:"}>
{time} Uhr
</EventExcerptRow>
{ worship.celebrant &&
<EventExcerptRow label={"Zelebrant:"}>
{worship.celebrant}

View file

@ -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',