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",
"label": {
"func": "Mode",
"init": "Send initial value",

View File

@ -1,6 +1,6 @@
{
"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.",
"dependencies" : {
},

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "node-red-node-email",
"version": "0.1.26",
"version": "0.1.27",
"description": "Node-RED nodes to send and receive simple emails",
"dependencies": {
"nodemailer": "^1.11.0",

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "node-red-node-feedparser",
"version": "0.1.11",
"version": "0.1.12",
"description": "A Node-RED node to get RSS Atom feeds.",
"dependencies": {
"feedparser": "^2.2.9",

View File

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

View File

@ -1,6 +1,6 @@
{
"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.",
"dependencies" : {
},