From e7094f38d68bd82096ebf82e7f80c203e060100f Mon Sep 17 00:00:00 2001 From: Jon Date: Wed, 16 Aug 2023 15:06:46 +0100 Subject: [PATCH] fix: Update UI wording (no-changelog) (#6938) --- packages/editor-ui/src/plugins/i18n/locales/en.json | 2 +- packages/editor-ui/src/utils/apiUtils.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/editor-ui/src/plugins/i18n/locales/en.json b/packages/editor-ui/src/plugins/i18n/locales/en.json index e1eb6b7cd595d..3cc1d63ccd200 100644 --- a/packages/editor-ui/src/plugins/i18n/locales/en.json +++ b/packages/editor-ui/src/plugins/i18n/locales/en.json @@ -726,7 +726,7 @@ "ndv.output.staleDataWarning.pinData": "Node parameter changes will not affect pinned output data.", "ndv.output.tooMuchData.message": "The node contains {size} MB of data. Displaying it may cause problems.
If you do decide to display it, avoid the JSON view.", "ndv.output.tooMuchData.showDataAnyway": "Show data anyway", - "ndv.output.tooMuchData.title": "Output data is huge!", + "ndv.output.tooMuchData.title": "Output data is large", "ndv.output.waitingToRun": "Waiting to execute...", "ndv.title.cancel": "Cancel", "ndv.title.rename": "Rename", diff --git a/packages/editor-ui/src/utils/apiUtils.ts b/packages/editor-ui/src/utils/apiUtils.ts index e5c77a953ebc9..2ed65f4569ad6 100644 --- a/packages/editor-ui/src/utils/apiUtils.ts +++ b/packages/editor-ui/src/utils/apiUtils.ts @@ -80,7 +80,7 @@ async function request(config: { return response.data; } catch (error) { if (error.message === 'Network Error') { - throw new ResponseError('API-Server can not be reached. It is probably down.', { + throw new ResponseError("Can't connect to n8n.", { errorCode: NO_NETWORK_ERROR_CODE, }); }