fix(i18n): harden locale validation and fix missing translation tags

This commit is contained in:
2026-02-11 12:07:08 +01:00
parent fa6f27114b
commit 9ed08004af
5 changed files with 28 additions and 13 deletions

View File

@@ -5,6 +5,10 @@ const dsn = process.env.SENTRY_DSN;
Sentry.init({
dsn,
enabled: Boolean(dsn),
tracesSampleRate: 0,
});
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 1,
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
});