NLS status text in editor not runtime

This commit is contained in:
Nick O'Leary
2015-07-01 23:02:50 +01:00
parent fbccf01933
commit 726069bc4b
5 changed files with 36 additions and 33 deletions

View File

@@ -85,6 +85,9 @@ var RED = (function() {
var parts = topic.split("/");
var node = RED.nodes.node(parts[1]);
if (node) {
if (msg.text) {
msg.text = node._(msg.text,{defaultValue:msg.text});
}
node.status = msg;
if (statusEnabled) {
node.dirty = true;