mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Tidy up node i18n
This commit is contained in:
parent
f5fc8f763f
commit
94e27dbfc5
@ -17,7 +17,7 @@
|
|||||||
<script type="text/x-red" data-template-name="sentiment">
|
<script type="text/x-red" data-template-name="sentiment">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -40,7 +40,7 @@
|
|||||||
outputs:1,
|
outputs:1,
|
||||||
icon: "arrow-in.png",
|
icon: "arrow-in.png",
|
||||||
label: function() {
|
label: function() {
|
||||||
return this.name||this._("sentiment.label.sentimentlabel");
|
return this.name||this._("sentiment.sentiment");
|
||||||
},
|
},
|
||||||
labelStyle: function() {
|
labelStyle: function() {
|
||||||
return this.name?"node_label_italic":"";
|
return this.name?"node_label_italic":"";
|
||||||
|
@ -122,7 +122,7 @@
|
|||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-tips" data-i18n="[html]inject.tip"></div>
|
<div class="form-tips" data-i18n="[html]inject.tip"></div>
|
||||||
@ -494,13 +494,13 @@
|
|||||||
},
|
},
|
||||||
error: function(jqXHR,textStatus,errorThrown) {
|
error: function(jqXHR,textStatus,errorThrown) {
|
||||||
if (jqXHR.status == 404) {
|
if (jqXHR.status == 404) {
|
||||||
RED.notify(node._("inject.error",{message:node._("inject.errors.not-deployed")}),"error");
|
RED.notify(node._("common.notification.error",{message:node._("common.notification.errors.not-deployed")}),"error");
|
||||||
} else if (jqXHR.status == 500) {
|
} else if (jqXHR.status == 500) {
|
||||||
RED.notify(node._("inject.error",{message:node._("inject.errors.failed")}),"error");
|
RED.notify(node._("common.notification.error",{message:node._("inject.errors.failed")}),"error");
|
||||||
} else if (jqXHR.status == 0) {
|
} else if (jqXHR.status == 0) {
|
||||||
RED.notify(node._("inject.error",{message:node._("inject.errors.no-response")}),"error");
|
RED.notify(node._("common.notification.error",{message:node._("common.notification.errors.no-response")}),"error");
|
||||||
} else {
|
} else {
|
||||||
RED.notify(node._("inject.error",{message:node._("inject.errors.not-deployed",{status:jqXHR.status,message:textStatus})}),"error");
|
RED.notify(node._("common.notification.error",{message:node._("common.notification.errors.unexpected",{status:jqXHR.status,message:textStatus})}),"error");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<script type="text/x-red" data-template-name="catch">
|
<script type="text/x-red" data-template-name="catch">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
<script type="text/x-red" data-help-name="catch">
|
<script type="text/x-red" data-help-name="catch">
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -103,23 +103,24 @@
|
|||||||
toggle: "active",
|
toggle: "active",
|
||||||
onclick: function() {
|
onclick: function() {
|
||||||
var label = this.name||"debug";
|
var label = this.name||"debug";
|
||||||
|
var node = this;
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "debug/"+this.id+"/"+(this.active?"enable":"disable"),
|
url: "debug/"+this.id+"/"+(this.active?"enable":"disable"),
|
||||||
type: "POST",
|
type: "POST",
|
||||||
success: function(resp, textStatus, xhr) {
|
success: function(resp, textStatus, xhr) {
|
||||||
if (xhr.status == 200) {
|
if (xhr.status == 200) {
|
||||||
RED.notify("Successfully activated: "+label,"success");
|
RED.notify(node._("debug.notification.activated",{label:label}),"success");
|
||||||
} else if (xhr.status == 201) {
|
} else if (xhr.status == 201) {
|
||||||
RED.notify("Successfully deactivated: "+label,"success");
|
RED.notify(node._("debug.notification.deactivated",{label:label}),"success");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
error: function(jqXHR,textStatus,errorThrown) {
|
error: function(jqXHR,textStatus,errorThrown) {
|
||||||
if (jqXHR.status == 404) {
|
if (jqXHR.status == 404) {
|
||||||
RED.notify("<strong>Error</strong>: debug node not deployed","error");
|
RED.notify(node._("common.notification.error", {message: node._("common.notification.errors.not-deployed")}),"error");
|
||||||
} else if (jqXHR.status == 0) {
|
} else if (jqXHR.status == 0) {
|
||||||
RED.notify("<strong>Error</strong>: no response from server","error");
|
RED.notify(node._("common.notification.error", {message: node._("common.notification.errors.no-response")}),"error");
|
||||||
} else {
|
} else {
|
||||||
RED.notify("<strong>Error</strong>: unexpected error: ("+err.status+") "+err.response,"error");
|
RED.notify(node._("common.notification.error",{message:node._("common.notification.errors.unexpected",{status:err.status,message:err.response})}),"error");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -16,17 +16,17 @@
|
|||||||
|
|
||||||
<script type="text/x-red" data-template-name="exec">
|
<script type="text/x-red" data-template-name="exec">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-command"><i class="fa fa-file"></i> <span data-i18n="exec.command"></span></label>
|
<label for="node-input-command"><i class="fa fa-file"></i> <span data-i18n="exec.label.command"></span></label>
|
||||||
<input type="text" id="node-input-command" data-i18n="[placeholder]exec.commandph">
|
<input type="text" id="node-input-command" data-i18n="[placeholder]exec.label.command">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label><i class="fa fa-plus"></i> <span data-i18n="exec.append"></span></label>
|
<label><i class="fa fa-plus"></i> <span data-i18n="exec.label.append"></span></label>
|
||||||
<input type="checkbox" id="node-input-addpay" style="display: inline-block; width: auto; vertical-align: top;">
|
<input type="checkbox" id="node-input-addpay" style="display: inline-block; width: auto; vertical-align: top;">
|
||||||
msg.payload
|
msg.payload
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-append"> </label>
|
<label for="node-input-append"> </label>
|
||||||
<input type="text" id="node-input-append" data-i18n="[placeholder]exec.extraparams">
|
<input type="text" id="node-input-append" data-i18n="[placeholder]exec.placeholder.extraparams">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label> </label>
|
<label> </label>
|
||||||
@ -35,7 +35,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-tips" id="spawnTip"><span data-i18n="[html]exec.tip"></span></div>
|
<div class="form-tips" id="spawnTip"><span data-i18n="[html]exec.tip"></span></div>
|
||||||
</script>
|
</script>
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
<script type="text/x-red" data-template-name="function">
|
<script type="text/x-red" data-template-name="function">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row" style="margin-bottom: 0px;">
|
<div class="form-row" style="margin-bottom: 0px;">
|
||||||
<label for="node-input-func"><i class="fa fa-wrench"></i> <span data-i18n="function.functionlabel"></span></label>
|
<label for="node-input-func"><i class="fa fa-wrench"></i> <span data-i18n="function.label.function"></span></label>
|
||||||
<input type="hidden" id="node-input-func" autofocus="autofocus">
|
<input type="hidden" id="node-input-func" autofocus="autofocus">
|
||||||
<input type="hidden" id="node-input-noerr">
|
<input type="hidden" id="node-input-noerr">
|
||||||
</div>
|
</div>
|
||||||
@ -28,7 +28,7 @@
|
|||||||
<div style="height: 250px;" class="node-text-editor" id="node-input-func-editor" ></div>
|
<div style="height: 250px;" class="node-text-editor" id="node-input-func-editor" ></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-outputs"><i class="fa fa-random"></i> <span data-i18n="function.outputs"></span></label>
|
<label for="node-input-outputs"><i class="fa fa-random"></i> <span data-i18n="function.label.outputs"></span></label>
|
||||||
<input id="node-input-outputs" style="width: 60px; height: 1.7em;" value="1">
|
<input id="node-input-outputs" style="width: 60px; height: 1.7em;" value="1">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-tips"><span data-i18n="function.tip"></span></div>
|
<div class="form-tips"><span data-i18n="function.tip"></span></div>
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
<script type="text/x-red" data-template-name="template">
|
<script type="text/x-red" data-template-name="template">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row" style="margin-bottom: 0px;">
|
<div class="form-row" style="margin-bottom: 0px;">
|
||||||
<label for="node-input-template"><i class="fa fa-file-code-o"></i> <span data-i18n="template.templatelabel"></span></label>
|
<label for="node-input-template"><i class="fa fa-file-code-o"></i> <span data-i18n="template.label.template"></span></label>
|
||||||
<input type="hidden" id="node-input-template" autofocus="autofocus">
|
<input type="hidden" id="node-input-template" autofocus="autofocus">
|
||||||
<select id="node-input-format" style=" font-size: 0.8em; margin-bottom: 3px; width:110px; float:right;">
|
<select id="node-input-format" style=" font-size: 0.8em; margin-bottom: 3px; width:110px; float:right;">
|
||||||
<option value="handlebars">mustache</option>
|
<option value="handlebars">mustache</option>
|
||||||
@ -34,7 +34,7 @@
|
|||||||
<div style="height: 250px;" class="node-text-editor" id="node-input-template-editor" ></div>
|
<div style="height: 250px;" class="node-text-editor" id="node-input-template-editor" ></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-field"><i class="fa fa-edit"></i> <span data-i18n="template.property"></span></label>
|
<label for="node-input-field"><i class="fa fa-edit"></i> <span data-i18n="template.label.property"></span></label>
|
||||||
msg.<input type="text" id="node-input-field" placeholder="payload" style="width:170px;">
|
msg.<input type="text" id="node-input-field" placeholder="payload" style="width:170px;">
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
@ -69,7 +69,7 @@
|
|||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="form-tips">Tip: Outputs can be values, null, {{templated}} or msg.payload<br/> -->
|
<!-- <div class="form-tips">Tip: Outputs can be values, null, {{templated}} or msg.payload<br/> -->
|
||||||
<div class="form-tips"><span data-i18n="trigger.tip"></span></div>
|
<div class="form-tips"><span data-i18n="trigger.tip"></span></div>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<script type="text/x-red" data-template-name="comment">
|
<script type="text/x-red" data-template-name="comment">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-name"><i class="fa fa-comment"></i> <span data-i18n="comment.title"></span></label>
|
<label for="node-input-name"><i class="fa fa-comment"></i> <span data-i18n="comment.title"></span></label>
|
||||||
<input type="text" id="node-input-name" data-i18n="[placeholder]comment.commentph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]comment.comment">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row" style="margin-bottom: 0px;">
|
<div class="form-row" style="margin-bottom: 0px;">
|
||||||
<label for="node-input-info" style="width: 100% !important;"><i class="fa fa-comments"></i> <span data-i18n="comment.body"></span></label>
|
<label for="node-input-info" style="width: 100% !important;"><i class="fa fa-comments"></i> <span data-i18n="comment.body"></span></label>
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
<br/>
|
<br/>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-tips" id="pin-tip"><span data-i18n="[html]rpi-gpio.pin-tip"></span></div>
|
<div class="form-tips" id="pin-tip"><span data-i18n="[html]rpi-gpio.pin-tip"></span></div>
|
||||||
<div class="form-tips"><span data-i18n="[html]rpi-gpio.in-tip"></span></div>
|
<div class="form-tips"><span data-i18n="[html]rpi-gpio.in-tip"></span></div>
|
||||||
@ -191,7 +191,7 @@
|
|||||||
<br/>
|
<br/>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-tips" id="pin-tip"><span data-i18n="[html]rpi-gpio.pin-tip"></span></div>
|
<div class="form-tips" id="pin-tip"><span data-i18n="[html]rpi-gpio.pin-tip"></span></div>
|
||||||
<div class="form-tips" id="dig-tip"><span data-i18n="[html]rpi-gpio.dig-tip"></span></div>
|
<div class="form-tips" id="dig-tip"><span data-i18n="[html]rpi-gpio.dig-tip"></span></div>
|
||||||
@ -325,7 +325,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-topic"><i class="fa fa-tasks"></i> <span data-i18n="common.label.topic"></span></label>
|
<label for="node-input-topic"><i class="fa fa-tasks"></i> <span data-i18n="common.label.topic"></span></label>
|
||||||
<input type="text" id="node-input-topic" data-i18n="[placeholder]common.label.topicph">
|
<input type="text" id="node-input-topic" data-i18n="[placeholder]common.label.topic">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -63,7 +63,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-topic"><i class="fa fa-tasks"></i> <span data-i18n="common.label.topic"></span></label>
|
<label for="node-input-topic"><i class="fa fa-tasks"></i> <span data-i18n="common.label.topic"></span></label>
|
||||||
<input type="text" id="node-input-topic" data-i18n="[placeholder]common.label.topicph">
|
<input type="text" id="node-input-topic" data-i18n="[placeholder]common.label.topic">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-qos"><i class="fa fa-empire"></i> <span data-i18n="mqtt.label.qos"></span></label>
|
<label for="node-input-qos"><i class="fa fa-empire"></i> <span data-i18n="mqtt.label.qos"></span></label>
|
||||||
@ -81,7 +81,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-tips"><span data-i18n="mqtt.tip"></span></div>
|
<div class="form-tips"><span data-i18n="mqtt.tip"></span></div>
|
||||||
</script>
|
</script>
|
||||||
@ -120,12 +120,12 @@
|
|||||||
<div class="form-row node-input-broker">
|
<div class="form-row node-input-broker">
|
||||||
<label for="node-config-input-broker"><i class="fa fa-globe"></i> <span data-i18n="mqtt.label.broker"></span></label>
|
<label for="node-config-input-broker"><i class="fa fa-globe"></i> <span data-i18n="mqtt.label.broker"></span></label>
|
||||||
<input class="input-append-left" type="text" id="node-config-input-broker" placeholder="localhost" style="width: 40%;" >
|
<input class="input-append-left" type="text" id="node-config-input-broker" placeholder="localhost" style="width: 40%;" >
|
||||||
<label for="node-config-input-port" style="margin-left: 10px; width: 35px; "> <span data-i18n="mqtt.port"></span></label>
|
<label for="node-config-input-port" style="margin-left: 10px; width: 35px; "> <span data-i18n="mqtt.label.port"></span></label>
|
||||||
<input type="text" id="node-config-input-port" data-i18n="[placeholder]mqtt.portph" style="width:45px">
|
<input type="text" id="node-config-input-port" data-i18n="[placeholder]mqtt.label.port" style="width:45px">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-config-input-clientid"><i class="fa fa-tag"></i> <span data-i18n="mqtt.label.clientid"></span></label>
|
<label for="node-config-input-clientid"><i class="fa fa-tag"></i> <span data-i18n="mqtt.label.clientid"></span></label>
|
||||||
<input type="text" id="node-config-input-clientid" data-i18n="[placeholder]mqtt.label.clientidph">
|
<input type="text" id="node-config-input-clientid" data-i18n="[placeholder]mqtt.placeholder.clientid">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-config-input-user"><i class="fa fa-user"></i> <span data-i18n="common.label.username"></span></label>
|
<label for="node-config-input-user"><i class="fa fa-user"></i> <span data-i18n="common.label.username"></span></label>
|
||||||
|
@ -26,17 +26,17 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-url"><i class="fa fa-globe"></i> <span data-i18n="httpin.label.url"></span></label>
|
<label for="node-input-url"><i class="fa fa-globe"></i> <span data-i18n="httpin.label.url"></span></label>
|
||||||
<input type="text" id="node-input-url" data-i18n="[placeholder]httpin.label.urlph">
|
<input type="text" id="node-input-url" placeholder="/url">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row row-swagger-doc">
|
<div class="form-row row-swagger-doc">
|
||||||
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="httpin.label.doc"></span></label>
|
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="httpin.label.doc"></span></label>
|
||||||
<input type="text" id="node-input-swaggerDoc">
|
<input type="text" id="node-input-swaggerDoc">
|
||||||
</div>
|
</div>
|
||||||
<div id="node-input-tip" class="form-tips"><span data-i18n="httpin.in-tip"></span><code><span id="node-input-path"></span></code>.</div>
|
<div id="node-input-tip" class="form-tips"><span data-i18n="httpin.tip.in"></span><code><span id="node-input-path"></span></code>.</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-red" data-help-name="http in">
|
<script type="text/x-red" data-help-name="http in">
|
||||||
@ -68,9 +68,9 @@
|
|||||||
<script type="text/x-red" data-template-name="http response">
|
<script type="text/x-red" data-template-name="http response">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-tips"><span data-i18n="[html]httpin.res-tip"></span></div>
|
<div class="form-tips"><span data-i18n="[html]httpin.tip.res"></span></div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-red" data-help-name="http response">
|
<script type="text/x-red" data-help-name="http response">
|
||||||
@ -97,7 +97,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-url"><i class="fa fa-globe"></i> <span data-i18n="httpin.label.url"></span></label>
|
<label for="node-input-url"><i class="fa fa-globe"></i> <span data-i18n="httpin.label.url"></span></label>
|
||||||
<input type="text" id="node-input-url" data-i18n="[placeholder]httpin.label.httpph">
|
<input type="text" id="node-input-url" placeholder="http://">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label> </label>
|
<label> </label>
|
||||||
@ -122,9 +122,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-tips" id="tip-json" hidden><span data-i18n="httpin.req-tip"></span></div>
|
<div class="form-tips" id="tip-json" hidden><span data-i18n="httpin.tip.req"></span></div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-red" data-help-name="http request">
|
<script type="text/x-red" data-help-name="http request">
|
||||||
|
@ -89,7 +89,7 @@ function ws_validateclient() {
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -140,7 +140,7 @@ function ws_validateclient() {
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -183,7 +183,7 @@ function ws_validateclient() {
|
|||||||
<script type="text/x-red" data-template-name="websocket-listener">
|
<script type="text/x-red" data-template-name="websocket-listener">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-config-input-path"><i class="fa fa-bookmark"></i> <span data-i18n="websocket.label.path"></span></label>
|
<label for="node-config-input-path"><i class="fa fa-bookmark"></i> <span data-i18n="websocket.label.path"></span></label>
|
||||||
<input type="text" id="node-config-input-path" data-i18n="[placeholder]websocket.label.pathph">
|
<input type="text" id="node-config-input-path" placeholder="/ws/example">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-config-input-wholemsg"> </label>
|
<label for="node-config-input-wholemsg"> </label>
|
||||||
@ -193,8 +193,8 @@ function ws_validateclient() {
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-tips">
|
<div class="form-tips">
|
||||||
<span data-i18n="[html]websocket.path-tip1"></span>
|
<span data-i18n="[html]websocket.tip.path1"></span>
|
||||||
<p id="node-config-ws-tip"><span data-i18n="[html]websocket.path-tip2"></span><code><span id="node-config-ws-path"></span></code>.</p>
|
<p id="node-config-ws-tip"><span data-i18n="[html]websocket.tip.path2"></span><code><span id="node-config-ws-path"></span></code>.</p>
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -242,7 +242,7 @@ function ws_validateclient() {
|
|||||||
<script type="text/x-red" data-template-name="websocket-client">
|
<script type="text/x-red" data-template-name="websocket-client">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-config-input-path"><i class="fa fa-bookmark"></i> <span data-i18n="websocket.label.url"></span></label>
|
<label for="node-config-input-path"><i class="fa fa-bookmark"></i> <span data-i18n="websocket.label.url"></span></label>
|
||||||
<input type="text" id="node-config-input-path" data-i18n="[placeholder]websocket.label.urlph">
|
<input type="text" id="node-config-input-path" placeholder="ws://example.com/ws">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-config-input-wholemsg"> </label>
|
<label for="node-config-input-wholemsg"> </label>
|
||||||
@ -252,8 +252,8 @@ function ws_validateclient() {
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-tips">
|
<div class="form-tips">
|
||||||
<p><span data-i18n="[html]websocket.url-tip1"></span></p>
|
<p><span data-i18n="[html]websocket.tip.url1"></span></p>
|
||||||
<span data-i18n="[html]websocket.url-tip2"></span>
|
<span data-i18n="[html]websocket.tip.url2"></span>
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<div id="node-input-tip" class="form-tips"><span data-i18n="watch.tip"></span></div>
|
<div id="node-input-tip" class="form-tips"><span data-i18n="watch.tip"></span></div>
|
||||||
</script>
|
</script>
|
||||||
|
@ -48,11 +48,11 @@
|
|||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-topic"><i class="fa fa-tasks"></i> <span data-i18n="common.label.topic"></span></label>
|
<label for="node-input-topic"><i class="fa fa-tasks"></i> <span data-i18n="common.label.topic"></span></label>
|
||||||
<input type="text" id="node-input-topic" data-i18n="[placeholder]common.label.topicph">
|
<input type="text" id="node-input-topic" data-i18n="[placeholder]common.label.topic">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -143,7 +143,7 @@
|
|||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-tips hidden" id="fin-tip">
|
<div class="form-tips hidden" id="fin-tip">
|
||||||
@ -238,7 +238,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-tips"><span data-i18n="[html]tcpin.req-tip"></span></div>
|
<div class="form-tips"><span data-i18n="[html]tcpin.req-tip"></span></div>
|
||||||
<script>
|
<script>
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-tips"><span data-i18n="udp.in-tip"></span></div>
|
<div class="form-tips"><span data-i18n="udp.in-tip"></span></div>
|
||||||
</script>
|
</script>
|
||||||
@ -141,7 +141,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-tips"><span data-i18n="[html]udp.out-tip"></span></div>
|
<div class="form-tips"><span data-i18n="[html]udp.out-tip"></span></div>
|
||||||
</script>
|
</script>
|
||||||
|
@ -3,9 +3,7 @@
|
|||||||
"label": {
|
"label": {
|
||||||
"payload": "Payload",
|
"payload": "Payload",
|
||||||
"topic": "Topic",
|
"topic": "Topic",
|
||||||
"topicph": "topic",
|
|
||||||
"name": "Name",
|
"name": "Name",
|
||||||
"nameph": "name",
|
|
||||||
"username": "Username",
|
"username": "Username",
|
||||||
"password": "Password"
|
"password": "Password"
|
||||||
},
|
},
|
||||||
@ -35,6 +33,14 @@
|
|||||||
"noconnection": "no connection",
|
"noconnection": "no connection",
|
||||||
"tweeting": "tweeting",
|
"tweeting": "tweeting",
|
||||||
"failed": "failed"
|
"failed": "failed"
|
||||||
|
},
|
||||||
|
"notification": {
|
||||||
|
"error": "<strong>Error</strong>: __message__",
|
||||||
|
"errors": {
|
||||||
|
"not-deployed": "node not deployed",
|
||||||
|
"no-response": "no response from server",
|
||||||
|
"unexpected": "unexpected error (__status__) __message__"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"inject": {
|
"inject": {
|
||||||
@ -75,10 +81,7 @@
|
|||||||
"success": "Successfully injected: __label__",
|
"success": "Successfully injected: __label__",
|
||||||
"error": "<strong>Error</strong>: __message__",
|
"error": "<strong>Error</strong>: __message__",
|
||||||
"errors": {
|
"errors": {
|
||||||
"not-deployed": "inject node not deployed",
|
"failed": "inject failed, see log for details"
|
||||||
"failed": "inject failed, see log for details",
|
|
||||||
"no-response": "no response from server",
|
|
||||||
"unexpected": "unexpected error (__status__) __message__"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"catch": {
|
"catch": {
|
||||||
@ -91,29 +94,37 @@
|
|||||||
"msgobj": "complete msg object",
|
"msgobj": "complete msg object",
|
||||||
"to": "to",
|
"to": "to",
|
||||||
"debtab": "debug tab",
|
"debtab": "debug tab",
|
||||||
"tabcon": "debug tab and console"
|
"tabcon": "debug tab and console",
|
||||||
|
"notification": {
|
||||||
|
"activated": "Successfully activated: __label__",
|
||||||
|
"deactivated": "Successfully deactivated: __label__"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"exec": {
|
"exec": {
|
||||||
"exec": "exec",
|
|
||||||
"spawnerr": "Spawn command must be just the command - no spaces or extra parameters",
|
"spawnerr": "Spawn command must be just the command - no spaces or extra parameters",
|
||||||
"badstdout": "Bad STDOUT",
|
"badstdout": "Bad STDOUT",
|
||||||
|
"label": {
|
||||||
"command": "Command",
|
"command": "Command",
|
||||||
"commandph": "command",
|
"append": "Append"
|
||||||
"append": "Append",
|
},
|
||||||
"extraparams": "extra input parameters",
|
"placeholder": {
|
||||||
|
"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."
|
"tip": "Tip: <i>spawn</i> expects only one command word - and appended args to be comma separated."
|
||||||
},
|
},
|
||||||
"function": {
|
"function": {
|
||||||
"function": "function",
|
"label": {
|
||||||
"functionlabel": "Function",
|
"function": "Function",
|
||||||
"outputs": "Outputs",
|
"outputs": "Outputs"
|
||||||
|
},
|
||||||
"tip": "See the Info tab for help writing functions."
|
"tip": "See the Info tab for help writing functions."
|
||||||
},
|
},
|
||||||
"template": {
|
"template": {
|
||||||
"template": "template",
|
"label": {
|
||||||
"templatelabel": "Template",
|
"template": "Template",
|
||||||
"property": "Property",
|
"property": "Property"
|
||||||
|
},
|
||||||
"templatevalue": "This is the payload: {{payload}} !"
|
"templatevalue": "This is the payload: {{payload}} !"
|
||||||
},
|
},
|
||||||
"delay": {
|
"delay": {
|
||||||
@ -169,7 +180,6 @@
|
|||||||
"body": "Body - will be rendered in info tab.",
|
"body": "Body - will be rendered in info tab.",
|
||||||
"tip1": "Tip: The text here can be styled as ",
|
"tip1": "Tip: The text here can be styled as ",
|
||||||
"tip2": "Github flavoured Markdown",
|
"tip2": "Github flavoured Markdown",
|
||||||
"commentph": "comment",
|
|
||||||
"commentnode": "Comment node",
|
"commentnode": "Comment node",
|
||||||
"commentinfo": "Use this node to add simple documentation.\n\nAnything you add will be rendered in this info panel.\n\nYou may use Markdown syntax to **enhance** the *presentation*."
|
"commentinfo": "Use this node to add simple documentation.\n\nAnything you add will be rendered in this info panel.\n\nYou may use Markdown syntax to **enhance** the *presentation*."
|
||||||
},
|
},
|
||||||
@ -186,14 +196,15 @@
|
|||||||
"broker": "Broker",
|
"broker": "Broker",
|
||||||
"qos": "QoS",
|
"qos": "QoS",
|
||||||
"clientid": "Client ID",
|
"clientid": "Client ID",
|
||||||
"clientidph": "Leave blank for auto generated"
|
"port": "Port"
|
||||||
|
},
|
||||||
|
"placeholder": {
|
||||||
|
"clientid": "Leave blank for auto generated"
|
||||||
},
|
},
|
||||||
"retain": "Retain",
|
"retain": "Retain",
|
||||||
"true": "true",
|
"true": "true",
|
||||||
"false": "false",
|
"false": "false",
|
||||||
"tip": "Tip: Leave topic, qos or retain blank if you want to set them via msg properties.",
|
"tip": "Tip: Leave topic, qos or retain blank if you want to set them via msg properties.",
|
||||||
"port": "Port",
|
|
||||||
"portph": "port",
|
|
||||||
"errors": {
|
"errors": {
|
||||||
"not-defined": "topic not defined",
|
"not-defined": "topic not defined",
|
||||||
"missing-config": "missing broker configuration",
|
"missing-config": "missing broker configuration",
|
||||||
@ -201,13 +212,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"httpin": {
|
"httpin": {
|
||||||
"httpin": "httpin",
|
|
||||||
"label": {
|
"label": {
|
||||||
"method": "Method",
|
"method": "Method",
|
||||||
"url": "URL",
|
"url": "URL",
|
||||||
"urlph": "/url",
|
"doc": "Documentation",
|
||||||
"httpph": "http://",
|
|
||||||
"doc": "Doc",
|
|
||||||
"return": "Return"
|
"return": "Return"
|
||||||
},
|
},
|
||||||
"setby": "- set by msg.method -",
|
"setby": "- set by msg.method -",
|
||||||
@ -215,9 +223,11 @@
|
|||||||
"utf8": "a UTF-8 string",
|
"utf8": "a UTF-8 string",
|
||||||
"binary": "a binary buffer",
|
"binary": "a binary buffer",
|
||||||
"json": "a parsed JSON object",
|
"json": "a parsed JSON object",
|
||||||
"in-tip": "The url will be relative to ",
|
"tip": {
|
||||||
"res-tip": "The messages sent to this node <b>must</b> originate from an <i>http input</i> node",
|
"in": "The url will be relative to ",
|
||||||
"req-tip": "Tip: If the JSON parse fails the fetched string is returned as-is.",
|
"res": "The messages sent to this node <b>must</b> originate from an <i>http input</i> node",
|
||||||
|
"req": "Tip: If the JSON parse fails the fetched string is returned as-is."
|
||||||
|
},
|
||||||
"httpreq": "http request",
|
"httpreq": "http request",
|
||||||
"errors": {
|
"errors": {
|
||||||
"not-created": "Cannot create http-in node when httpNodeRoot set to false",
|
"not-created": "Cannot create http-in node when httpNodeRoot set to false",
|
||||||
@ -232,18 +242,18 @@
|
|||||||
"label": {
|
"label": {
|
||||||
"type": "Type",
|
"type": "Type",
|
||||||
"path": "Path",
|
"path": "Path",
|
||||||
"url": "URL",
|
"url": "URL"
|
||||||
"pathph": "/ws/example",
|
|
||||||
"urlph": "ws://example.com/ws"
|
|
||||||
},
|
},
|
||||||
"listenon": "Listen on",
|
"listenon": "Listen on",
|
||||||
"connectto": "Connect to",
|
"connectto": "Connect to",
|
||||||
"payload": "Send/Receive payload",
|
"payload": "Send/Receive payload",
|
||||||
"message": "Send/Receive entire message",
|
"message": "Send/Receive entire message",
|
||||||
"path-tip1": "By default, <code>payload</code> will contain the data to be sent over, or received from a websocket. The listener can be configured to send or receive the entire message object as a JSON formatted string.",
|
"tip": {
|
||||||
"path-tip2": "This path will be relative to ",
|
"path1": "By default, <code>payload</code> will contain the data to be sent over, or received from a websocket. The listener can be configured to send or receive the entire message object as a JSON formatted string.",
|
||||||
"url-tip1": "URL should use ws:// or wss:// scheme and point to an existing websocket listener.",
|
"path2": "This path will be relative to ",
|
||||||
"url-tip2": "By default, <code>payload</code> will contain the data to be sent over, or received from a websocket. The client can be configured to send or receive the entire message object as a JSON formatted string.",
|
"url1": "URL should use ws:// or wss:// scheme and point to an existing websocket listener.",
|
||||||
|
"url2": "By default, <code>payload</code> will contain the data to be sent over, or received from a websocket. The client can be configured to send or receive the entire message object as a JSON formatted string."
|
||||||
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
"connect-error": "An error occured on the ws connection: ",
|
"connect-error": "An error occured on the ws connection: ",
|
||||||
"send-error": "An error occurred while sending: ",
|
"send-error": "An error occurred while sending: ",
|
||||||
@ -510,10 +520,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sentiment": {
|
"sentiment": {
|
||||||
"sentiment": "sentiment",
|
"sentiment": "sentiment"
|
||||||
"label": {
|
|
||||||
"sentimentlabel": "sentiment"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"arduino": {
|
"arduino": {
|
||||||
"arduino": "arduino",
|
"arduino": "arduino",
|
||||||
@ -521,8 +528,10 @@
|
|||||||
"arduino": "Arduino",
|
"arduino": "Arduino",
|
||||||
"pin": "Pin",
|
"pin": "Pin",
|
||||||
"type": "Type",
|
"type": "Type",
|
||||||
"port": "Port",
|
"port": "Port"
|
||||||
"portph": "e.g. /dev/ttyUSB0 COM1"
|
},
|
||||||
|
"placeholder": {
|
||||||
|
"port": "e.g. /dev/ttyUSB0 COM1"
|
||||||
},
|
},
|
||||||
"digitalpin": "Digital pin",
|
"digitalpin": "Digital pin",
|
||||||
"analoguepin": "Analogue pin",
|
"analoguepin": "Analogue pin",
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<script type="text/x-red" data-template-name="switch">
|
<script type="text/x-red" data-template-name="switch">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
If msg.<input type="text" id="node-input-property" style="width: 200px;"/>
|
If msg.<input type="text" id="node-input-property" style="width: 200px;"/>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<script type="text/x-red" data-template-name="change">
|
<script type="text/x-red" data-template-name="change">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row" style="margin-bottom:0;">
|
<div class="form-row" style="margin-bottom:0;">
|
||||||
<label><i class="fa fa-list"></i> <span data-i18n="change.label.rules"></span></label>
|
<label><i class="fa fa-list"></i> <span data-i18n="change.label.rules"></span></label>
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
<br/>
|
<br/>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-tips" id="node-tip"><span data-i18n="range.tip"></span></div>
|
<div class="form-tips" id="node-tip"><span data-i18n="range.tip"></span></div>
|
||||||
</script>
|
</script>
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<hr align="middle"/>
|
<hr align="middle"/>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
<br/>
|
<br/>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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" style="width:73% !important" data-i18n="[placeholder]common.label.nameph">
|
<input type="text" id="node-input-name" style="width:73% !important" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-tips"><span data-i18n="[html]html.tip"></span></div>
|
<div class="form-tips"><span data-i18n="[html]html.tip"></span></div>
|
||||||
</script>
|
</script>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<script type="text/x-red" data-template-name="json">
|
<script type="text/x-red" data-template-name="json">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<script type="text/x-red" data-template-name="xml">
|
<script type="text/x-red" data-template-name="xml">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph" style="width:280px !important">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name" style="width:280px !important">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row" id="advanced">
|
<div class="form-row" id="advanced">
|
||||||
</div>
|
</div>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<script type="text/x-red" data-template-name="tail">
|
<script type="text/x-red" data-template-name="tail">
|
||||||
<div class="form-row node-input-filename">
|
<div class="form-row node-input-filename">
|
||||||
<label for="node-input-filename"><i class="fa fa-file"></i> <span data-i18n="tail.label.filename"></span></label>
|
<label for="node-input-filename"><i class="fa fa-file"></i> <span data-i18n="tail.label.filename"></span></label>
|
||||||
<input type="text" id="node-input-filename" data-i18n="[placeholder]tail.label.filenameph">
|
<input type="text" id="node-input-filename" data-i18n="[placeholder]tail.label.filename">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label> </label>
|
<label> </label>
|
||||||
@ -26,7 +26,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="form-tips">WON'T work on Windows.</div> -->
|
<!-- <div class="form-tips">WON'T work on Windows.</div> -->
|
||||||
</script>
|
</script>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<script type="text/x-red" data-template-name="file">
|
<script type="text/x-red" data-template-name="file">
|
||||||
<div class="form-row node-input-filename">
|
<div class="form-row node-input-filename">
|
||||||
<label for="node-input-filename"><i class="fa fa-file"></i> <span data-i18n="file.label.filename"></span></label>
|
<label for="node-input-filename"><i class="fa fa-file"></i> <span data-i18n="file.label.filename"></span></label>
|
||||||
<input type="text" id="node-input-filename" data-i18n="[placeholder]file.label.filenameph">
|
<input type="text" id="node-input-filename" data-i18n="[placeholder]file.label.filename">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-overwriteFile"><i class="fa fa-random"></i> <span data-i18n="file.label.action"></span></label>
|
<label for="node-input-overwriteFile"><i class="fa fa-random"></i> <span data-i18n="file.label.action"></span></label>
|
||||||
@ -34,7 +34,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -49,7 +49,7 @@
|
|||||||
<script type="text/x-red" data-template-name="file in">
|
<script type="text/x-red" data-template-name="file in">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-filename"><i class="fa fa-file"></i> <span data-i18n="file.label.filename"></span></label>
|
<label for="node-input-filename"><i class="fa fa-file"></i> <span data-i18n="file.label.filename"></span></label>
|
||||||
<input type="text" id="node-input-filename" data-i18n="[placeholder]file.label.filenameph">
|
<input type="text" id="node-input-filename" data-i18n="[placeholder]file.label.filename">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-format"><i class="fa fa-sign-out"></i> <span data-i18n="file.label.outputas"></span></label>
|
<label for="node-input-format"><i class="fa fa-sign-out"></i> <span data-i18n="file.label.outputas"></span></label>
|
||||||
@ -60,7 +60,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<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.nameph">
|
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user