Label reference error in sentiment node

Hi.
I noticed that I was using sentiment node, so I posted.

What

Label reference error in sentiment node.

Environment

  • Node-RED: v0.20.7
  • Node.js: v10.13.0
  • node-red-node-sentiment: 0.1.3
  • MacOS : 10.14.5

Why

It is because common.label.name is not node-red:common.label.name .

<div class="form-row">
        <label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label>
        <input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
    </div>

This is a reference error, so I did a Pull Request.

2 Likes

Good spot. Thanks

1 Like