Translation files, step 5: shoot types and shoot pages in shoots.json

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 20:51:09 +01:00
co-authored by Claude Sonnet 5.5
parent 96319340eb
commit 776cd9861d
11 changed files with 817 additions and 386 deletions
@@ -4,6 +4,7 @@ import { Box, Flex, Heading, Link, Stack, Text } from '@chakra-ui/react';
import { Link as RouterLink } from '@tanstack/react-router';
import MediaText from '@/components/MediaText/MediaText';
import type { PricingPackage, ShootType } from '@/content/types';
import { t } from '@/i18n';
import { readMoreLabel } from '@/lib/readMoreLabel';
import { shootContactLink, shootPortfolioLink } from '@/lib/shootLinks';
import { shootPagePath } from '@/lib/shootPages';
@@ -80,10 +81,12 @@ export default function ShootBlock({
visually hidden span. */}
<RouterLink
{...shootContactLink(shoot, packages)}
aria-label={`Stuur een berichtje over een ${shoot.shootLabel.toLowerCase()}`}
aria-label={t('shoots.labels.contactAbout', {
shootLabel: shoot.shootLabel.toLowerCase(),
})}
data-testid={`shoot-${shoot.id}-contact`}
>
Stuur een berichtje
{t('shoots.labels.contact')}
</RouterLink>
</Link>
{portfolioLink && (
@@ -92,7 +95,9 @@ export default function ShootBlock({
{...shootPortfolioLink(shoot)}
data-testid={`shoot-${shoot.id}-portfolio`}
>
Bekijk meer {shoot.photosLabel}
{t('shoots.labels.morePhotos', {
photosLabel: shoot.photosLabel,
})}
</RouterLink>
</Link>
)}
@@ -16,6 +16,7 @@ import RichParagraph from '@/components/RichParagraph/RichParagraph';
import SectionHeading from '@/components/SectionHeading/SectionHeading';
import { processIcons } from '@/components/shoots/ProcessIcons/ProcessIcons';
import StoryBlocks from '@/components/shoots/StoryBlocks/StoryBlocks';
import { t } from '@/i18n';
import { shootPageBands, type SectionBand } from '@/lib/shootPageBands';
import type { ShootPageView } from '@/lib/shootPageView';
@@ -117,7 +118,9 @@ export default function ShootPage({ view }: ShootPageProps) {
{view.photos.portfolioLink && (
<Link variant="underline" asChild {...linkStyle}>
<RouterLink {...view.photos.portfolioLink}>
Bekijk meer {shoot.photosLabel}
{t('shoots.labels.morePhotos', {
photosLabel: shoot.photosLabel,
})}
</RouterLink>
</Link>
)}