> "switch" is a reserved word in javascript:
Close but not quiet the explanation for this.
The Node-RED UI supports multiple languages. Currently we have complete translations in English (obviously), Japanese and Chinese.
That means any piece of text we display in the editor needs to be translatable in the locale of the browser accessing node-red. The node status text is set in the runtime. So that it can support translations, the editor first checks the node message catalog to see if the text passed over status is actually a key into the message catalog. If it is, it displays the translated message - otherwise the original text is displayed.
And that's what's causes the error message you see to appear. It should be falling back to your original text in this case... so long story short, this is a bug which needs fixing.
Nick