diff --git a/frontend/src/widgets/SchemaLinkingGateWidget.test.tsx b/frontend/src/widgets/SchemaLinkingGateWidget.test.tsx index 5c40efcd..372bd734 100644 --- a/frontend/src/widgets/SchemaLinkingGateWidget.test.tsx +++ b/frontend/src/widgets/SchemaLinkingGateWidget.test.tsx @@ -50,8 +50,8 @@ test("Confirm emits enacted tables with suggested columns (catalog order)", asyn test("selecting a column in the modal adds it to the response", async () => { const onRespond = vi.fn(); render(); - // dim_patient starts with 1 suggested of 2 -> its button reads "Colonne 1/2". - await userEvent.click(screen.getByRole("button", { name: /colonne 1\/2/i })); + // dim_patient starts with 1 suggested of 2 -> its button reads "Columns 1/2". + await userEvent.click(screen.getByRole("button", { name: /columns 1\/2/i })); await userEvent.click(screen.getByRole("checkbox", { name: "nome" })); await userEvent.click(screen.getByRole("button", { name: /close/i })); // dialog X button await userEvent.click(screen.getByRole("button", { name: /confirm/i })); diff --git a/frontend/src/widgets/SchemaLinkingGateWidget.tsx b/frontend/src/widgets/SchemaLinkingGateWidget.tsx index 4481d533..2c680bd7 100644 --- a/frontend/src/widgets/SchemaLinkingGateWidget.tsx +++ b/frontend/src/widgets/SchemaLinkingGateWidget.tsx @@ -81,7 +81,7 @@ export function SchemaLinkingGateWidget({ descriptor, onRespond }: WidgetProps)
{t.name} - {t.kind === "promote" ? "Promuovi" : "Escludi"} + {t.kind === "promote" ? "Promote" : "Exclude"}
{t.description &&

{t.description}

} {t.rationale &&

{t.rationale}

} @@ -90,7 +90,7 @@ export function SchemaLinkingGateWidget({ descriptor, onRespond }: WidgetProps) className="shrink-0 self-center rounded-md border border-border/60 px-2.5 py-1 text-xs text-muted-foreground shadow-xs transition-colors hover:bg-muted hover:text-foreground" onClick={() => setOpenId(t.id)} > - {t.kind === "promote" ? `Colonne ${count}/${t.columns.length}` : `Colonne ${t.columns.length}`} + {t.kind === "promote" ? `Columns ${count}/${t.columns.length}` : `Columns ${t.columns.length}`}