Translation files, step 2: navigation, footer and contact details in site.json

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 20:51:07 +01:00
co-authored by Claude Sonnet 5.5
parent 9405e2d4f9
commit 034ba902d2
14 changed files with 101 additions and 38 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
import { t } from '../i18n/index.ts';
// Copyrightregel in de onderste footerbalk (BR-FOOT-02)
export function copyrightLine(year: number): string {
return `© ${year} Andrea Slop Fotografie`;
return t('site.footer.copyright', { year });
}
+4 -2
View File
@@ -1,9 +1,11 @@
import { t } from '../i18n/index.ts';
// Subject of a mail from the site: the package when the visitor came via a
// "Boek ..." link, otherwise a general one (BR-MAIL-01)
export function mailSubject(packageName?: string): string {
return packageName
? `Aanvraag fotoshoot: ${packageName}`
: 'Vraag via andreaslop.nl';
? t('site.info.mail.subjectPackage', { packageName })
: t('site.info.mail.subjectGeneral');
}
export function mailtoLink(address: string, subject: string): string {