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

fixes/updates to be i18n version

This commit is contained in:
Dave Conway-Jones 2015-07-14 22:01:08 +01:00
parent 1ff66443fb
commit 463ad75357
5 changed files with 11 additions and 8 deletions

View File

@ -4,6 +4,10 @@ node-red-node-rbe
A <a href="http://nodered.org" target="_new">Node-RED</a> node that provides A <a href="http://nodered.org" target="_new">Node-RED</a> node that provides
provides report-by-exception (RBE) and deadband capability. provides report-by-exception (RBE) and deadband capability.
The node blocks unless the incoming value changes - RBE mode, or
changes by more than a certain amount (absolute value or percentage) - deadband
mode.
Install Install
------- -------

BIN
function/rbe/icons/rbe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

View File

@ -2,15 +2,14 @@
"rbe": { "rbe": {
"label": { "label": {
"func": "Mode", "func": "Mode",
"bandgap": "Band gap",
"name": "Name" "name": "Name"
}, },
"eg":{ "placeholder":{
"bandgap": "e.g. 10 or 5%" "bandgap": "e.g. 10 or 5%"
}, },
"opts": { "opts": {
"rbe": "RBE - report if value changed", "rbe": "block unless value changes",
"deadband": "Deadband - report if changed more than", "deadband": "block unless changes by more than"
}, },
"warn": { "warn": {
"nonumber": "no number found in payload" "nonumber": "no number found in payload"

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-rbe", "name" : "node-red-node-rbe",
"version" : "0.0.7", "version" : "0.1.0",
"description" : "A Node-RED node that provides report-by-exception (RBE) and deadband capability.", "description" : "A Node-RED node that provides report-by-exception (RBE) and deadband capability.",
"dependencies" : { "dependencies" : {
}, },

View File

@ -19,12 +19,12 @@
<label for="node-input-func"><i class="fa fa-wrench"></i> <span data-i18n="rbe.label.func"></span></label> <label for="node-input-func"><i class="fa fa-wrench"></i> <span data-i18n="rbe.label.func"></span></label>
<select type="text" id="node-input-func" style="width:74%;"> <select type="text" id="node-input-func" style="width:74%;">
<option value="rbe" data-i18n="rbe.opts.rbe"></option> <option value="rbe" data-i18n="rbe.opts.rbe"></option>
<option value="deadband" data-i18n="rbe.opts.deadband></option> <option value="deadband" data-i18n="rbe.opts.deadband"></option>
</select> </select>
</div> </div>
<div class="form-row" id="node-bandgap"> <div class="form-row" id="node-bandgap">
<label for="node-input-gap"><i class="fa fa-random"></i> <span data-i18n="rbe.label.bandgap"></span></label> <label for="node-input-gap">&nbsp;</label>
<input type="text" id="node-input-gap" data-i18n="[placeholder]rbe.eg.bandgap" style="width:71%;"> <input type="text" id="node-input-gap" data-i18n="[placeholder]rbe.placeholder.bandgap" style="width:71%;">
</div> </div>
<div class="form-row"> <div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"/> <span data-i18n="rbe.label.name"></span></label> <label for="node-input-name"><i class="fa fa-tag"/> <span data-i18n="rbe.label.name"></span></label>