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 a2ee81767..ab19d459e 100644 --- a/packages/node_modules/@node-red/editor-client/locales/ja/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/ja/editor.json @@ -27,7 +27,8 @@ "lock": "固定", "unlock": "固定を解除", "locked": "固定済み", - "unlocked": "固定なし" + "unlocked": "固定なし", + "format": "形式" }, "type": { "string": "文字列", @@ -281,8 +282,8 @@ "selected": "選択したフロー", "current": "現在のタブ", "all": "全てのタブ", - "compact": "インデントのないJSONフォーマット", - "formatted": "インデント付きのJSONフォーマット", + "compact": "インデントなし", + "formatted": "インデント付き", "copy": "書き出し", "export": "ライブラリに書き出し", "exportAs": "書き出し先", @@ -923,6 +924,8 @@ } }, "typedInput": { + "selected": "__count__個を選択", + "selected_plural": "__count__個を選択", "type": { "str": "文字列", "num": "数値", diff --git a/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js b/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js index ad9739095..6ea4767cf 100644 --- a/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js +++ b/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js @@ -534,9 +534,7 @@ in your Node-RED user directory (${RED.settings.userDir}). opts.headers[clSet] = opts.headers['content-length']; delete opts.headers['content-length']; } - if (!opts.headers.hasOwnProperty('user-agent')) { - opts.headers['user-agent'] = 'Mozilla/5.0 (Node-RED)'; - } + if (proxyUrl) { const match = proxyUrl.match(/^(https?:\/\/)?(.+)?:([0-9]+)?/i); if (match) {