feat(cama): "cáncer de mama" instead of CaMa, and CaCu's brief wording
How: the parametrized domain names (domainLabels and domainTitles of the page, domainNames of Datos y definiciones, and the header menu) say "cáncer de mama" / "Cáncer de mama". Every non-TEA domain now uses CaCu's wording: "Indicadores de oportunidad" and "Indicadores clínicos" as section titles, and cards that show only their own line (the kit notes stay in the figure footers). The C2 card line comes from a per-domain C2_INFO; CaMa's says what it counts in one sentence. Implications: any text built from domainLabels changes with it (titles, aria labels, "Seguimiento de cáncer de mama"); the route and API keep the `cama` id. The header names CaMa in full while TEA and CaCu keep their short labels. The Conectar workspace still lists "CaMa"; it has its own label table.
This commit is contained in:
@@ -269,9 +269,9 @@ export class IndicadoresPage {
|
||||
private readonly destroyRef = inject(DestroyRef);
|
||||
private readonly route = inject(ActivatedRoute, { optional: true });
|
||||
dominio: Dominio = 'tea';
|
||||
readonly domainLabels: Record<Dominio, string> = { tea: 'TEA', cacu: 'cáncer cervicouterino', cama: 'CaMa' };
|
||||
readonly domainLabels: Record<Dominio, string> = { tea: 'TEA', cacu: 'cáncer cervicouterino', cama: 'cáncer de mama' };
|
||||
// At the start of the header line.
|
||||
readonly domainTitles: Record<Dominio, string> = { ...this.domainLabels, cacu: 'Cáncer cervicouterino' };
|
||||
readonly domainTitles: Record<Dominio, string> = { ...this.domainLabels, cacu: 'Cáncer cervicouterino', cama: 'Cáncer de mama' };
|
||||
// Short form for the domain-switcher buttons (our shell's own nav, see the
|
||||
// template comment above it) -- `domainLabels`/`domainTitles` are prose-length.
|
||||
readonly kpisByDomain = { ...KPI_BY_DOMAIN, tea: [...KPI_BY_DOMAIN.tea, ...KPI_RESUMEN_TEA] };
|
||||
|
||||
Reference in New Issue
Block a user