Translation files: one file per language (src/i18n/nl.json)
The ten area files are merged into nl.json with the blocks common, site, home, about, contact, shoots, portfolio, instagram, testimonials and seo, same key paths as before. A second language becomes en.json. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -83,6 +83,23 @@ describe('fill', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('nl.json', () => {
|
||||
it('has one block per area, in the order of the site', () => {
|
||||
expect(Object.keys(nl)).toEqual([
|
||||
'common',
|
||||
'site',
|
||||
'home',
|
||||
'about',
|
||||
'contact',
|
||||
'shoots',
|
||||
'portfolio',
|
||||
'instagram',
|
||||
'testimonials',
|
||||
'seo',
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
||||
describe('the texts of the site', () => {
|
||||
it('are all filled, without TODO and with valid {parameters}', () => {
|
||||
expect(checkFilled(nl)).toEqual([]);
|
||||
|
||||
Reference in New Issue
Block a user