fix(oidc): Allow auto_link_existing_accounts with custom email claims (Azure Entra ID) (#1142)

chore(i18n): extend parity gate to all locales with strict/info tiers
This commit is contained in:
Sn0rrii
2026-04-28 17:37:48 +02:00
committed by GitHub
parent 724bc92c22
commit 78408856cd
19 changed files with 628 additions and 87 deletions
+1 -14
View File
@@ -207,20 +207,7 @@ if (isMainModule) {
const infoReports = reports.filter((r) => !strictSet.has(codeOf(r.label)));
printReports(strictReports, '=== STRICT locales (failures below fail CI) ===');
// Informational locales: show per-category drift counts only, not the
// full key lists — the leaf-count table below already gives the overall
// picture. Flip VERBOSE_INFO=1 to dump the full missing-key/placeholder
// reports when actually working on translations.
if (infoReports.length) {
if (process.env.VERBOSE_INFO === '1') {
printReports(infoReports, '=== INFORMATIONAL locales (drift shown, does not fail CI) ===');
} else {
console.error('\n=== INFORMATIONAL locales (drift summary; VERBOSE_INFO=1 for detail) ===');
for (const { label, items } of infoReports) {
console.error(` ${label}: ${items.length}`);
}
}
}
printReports(infoReports, '=== INFORMATIONAL locales (drift shown, does not fail CI) ===');
console.log('\nLocale leaf counts:');
for (const [code, map] of Object.entries(locales)) {