From ff759a8074df6dd89cac3745c5103b6920933ef8 Mon Sep 17 00:00:00 2001 From: Hiroyasu Nishiyama Date: Tue, 5 Feb 2019 13:12:21 +0900 Subject: [PATCH] use common i18 label for variable name placeholder --- .../@node-red/editor-client/locales/en-US/editor.json | 3 +-- .../@node-red/editor-client/locales/ja/editor.json | 3 +-- .../node_modules/@node-red/editor-client/src/js/ui/editor.js | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json b/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json index 4e574a2b1..cbfdca9cd 100755 --- a/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json @@ -903,7 +903,6 @@ "properties": "Properties", "description": "Description", "appearance": "Appearance", - "env": "Environment Variables", - "name": "name" + "env": "Environment Variables" } } diff --git a/packages/node_modules/@node-red/editor-client/locales/ja/editor.json b/packages/node_modules/@node-red/editor-client/locales/ja/editor.json index 76cb01f21..2d412cb0d 100755 --- a/packages/node_modules/@node-red/editor-client/locales/ja/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/ja/editor.json @@ -902,7 +902,6 @@ "properties": "プロパティ", "description": "説明", "appearance": "外観", - "env": "環境変数", - "name": "変数名" + "env": "環境変数" } } diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js index dad1722a2..7678c8ca8 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js @@ -554,7 +554,7 @@ RED.editor = (function() { class: "node-input-env-name", type: "text", style: "margin-left: 5px; width: calc(40% - 5px)", - placeholder: RED._("editor-tab.name") + placeholder: RED._("common.label.name") }).appendTo(row); var valueField = $('',{ class: "node-input-env-value",