1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Add full path tip to file node, And tidy up Pi node tips

This commit is contained in:
Dave Conway-Jones 2016-09-23 23:37:56 +01:00
parent ded1376957
commit a89c7b1a70
3 changed files with 6 additions and 6 deletions

View File

@ -76,7 +76,6 @@
var pinsInUse = {};
RED.nodes.registerType('rpi-gpio in',{
category: 'Raspberry Pi',
label: 'Raspberry Pi',
color:"#c6dbef",
defaults: {
name: { value:"" },

View File

@ -150,8 +150,7 @@
"placeholder": {
"extraparams": "extra input parameters"
},
"spawn": "Use spawn() instead of exec()?",
"tip": "Tip: <i>spawn</i> 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": "<b>Pins in Use</b>: ",
"in": "Tip: Only Digital Input is supported - input must be 0 or 1.",
"dig": "<b>Tip</b>: For digital output - input must be 0 or 1.",
"pwm": "<b>Tip</b>: 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."
}
}

View File

@ -41,6 +41,7 @@
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
</div>
<div class="form-tips"><span data-i18n="file.tip"></span></div>
</script>
<script type="text/x-red" data-help-name="file">