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

Merge pull request #3623 from node-red-hitachi/i18n-debug-sidebar-node-label

i18n debug sidebar node label
This commit is contained in:
Stephen McLaughlin 2022-05-24 07:03:14 +01:00 committed by GitHub
commit 3ace7eeafd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -582,7 +582,7 @@ RED.debug = (function() {
$('<span class="red-ui-debug-msg-date">'+ getTimestamp()+'</span>').appendTo(metaRow); $('<span class="red-ui-debug-msg-date">'+ getTimestamp()+'</span>').appendTo(metaRow);
if (sourceNode) { if (sourceNode) {
var nodeLink = $('<a>',{href:"#",class:"red-ui-debug-msg-name"}).text("node: "+(o.name||sourceNode.name||sourceNode.id)) var nodeLink = $('<a>',{href:"#",class:"red-ui-debug-msg-name"}).text(RED._("node-red:debug.node")+": "+(o.name||sourceNode.name||sourceNode.id))
.appendTo(metaRow) .appendTo(metaRow)
.on("click", function(evt) { .on("click", function(evt) {
evt.preventDefault(); evt.preventDefault();

View File

@ -137,6 +137,7 @@
"toConsole": "system console", "toConsole": "system console",
"toStatus": "node status (32 characters)", "toStatus": "node status (32 characters)",
"severity": "Level", "severity": "Level",
"node": "node",
"notification": { "notification": {
"activated": "Successfully activated: __label__", "activated": "Successfully activated: __label__",
"deactivated": "Successfully deactivated: __label__" "deactivated": "Successfully deactivated: __label__"

View File

@ -137,6 +137,7 @@
"toConsole": "システムコンソール", "toConsole": "システムコンソール",
"toStatus": "ノードステータス(32 文字)", "toStatus": "ノードステータス(32 文字)",
"severity": "Level", "severity": "Level",
"node": "ノード",
"notification": { "notification": {
"activated": "有効化しました: __label__", "activated": "有効化しました: __label__",
"deactivated": "無効化しました: __label__" "deactivated": "無効化しました: __label__"