From 6182e22d1868b5fdea18bdb6bfec2c276df9af08 Mon Sep 17 00:00:00 2001 From: Kazuhito Yokoi Date: Sun, 22 May 2022 11:56:21 +0900 Subject: [PATCH] Add string label to typedInput in file nodes --- .../node_modules/@node-red/nodes/core/storage/10-file.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/node_modules/@node-red/nodes/core/storage/10-file.html b/packages/node_modules/@node-red/nodes/core/storage/10-file.html index ddddcb687..69e91e3c5 100755 --- a/packages/node_modules/@node-red/nodes/core/storage/10-file.html +++ b/packages/node_modules/@node-red/nodes/core/storage/10-file.html @@ -237,7 +237,8 @@ }).text(label).appendTo(encSel); $("#node-input-filename").typedInput({ default: "msg", - types:[{ value: "str", label:"", icon:"red/images/typedInput/az.svg"}, "msg", "jsonata", "env"], + types:[{ value: "str", label: RED._("common.type.string"), + icon: "red/images/typedInput/az.svg"}, "msg", "jsonata", "env"], typeField: $("#node-input-filenameType") }); if(typeof node.filenameType == 'undefined') { @@ -342,7 +343,8 @@ }).text(label).appendTo(encSel); $("#node-input-filename").typedInput({ default: "msg", - types:[{ value: "str", label:"", icon:"red/images/typedInput/az.svg"}, "msg", "jsonata", "env"], + types:[{ value: "str", label: RED._("common.type.string"), + icon:"red/images/typedInput/az.svg"}, "msg", "jsonata", "env"], typeField: $("#node-input-filenameType") }); if(typeof node.filenameType == 'undefined') {