From 4a027b8a79a85a404ba43d2b52353f3a2f0bd6f0 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Wed, 24 Oct 2018 10:03:58 +0100 Subject: [PATCH] Fix-up json error messages --- .../@node-red/editor-client/locales/en-US/editor.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json b/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json index a7a9f2bd3..fc344b10b 100644 --- a/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json @@ -172,9 +172,10 @@ "import": "Import to", "newFlow": "new flow", "errors": { - "invalidFlowNotObject": "Input not a valid flow - item __index__ not a node object", - "invalidFlowMissingId": "Input not a valid flow - item __index__ missing 'id' property", - "invalidFlowMissingType": "Input not a valid flow - item __index__ missing 'type' property" + "notArray": "Input not a JSON Array", + "itemNotObject": "Input not a valid flow - item __index__ not a node object", + "missingId": "Input not a valid flow - item __index__ missing 'id' property", + "missingType": "Input not a valid flow - item __index__ missing 'type' property" } }, "copyMessagePath": "Path copied",