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

Make extra node names more consistent i18n wise

This commit is contained in:
Dave Conway-Jones 2018-03-30 14:50:51 +01:00
parent b8b5a92ad1
commit 4679077760
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
11 changed files with 15 additions and 9 deletions

View File

@ -1,5 +1,6 @@
{ {
"rbe": { "rbe": {
"rbe": "rbe",
"label": { "label": {
"func": "Mode", "func": "Mode",
"init": "Send initial value", "init": "Send initial value",

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-rbe", "name" : "node-red-node-rbe",
"version" : "0.2.2", "version" : "0.2.3",
"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

@ -87,8 +87,8 @@
outputs:1, outputs:1,
icon: "rbe.png", icon: "rbe.png",
label: function() { label: function() {
var ll = (this.func||"").replace("Eq","").replace("rbei","rbe")||"rbe"; var ll = (this.func||"").replace("Eq","").replace("rbei","rbe")||this._("rbe.rbe");
return this.name||ll||"rbe"; return this.name||ll||this._("rbe.rbe");
}, },
labelStyle: function() { labelStyle: function() {
return this.name?"node_label_italic":""; return this.name?"node_label_italic":"";

View File

@ -245,8 +245,11 @@
inputs:0, inputs:0,
outputs:1, outputs:1,
icon: "envelope.png", icon: "envelope.png",
paletteLabel: function() {
return this.name||this._("email.email");
},
label: function() { label: function() {
return this.name||"email"; return this.name||this._("email.email");
}, },
labelStyle: function() { labelStyle: function() {
return (this.name)?"node_label_italic":""; return (this.name)?"node_label_italic":"";

View File

@ -1,5 +1,6 @@
{ {
"email": { "email": {
"email": "email",
"label": { "label": {
"to": "To", "to": "To",
"server": "Server", "server": "Server",

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red-node-email", "name": "node-red-node-email",
"version": "0.1.26", "version": "0.1.27",
"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",

View File

@ -35,7 +35,7 @@
outputs:1, outputs:1,
icon: "feed.png", icon: "feed.png",
label: function() { label: function() {
return this.name||this.url||"feedparser"; return this.name||this.url||this._("feedparse.feedparse");
}, },
labelStyle: function() { labelStyle: function() {
return this.name?"node_label_italic":""; return this.name?"node_label_italic":"";

View File

@ -1,5 +1,6 @@
{ {
"feedparse": { "feedparse": {
"feedparse": "feedparser",
"label": { "label": {
"feedurl": "Feed url", "feedurl": "Feed url",
"refresh": "Refresh", "refresh": "Refresh",

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red-node-feedparser", "name": "node-red-node-feedparser",
"version": "0.1.11", "version": "0.1.12",
"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",

View File

@ -64,7 +64,7 @@
icon: "arrow-in.png", icon: "arrow-in.png",
align: "right", align: "right",
label: function() { label: function() {
return this.name||this.command; return this.name||this.command||"daemon";
}, },
labelStyle: function() { labelStyle: function() {
return this.name?"node_label_italic":""; return this.name?"node_label_italic":"";

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-daemon", "name" : "node-red-node-daemon",
"version" : "0.0.18", "version" : "0.0.19",
"description" : "A Node-RED node that runs and monitors a long running system command.", "description" : "A Node-RED node that runs and monitors a long running system command.",
"dependencies" : { "dependencies" : {
}, },