Make core nodes labels more consistent, to close #1673

and make them translateable
This commit is contained in:
Dave Conway-Jones
2018-03-30 14:31:59 +01:00
parent acad9f57f9
commit 89bfc90f40
12 changed files with 35 additions and 17 deletions

View File

@@ -138,7 +138,7 @@
icon: "arrow-in.png",
align: "right",
label: function() {
return this.name||this.command;
return this.name||this.command||(this.useSpawn=="true"?this._("exec.spawn"):this._("exec.exec"));
},
labelStyle: function() {
return this.name?"node_label_italic":"";