Translation files: read the language files in node too and enforce the lint rules

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 ab33e1fc83
commit 458913fd9d
2 changed files with 14 additions and 15 deletions
+10 -10
View File
@@ -1,13 +1,13 @@
import about from './nl/about.json';
import common from './nl/common.json';
import contact from './nl/contact.json';
import home from './nl/home.json';
import instagram from './nl/instagram.json';
import portfolio from './nl/portfolio.json';
import seo from './nl/seo.json';
import shoots from './nl/shoots.json';
import site from './nl/site.json';
import testimonials from './nl/testimonials.json';
import about from './nl/about.json' with { type: 'json' };
import common from './nl/common.json' with { type: 'json' };
import contact from './nl/contact.json' with { type: 'json' };
import home from './nl/home.json' with { type: 'json' };
import instagram from './nl/instagram.json' with { type: 'json' };
import portfolio from './nl/portfolio.json' with { type: 'json' };
import seo from './nl/seo.json' with { type: 'json' };
import shoots from './nl/shoots.json' with { type: 'json' };
import site from './nl/site.json' with { type: 'json' };
import testimonials from './nl/testimonials.json' with { type: 'json' };
// The texts of the site, per language, as JSON per area (src/i18n/<locale>/*.json).
// Only Dutch exists now. The types come from the Dutch files: a second language