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
11 changed files with 15 additions and 9 deletions

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":"";