tidy some labels

This commit is contained in:
Dave Conway-Jones
2018-04-14 22:43:14 +01:00
parent 99b83ea4bd
commit 025f97206f
9 changed files with 18 additions and 4 deletions

View File

@@ -40,7 +40,6 @@
RED.nodes.registerType('data-generator',{
color:"rgb(243, 181, 103)",
category: 'function',
paletteLabel:"data generator",
defaults: {
name: {value:""},
field: {value:"payload"},
@@ -51,6 +50,9 @@
inputs:1,
outputs:1,
icon: "template.png",
paletteLabel: function() {
return this._("datagen.datagen");
},
label: function() {
return this.name || "data generator";
},

View File

@@ -1,5 +1,6 @@
{
"datagen": {
"datagen": "datagenerator",
"label": {
"syntax": "Return",
"text": "a text string",