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:
parent
ded1376957
commit
a89c7b1a70
@ -76,7 +76,6 @@
|
|||||||
var pinsInUse = {};
|
var pinsInUse = {};
|
||||||
RED.nodes.registerType('rpi-gpio in',{
|
RED.nodes.registerType('rpi-gpio in',{
|
||||||
category: 'Raspberry Pi',
|
category: 'Raspberry Pi',
|
||||||
label: 'Raspberry Pi',
|
|
||||||
color:"#c6dbef",
|
color:"#c6dbef",
|
||||||
defaults: {
|
defaults: {
|
||||||
name: { value:"" },
|
name: { value:"" },
|
||||||
|
@ -150,8 +150,7 @@
|
|||||||
"placeholder": {
|
"placeholder": {
|
||||||
"extraparams": "extra input parameters"
|
"extraparams": "extra input parameters"
|
||||||
},
|
},
|
||||||
"spawn": "Use spawn() instead of exec()?",
|
"spawn": "Use spawn() instead of exec()?"
|
||||||
"tip": "Tip: <i>spawn</i> expects only one command word - and appended args to be comma separated."
|
|
||||||
},
|
},
|
||||||
"function": {
|
"function": {
|
||||||
"label": {
|
"label": {
|
||||||
@ -661,8 +660,8 @@
|
|||||||
"tip": {
|
"tip": {
|
||||||
"pin": "<b>Pins in Use</b>: ",
|
"pin": "<b>Pins in Use</b>: ",
|
||||||
"in": "Tip: Only Digital Input is supported - input must be 0 or 1.",
|
"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.",
|
"dig": "Tip: For digital output - input must be 0 or 1.",
|
||||||
"pwm": "<b>Tip</b>: For PWM output - input must be between 0 to 100."
|
"pwm": "Tip: For PWM output - input must be between 0 to 100."
|
||||||
},
|
},
|
||||||
"types": {
|
"types": {
|
||||||
"digout": "digital output",
|
"digout": "digital output",
|
||||||
@ -737,6 +736,7 @@
|
|||||||
"writefail": "failed to write to file: __error__",
|
"writefail": "failed to write to file: __error__",
|
||||||
"appendfail": "failed to append to file: __error__",
|
"appendfail": "failed to append to file: __error__",
|
||||||
"createfail": "failed to create file: __error__"
|
"createfail": "failed to create file: __error__"
|
||||||
}
|
},
|
||||||
|
"tip": "Tip: You should fully path the Filename."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -41,6 +41,7 @@
|
|||||||
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label>
|
<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">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-tips"><span data-i18n="file.tip"></span></div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-red" data-help-name="file">
|
<script type="text/x-red" data-help-name="file">
|
||||||
|
Loading…
Reference in New Issue
Block a user