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 = {};
|
||||
RED.nodes.registerType('rpi-gpio in',{
|
||||
category: 'Raspberry Pi',
|
||||
label: 'Raspberry Pi',
|
||||
color:"#c6dbef",
|
||||
defaults: {
|
||||
name: { value:"" },
|
||||
|
@ -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."
|
||||
}
|
||||
}
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user