From afdb15dc581c09030a2bf4e0eb9b690f966a0cd6 Mon Sep 17 00:00:00 2001 From: Mauricio Bonani Date: Wed, 18 May 2022 10:28:36 -0400 Subject: [PATCH 1/2] Use the correct variable for the gutter text color --- packages/node_modules/@node-red/editor-client/src/sass/ace.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/sass/ace.scss b/packages/node_modules/@node-red/editor-client/src/sass/ace.scss index cd3739800..4e913942e 100644 --- a/packages/node_modules/@node-red/editor-client/src/sass/ace.scss +++ b/packages/node_modules/@node-red/editor-client/src/sass/ace.scss @@ -28,7 +28,7 @@ border-radius: 1px; } .ace_gutter-cell { - color: $text-editor-color; + color: $text-editor-gutter-color; } .ace_gutter-active-line { background: $text-editor-gutter-active-line-background; From a1474581208faf5dab31994822ce224c8ccff3f4 Mon Sep 17 00:00:00 2001 From: Hiroyasu Nishiyama Date: Sun, 22 May 2022 16:28:11 +0900 Subject: [PATCH 2/2] i18n debug sidebar node label --- .../@node-red/nodes/core/common/lib/debug/debug-utils.js | 2 +- .../node_modules/@node-red/nodes/locales/en-US/messages.json | 1 + packages/node_modules/@node-red/nodes/locales/ja/messages.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/nodes/core/common/lib/debug/debug-utils.js b/packages/node_modules/@node-red/nodes/core/common/lib/debug/debug-utils.js index 85a55c4a5..5782c6ffc 100644 --- a/packages/node_modules/@node-red/nodes/core/common/lib/debug/debug-utils.js +++ b/packages/node_modules/@node-red/nodes/core/common/lib/debug/debug-utils.js @@ -582,7 +582,7 @@ RED.debug = (function() { $(''+ getTimestamp()+'').appendTo(metaRow); if (sourceNode) { - var nodeLink = $('',{href:"#",class:"red-ui-debug-msg-name"}).text("node: "+(o.name||sourceNode.name||sourceNode.id)) + var nodeLink = $('',{href:"#",class:"red-ui-debug-msg-name"}).text(RED._("node-red:debug.node")+": "+(o.name||sourceNode.name||sourceNode.id)) .appendTo(metaRow) .on("click", function(evt) { evt.preventDefault(); diff --git a/packages/node_modules/@node-red/nodes/locales/en-US/messages.json b/packages/node_modules/@node-red/nodes/locales/en-US/messages.json index e3a435619..1c3f2b946 100755 --- a/packages/node_modules/@node-red/nodes/locales/en-US/messages.json +++ b/packages/node_modules/@node-red/nodes/locales/en-US/messages.json @@ -137,6 +137,7 @@ "toConsole": "system console", "toStatus": "node status (32 characters)", "severity": "Level", + "node": "node", "notification": { "activated": "Successfully activated: __label__", "deactivated": "Successfully deactivated: __label__" diff --git a/packages/node_modules/@node-red/nodes/locales/ja/messages.json b/packages/node_modules/@node-red/nodes/locales/ja/messages.json index 3d6f53209..c331f5912 100644 --- a/packages/node_modules/@node-red/nodes/locales/ja/messages.json +++ b/packages/node_modules/@node-red/nodes/locales/ja/messages.json @@ -137,6 +137,7 @@ "toConsole": "システムコンソール", "toStatus": "ノードステータス(32 文字)", "severity": "Level", + "node": "ノード", "notification": { "activated": "有効化しました: __label__", "deactivated": "無効化しました: __label__"