From a89c7b1a70cc2818664797d634d7e862d14520f5 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Fri, 23 Sep 2016 23:37:56 +0100 Subject: [PATCH] Add full path tip to file node, And tidy up Pi node tips --- nodes/core/hardware/36-rpi-gpio.html | 1 - nodes/core/locales/en-US/messages.json | 10 +++++----- nodes/core/storage/50-file.html | 1 + 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nodes/core/hardware/36-rpi-gpio.html b/nodes/core/hardware/36-rpi-gpio.html index a4f164e03..d7f2e3dfc 100644 --- a/nodes/core/hardware/36-rpi-gpio.html +++ b/nodes/core/hardware/36-rpi-gpio.html @@ -76,7 +76,6 @@ var pinsInUse = {}; RED.nodes.registerType('rpi-gpio in',{ category: 'Raspberry Pi', - label: 'Raspberry Pi', color:"#c6dbef", defaults: { name: { value:"" }, diff --git a/nodes/core/locales/en-US/messages.json b/nodes/core/locales/en-US/messages.json index 35473c275..21b9d93f4 100644 --- a/nodes/core/locales/en-US/messages.json +++ b/nodes/core/locales/en-US/messages.json @@ -150,8 +150,7 @@ "placeholder": { "extraparams": "extra input parameters" }, - "spawn": "Use spawn() instead of exec()?", - "tip": "Tip: spawn expects only one command word - and appended args to be comma separated." + "spawn": "Use spawn() instead of exec()?" }, "function": { "label": { @@ -661,8 +660,8 @@ "tip": { "pin": "Pins in Use: ", "in": "Tip: Only Digital Input is supported - input must be 0 or 1.", - "dig": "Tip: For digital output - input must be 0 or 1.", - "pwm": "Tip: For PWM output - input must be between 0 to 100." + "dig": "Tip: For digital output - input must be 0 or 1.", + "pwm": "Tip: For PWM output - input must be between 0 to 100." }, "types": { "digout": "digital output", @@ -737,6 +736,7 @@ "writefail": "failed to write to file: __error__", "appendfail": "failed to append to file: __error__", "createfail": "failed to create file: __error__" - } + }, + "tip": "Tip: You should fully path the Filename." } } diff --git a/nodes/core/storage/50-file.html b/nodes/core/storage/50-file.html index f2590eed2..ba9a78383 100644 --- a/nodes/core/storage/50-file.html +++ b/nodes/core/storage/50-file.html @@ -41,6 +41,7 @@ +