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:
@@ -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 });
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user