Translation files: the form messages of the cms-client package come from nl.json

Block cmsClient.contact holds the field errors, fallback, waiting time (one
and other), too-large, captcha-required, failure and sending label.
src/i18n/cmsClientMessages.ts builds the ContactMessages object for
useContactForm; a test checks that it says the same as the package's own
Dutch defaults, which stay as the fallback.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 00:30:01 +01:00
co-authored by Claude Sonnet 5.5
parent 85370351d0
commit e7bae5edd7
6 changed files with 96 additions and 2 deletions
+1
View File
@@ -96,6 +96,7 @@ describe('nl.json', () => {
'instagram',
'testimonials',
'seo',
'cmsClient',
]);
});
});