From 2783100f840af53027b98c5619ff416dbc658b88 Mon Sep 17 00:00:00 2001 From: Kazuhito Yokoi Date: Sun, 23 Jun 2024 20:48:34 +0900 Subject: [PATCH 1/2] Add Japanese translations for v4.0.0 --- .../@node-red/editor-client/locales/ja/editor.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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": "数値", From e7ef73222f04a2e7284d1d496c890f00f2cfe20d Mon Sep 17 00:00:00 2001 From: Stephen McLaughlin <44235289+Steve-Mcl@users.noreply.github.com> Date: Mon, 24 Jun 2024 11:21:51 +0100 Subject: [PATCH 2/2] Remove default user agent closes #4787 --- .../@node-red/nodes/core/network/21-httprequest.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) {