diff --git a/nodes/core/core/80-function.html b/nodes/core/core/80-function.html
index e05a55b9c..4d5131df8 100644
--- a/nodes/core/core/80-function.html
+++ b/nodes/core/core/80-function.html
@@ -68,7 +68,7 @@
outputs:1,
icon: "function.png",
label: function() {
- return this.name;
+ return this.name||this._("function.function");
},
labelStyle: function() {
return this.name?"node_label_italic":"";
diff --git a/nodes/core/locales/en-US/messages.json b/nodes/core/locales/en-US/messages.json
index e5f6b42fa..3232069db 100644
--- a/nodes/core/locales/en-US/messages.json
+++ b/nodes/core/locales/en-US/messages.json
@@ -186,6 +186,7 @@
"oldrc": "Use old style output (compatibility mode)"
},
"function": {
+ "function": "",
"label": {
"function": "Function",
"outputs": "Outputs"
diff --git a/nodes/core/logic/10-switch.html b/nodes/core/logic/10-switch.html
index 883ee6c84..10491e451 100644
--- a/nodes/core/logic/10-switch.html
+++ b/nodes/core/logic/10-switch.html
@@ -140,7 +140,7 @@
},
icon: "switch.png",
label: function() {
- return this.name||this._("swicth.switch");
+ return this.name||this._("switch.switch");
},
labelStyle: function() {
return this.name?"node_label_italic":"";