1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

add placeholder for env var name

This commit is contained in:
Hiroyasu Nishiyama 2019-01-27 21:56:13 +09:00
parent a413f3cded
commit 2b43e3ee23
3 changed files with 6 additions and 3 deletions

View File

@ -902,6 +902,7 @@
"properties": "Properties", "properties": "Properties",
"description": "Description", "description": "Description",
"appearance": "Appearance", "appearance": "Appearance",
"env": "Env Var" "env": "Env Var",
"name": "name"
} }
} }

View File

@ -902,6 +902,7 @@
"properties": "プロパティ", "properties": "プロパティ",
"description": "説明", "description": "説明",
"appearance": "外観", "appearance": "外観",
"env": "環境変数" "env": "環境変数",
"name": "変数名"
} }
} }

View File

@ -550,7 +550,8 @@ RED.editor = (function() {
var nameField = $('<input/>', { var nameField = $('<input/>', {
class: "node-input-env-name", class: "node-input-env-name",
type: "text", type: "text",
style: "margin-length: 5px; width: 32%;" style: "margin-length: 5px; width: 32%;",
placeholder: RED._("editor-tab.name")
}).appendTo(row); }).appendTo(row);
var valueField = $('<input/>',{ var valueField = $('<input/>',{
class: "node-input-env-value", class: "node-input-env-value",