Skip to content

Commit 025f972

Browse files
author
Dave Conway-Jones
committed
tidy some labels
1 parent 99b83ea commit 025f972

File tree

9 files changed

+18
-4
lines changed

9 files changed

+18
-4
lines changed

function/datagenerator/datagenerator.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
RED.nodes.registerType('data-generator',{
4141
color:"rgb(243, 181, 103)",
4242
category: 'function',
43-
paletteLabel:"data generator",
4443
defaults: {
4544
name: {value:""},
4645
field: {value:"payload"},
@@ -51,6 +50,9 @@
5150
inputs:1,
5251
outputs:1,
5352
icon: "template.png",
53+
paletteLabel: function() {
54+
return this._("datagen.datagen");
55+
},
5456
label: function() {
5557
return this.name || "data generator";
5658
},

function/datagenerator/locales/en-US/datagenerator.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"datagen": {
3+
"datagen": "datagenerator",
34
"label": {
45
"syntax": "Return",
56
"text": "a text string",

io/ping/88-ping.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
inputs:0,
3434
outputs:1,
3535
icon: "alert.png",
36+
paletteLabel: function() {
37+
return this._("ping.ping");
38+
},
3639
label: function() {
3740
return this.name||this.host;
3841
},

io/ping/locales/en-US/88-ping.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"ping": {
3+
"ping": "ping",
34
"label": {
45
"target": "Target",
56
"ping": "Ping (S)"

io/ping/locales/ja/88-ping.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"ping": {
3+
"ping": "ping",
34
"label": {
45
"target": "対象",
56
"ping": "Ping (秒)"

social/email/61-email.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@
9393
outputs:0,
9494
icon: "envelope.png",
9595
align: "right",
96+
paletteLabel: function() {
97+
return this._("email.email");
98+
},
9699
label: function() {
97100
return this.dname||this.name||"email";
98101
},
@@ -246,7 +249,7 @@
246249
outputs:1,
247250
icon: "envelope.png",
248251
paletteLabel: function() {
249-
return this.name||this._("email.email");
252+
return this._("email.email");
250253
},
251254
label: function() {
252255
return this.name||this._("email.email");

social/email/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-node-email",
3-
"version": "0.1.27",
3+
"version": "0.1.28",
44
"description": "Node-RED nodes to send and receive simple emails",
55
"dependencies": {
66
"nodemailer": "^1.11.0",

social/feedparser/32-feedparse.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
inputs:0,
3535
outputs:1,
3636
icon: "feed.png",
37+
paletteLabel: function() {
38+
return this._("feedparse.feedparse");
39+
},
3740
label: function() {
3841
return this.name||this.url||this._("feedparse.feedparse");
3942
},

social/feedparser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-node-feedparser",
3-
"version": "0.1.12",
3+
"version": "0.1.13",
44
"description": "A Node-RED node to get RSS Atom feeds.",
55
"dependencies": {
66
"feedparser": "^2.2.9",

0 commit comments

Comments
 (0)