From 266ee2ca815958720b431b14659f0c3e3cdbb316 Mon Sep 17 00:00:00 2001 From: Kazuhito Yokoi Date: Tue, 12 May 2020 20:06:07 +0900 Subject: [PATCH] Add Japanese translations for Outliner --- .../@node-red/editor-client/locales/en-US/editor.json | 1 + .../node_modules/@node-red/editor-client/locales/ja/editor.json | 1 + .../@node-red/editor-client/src/js/ui/tab-info-outliner.js | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) 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 74584829f..f71bd2577 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 @@ -594,6 +594,7 @@ "arrayItems": "__count__ items", "showTips":"You can open the tips from the settings panel", "outline": "Outline", + "empty": "empty", "globalConfig": "Global Configuration Nodes" }, "help": { 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 4260d0a67..b16b690cb 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 @@ -594,6 +594,7 @@ "arrayItems": "__count__ 要素", "showTips": "設定からヒントを表示できます", "outline": "アウトライン", + "empty": "空", "globalConfig": "グローバル設定ノード" }, "help": { diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/tab-info-outliner.js b/packages/node_modules/@node-red/editor-client/src/js/ui/tab-info-outliner.js index ec06808e7..b1a68094f 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/tab-info-outliner.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/tab-info-outliner.js @@ -54,7 +54,7 @@ RED.sidebar.info.outliner = (function() { function getEmptyItem(id) { var item = { empty: true, - element: $('
').text("empty") + element: $('
').text(RED._("sidebar.info.empty")), } empties[id] = item; return item;