From f194a8ecf4012a2e31c4213f604fdb573673785a Mon Sep 17 00:00:00 2001 From: Hiroyasu Nishiyama Date: Wed, 7 Oct 2020 11:08:23 +0900 Subject: [PATCH] i18n module refresh tooltip --- .../@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/palette-editor.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 9fe4ef33e..e68fe32f9 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 @@ -545,6 +545,7 @@ "sortRecent": "recent", "more": "+ __count__ more", "upload": "Upload module tgz file", + "refresh": "Refresh module list", "errors": { "catalogLoadFailed": "

Failed to load node catalogue.

Check the browser console for more information

", "installFailed": "

Failed to install: __module__

__message__

Check the log for more information

", 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 207ab0ad7..feaa627e5 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 @@ -545,6 +545,7 @@ "sortRecent": "日付順", "more": "+ さらに __count__ 個", "upload": "モジュールのtgzファイルをアップロード", + "refresh": "モジュールリスト更新", "errors": { "catalogLoadFailed": "

ノードのカタログの読み込みに失敗しました。

詳細はブラウザのコンソールを確認してください。

", "installFailed": "

追加処理が失敗しました: __module__

__message__

詳細はログを確認してください。

", diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js index e2bb3b30f..b0aeed0fe 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js @@ -796,7 +796,7 @@ RED.palette.editor = (function() { loadedIndex = {}; initInstallTab(); }) - RED.popover.tooltip(refreshButton,"NLS-TODO: Refresh module list"); + RED.popover.tooltip(refreshButton,RED._("palette.editor.refresh")); packageList = $('
    ',{style:"position: absolute;top: 79px;bottom: 0;left: 0;right: 0px;"}).appendTo(installTab).editableList({ addButton: false,