mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
tidy some labels
This commit is contained in:
parent
99b83ea4bd
commit
025f97206f
@ -40,7 +40,6 @@
|
|||||||
RED.nodes.registerType('data-generator',{
|
RED.nodes.registerType('data-generator',{
|
||||||
color:"rgb(243, 181, 103)",
|
color:"rgb(243, 181, 103)",
|
||||||
category: 'function',
|
category: 'function',
|
||||||
paletteLabel:"data generator",
|
|
||||||
defaults: {
|
defaults: {
|
||||||
name: {value:""},
|
name: {value:""},
|
||||||
field: {value:"payload"},
|
field: {value:"payload"},
|
||||||
@ -51,6 +50,9 @@
|
|||||||
inputs:1,
|
inputs:1,
|
||||||
outputs:1,
|
outputs:1,
|
||||||
icon: "template.png",
|
icon: "template.png",
|
||||||
|
paletteLabel: function() {
|
||||||
|
return this._("datagen.datagen");
|
||||||
|
},
|
||||||
label: function() {
|
label: function() {
|
||||||
return this.name || "data generator";
|
return this.name || "data generator";
|
||||||
},
|
},
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"datagen": {
|
"datagen": {
|
||||||
|
"datagen": "datagenerator",
|
||||||
"label": {
|
"label": {
|
||||||
"syntax": "Return",
|
"syntax": "Return",
|
||||||
"text": "a text string",
|
"text": "a text string",
|
||||||
|
@ -33,6 +33,9 @@
|
|||||||
inputs:0,
|
inputs:0,
|
||||||
outputs:1,
|
outputs:1,
|
||||||
icon: "alert.png",
|
icon: "alert.png",
|
||||||
|
paletteLabel: function() {
|
||||||
|
return this._("ping.ping");
|
||||||
|
},
|
||||||
label: function() {
|
label: function() {
|
||||||
return this.name||this.host;
|
return this.name||this.host;
|
||||||
},
|
},
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"ping": {
|
"ping": {
|
||||||
|
"ping": "ping",
|
||||||
"label": {
|
"label": {
|
||||||
"target": "Target",
|
"target": "Target",
|
||||||
"ping": "Ping (S)"
|
"ping": "Ping (S)"
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"ping": {
|
"ping": {
|
||||||
|
"ping": "ping",
|
||||||
"label": {
|
"label": {
|
||||||
"target": "対象",
|
"target": "対象",
|
||||||
"ping": "Ping (秒)"
|
"ping": "Ping (秒)"
|
||||||
|
@ -93,6 +93,9 @@
|
|||||||
outputs:0,
|
outputs:0,
|
||||||
icon: "envelope.png",
|
icon: "envelope.png",
|
||||||
align: "right",
|
align: "right",
|
||||||
|
paletteLabel: function() {
|
||||||
|
return this._("email.email");
|
||||||
|
},
|
||||||
label: function() {
|
label: function() {
|
||||||
return this.dname||this.name||"email";
|
return this.dname||this.name||"email";
|
||||||
},
|
},
|
||||||
@ -246,7 +249,7 @@
|
|||||||
outputs:1,
|
outputs:1,
|
||||||
icon: "envelope.png",
|
icon: "envelope.png",
|
||||||
paletteLabel: function() {
|
paletteLabel: function() {
|
||||||
return this.name||this._("email.email");
|
return this._("email.email");
|
||||||
},
|
},
|
||||||
label: function() {
|
label: function() {
|
||||||
return this.name||this._("email.email");
|
return this.name||this._("email.email");
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "node-red-node-email",
|
"name": "node-red-node-email",
|
||||||
"version": "0.1.27",
|
"version": "0.1.28",
|
||||||
"description": "Node-RED nodes to send and receive simple emails",
|
"description": "Node-RED nodes to send and receive simple emails",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"nodemailer": "^1.11.0",
|
"nodemailer": "^1.11.0",
|
||||||
|
@ -34,6 +34,9 @@
|
|||||||
inputs:0,
|
inputs:0,
|
||||||
outputs:1,
|
outputs:1,
|
||||||
icon: "feed.png",
|
icon: "feed.png",
|
||||||
|
paletteLabel: function() {
|
||||||
|
return this._("feedparse.feedparse");
|
||||||
|
},
|
||||||
label: function() {
|
label: function() {
|
||||||
return this.name||this.url||this._("feedparse.feedparse");
|
return this.name||this.url||this._("feedparse.feedparse");
|
||||||
},
|
},
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "node-red-node-feedparser",
|
"name": "node-red-node-feedparser",
|
||||||
"version": "0.1.12",
|
"version": "0.1.13",
|
||||||
"description": "A Node-RED node to get RSS Atom feeds.",
|
"description": "A Node-RED node to get RSS Atom feeds.",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"feedparser": "^2.2.9",
|
"feedparser": "^2.2.9",
|
||||||
|
Loading…
Reference in New Issue
Block a user