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

fixed i18n of node pi-gpiod (wrong cross-reference to node PiGpio, moved "dual use" to i18n, seconds unit) (#764)

This commit is contained in:
heikokue 2021-03-11 21:30:57 +01:00 committed by GitHub
parent fe42b69712
commit 8bce52a2f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View File

@ -11,7 +11,8 @@
"debounce": "Debounce", "debounce": "Debounce",
"limits": "Limits", "limits": "Limits",
"min": "min", "min": "min",
"max": "max" "max": "max",
"freq": "Frequency"
}, },
"place": { "place": {
"host": "local or remote ip", "host": "local or remote ip",
@ -33,7 +34,8 @@
"in": "Only Digital Input is supported - input must be 0 or 1.", "in": "Only Digital Input is supported - input must be 0 or 1.",
"dig": "Digital output - input must be 0 or 1.", "dig": "Digital output - input must be 0 or 1.",
"pwm": "PWM output - input must be between 0 to 100.", "pwm": "PWM output - input must be between 0 to 100.",
"ser": "Servo output - input must be between 0 to 100. 50 is centre.<br/>Min must be 500uS or more, Max must be 2500uS or less." "ser": "Servo output - input must be between 0 to 100. 50 is centre.<br/>min. must be 500 µs or more, max. must be 2500 µs or less.",
"dual": "Pins marked in blue are dual use. Make sure they are not enabled for their other use before using as GPIO."
}, },
"types": { "types": {
"digout": "digital output", "digout": "digital output",

View File

@ -164,8 +164,7 @@
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name"> <input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
</div> </div>
<div class="form-tips"><span data-i18n="[html]pi-gpiod.tip.in"></span></div> <div class="form-tips"><span data-i18n="[html]pi-gpiod.tip.in"></span></div>
<div class="form-tips" id="pin-tip">Pins marked in blue are dual use. Make sure they are not enabled for <div class="form-tips" id="pin-tip"><span data-i18n="[html]pi-gpiod.tip.dual"></span></div>
their other use before using as GPIO.</div>
</script> </script>
<script type="text/html" data-help-name="pi-gpiod in"> <script type="text/html" data-help-name="pi-gpiod in">
@ -383,9 +382,9 @@
</div> </div>
<div class="form-row" id="node-set-minimax"> <div class="form-row" id="node-set-minimax">
<label>&nbsp;&nbsp;&nbsp;&nbsp;<span data-i18n="pi-gpiod.label.limits"></label> <label>&nbsp;&nbsp;&nbsp;&nbsp;<span data-i18n="pi-gpiod.label.limits"></label>
<span data-i18n="pi-gpiod.label.min"></span> <input type="text" id="node-input-sermin" style="width:70px;"> uS <span data-i18n="pi-gpiod.label.min"></span> <input type="text" id="node-input-sermin" style="width:70px;"> us
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span data-i18n="pi-gpiod.label.max"></span> <input type="text" id="node-input-sermax" style="width:70px;"> uS <span data-i18n="pi-gpiod.label.max"></span> <input type="text" id="node-input-sermax" style="width:70px;"> us
</div> </div>
<div class="form-row" id="node-set-tick"> <div class="form-row" id="node-set-tick">
<label>&nbsp;</label> <label>&nbsp;</label>
@ -400,8 +399,8 @@
</select> </select>
</div> </div>
<div class="form-row" id="node-set-freq"> <div class="form-row" id="node-set-freq">
<label for="node-input-freq"> <span data-i18n="rpi-gpio.label.freq"></span></label> <label for="node-input-freq"> <span data-i18n="pi-gpiod.label.freq"></span></label>
Frequency: <select id="node-input-freq" style="width:80px;"> <select id="node-input-freq" style="width:80px;">
<option value="8000">8000</option> <option value="8000">8000</option>
<option value="4000">4000</option> <option value="4000">4000</option>
<option value="2000">2000</option> <option value="2000">2000</option>
@ -433,8 +432,7 @@
<div class="form-tips" id="dig-tip"><span data-i18n="[html]pi-gpiod.tip.dig"></span></div> <div class="form-tips" id="dig-tip"><span data-i18n="[html]pi-gpiod.tip.dig"></span></div>
<div class="form-tips" id="pwm-tip"><span data-i18n="[html]pi-gpiod.tip.pwm"></span></div> <div class="form-tips" id="pwm-tip"><span data-i18n="[html]pi-gpiod.tip.pwm"></span></div>
<div class="form-tips" id="ser-tip"><span data-i18n="[html]pi-gpiod.tip.ser"></span></div> <div class="form-tips" id="ser-tip"><span data-i18n="[html]pi-gpiod.tip.ser"></span></div>
<div class="form-tips" id="pin-tip">Pins marked in blue are dual use. Make sure they are not enabled for <div class="form-tips" id="pin-tip"><span data-i18n="[html]pi-gpiod.tip.dual"></span></div>
their other use before using as GPIO.</div>
</script> </script>
<script type="text/html" data-help-name="pi-gpiod out"> <script type="text/html" data-help-name="pi-gpiod out">