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

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