mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
fix typo in switch label, make function label consistent
This commit is contained in:
parent
29e0b194dd
commit
9d22a86ec8
@ -68,7 +68,7 @@
|
|||||||
outputs:1,
|
outputs:1,
|
||||||
icon: "function.png",
|
icon: "function.png",
|
||||||
label: function() {
|
label: function() {
|
||||||
return this.name;
|
return this.name||this._("function.function");
|
||||||
},
|
},
|
||||||
labelStyle: function() {
|
labelStyle: function() {
|
||||||
return this.name?"node_label_italic":"";
|
return this.name?"node_label_italic":"";
|
||||||
|
@ -186,6 +186,7 @@
|
|||||||
"oldrc": "Use old style output (compatibility mode)"
|
"oldrc": "Use old style output (compatibility mode)"
|
||||||
},
|
},
|
||||||
"function": {
|
"function": {
|
||||||
|
"function": "",
|
||||||
"label": {
|
"label": {
|
||||||
"function": "Function",
|
"function": "Function",
|
||||||
"outputs": "Outputs"
|
"outputs": "Outputs"
|
||||||
|
@ -140,7 +140,7 @@
|
|||||||
},
|
},
|
||||||
icon: "switch.png",
|
icon: "switch.png",
|
||||||
label: function() {
|
label: function() {
|
||||||
return this.name||this._("swicth.switch");
|
return this.name||this._("switch.switch");
|
||||||
},
|
},
|
||||||
labelStyle: function() {
|
labelStyle: function() {
|
||||||
return this.name?"node_label_italic":"";
|
return this.name?"node_label_italic":"";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user