diff --git a/packages/frontend/@n8n/i18n/src/locales/en.json b/packages/frontend/@n8n/i18n/src/locales/en.json index 1b70b4af0bc..ef59ece1a68 100644 --- a/packages/frontend/@n8n/i18n/src/locales/en.json +++ b/packages/frontend/@n8n/i18n/src/locales/en.json @@ -2311,9 +2311,9 @@ "aiGateway.switchModal.title": "Switch to Gateway credits", "aiGateway.switchModal.description": "These nodes can use Gateway credits instead of their own credential. Choose which ones to switch.", "aiGateway.switchModal.row.authHint": "Switching also changes this node's authentication setting.", - "aiGateway.switchModal.row.caveat.unsupportedModel": "Gateway credits supports this node but not the selected model. Switch only if you also change the model.", - "aiGateway.switchModal.row.caveat.unsupportedAction": "Gateway credits supports this node but not the selected operation. Switch only if you also change the operation.", - "aiGateway.switchModal.row.caveat.hiddenPropertySet": "Gateway credits supports this node but not one of its settings. Switch only if you also change that setting.", + "aiGateway.switchModal.row.caveat.unsupportedModel": "This node works with Gateway credits, but the selected model does not. Switch only if you also change the model.", + "aiGateway.switchModal.row.caveat.unsupportedAction": "This node works with Gateway credits, but the selected operation does not. Switch only if you also change the operation.", + "aiGateway.switchModal.row.caveat.hiddenPropertySet": "This node works with Gateway credits, but one of its settings does not. Switch only if you also change that setting.", "aiGateway.switchModal.confirm": "Switch {count} node | Switch {count} nodes", "aiGateway.switchModal.result.success.title": "Switched to Gateway credits", "aiGateway.switchModal.result.partial.title": "Some nodes couldn't switch", diff --git a/packages/frontend/editor-ui/src/features/ai/gateway/components/GatewayOpportunitySwitchModal.test.ts b/packages/frontend/editor-ui/src/features/ai/gateway/components/GatewayOpportunitySwitchModal.test.ts index 22f117dc093..3b4e0082737 100644 --- a/packages/frontend/editor-ui/src/features/ai/gateway/components/GatewayOpportunitySwitchModal.test.ts +++ b/packages/frontend/editor-ui/src/features/ai/gateway/components/GatewayOpportunitySwitchModal.test.ts @@ -235,9 +235,18 @@ describe('GatewayOpportunitySwitchModal', () => { }); it.each([ - ['unsupportedModel', 'Gateway credits supports this node but not the selected model.'], - ['unsupportedAction', 'Gateway credits supports this node but not the selected operation.'], - ['hiddenPropertySet', 'Gateway credits supports this node but not one of its settings.'], + [ + 'unsupportedModel', + 'This node works with Gateway credits, but the selected model does not.', + ], + [ + 'unsupportedAction', + 'This node works with Gateway credits, but the selected operation does not.', + ], + [ + 'hiddenPropertySet', + 'This node works with Gateway credits, but one of its settings does not.', + ], ] as const)('renders its own message for the %s caveat', (caveat, expectedMessage) => { const { getByTestId } = renderModal([makeOpportunity({ caveat })]);