Skip to content

Empty-list translation seeded

Auto-generated from the source archive. Do not edit by hand — rerun catalyst-changelog-sync instead.

  • generateFrontTranslations seeds a No<PluralPascal>Found key under frontend/public/i18n/<bc>/<lang>.json per module, with a language-aware default: 'No <pluralLower> found.' for en, 'No se encontraron <pluralLower>.' for es. Unknown langCode falls back to the English form.
  • The seed is idempotent — only writes when the key is currently undefined. Existing values (manually edited or previously seeded) are preserved verbatim.
  • A new NO_RESULTS_FOUND_DEFAULTS dispatch map at the bottom of code-writer.ts is the single source of truth for these defaults; adding a new language is one entry.

Every list-component already binds [emptyMessage]="t('<bc>.<mod>.No<Plural>Found')", but the translation handler never seeded that key — five of seven IAM modules rendered the raw iam.role.NoRolesFound text in production when their list was empty. Regenerating any module of an existing BC backfills the key in both languages with no risk to other entries.


View original proposal