diff --git a/packages/node_modules/@node-red/editor-client/src/tours/first-flow.js b/packages/node_modules/@node-red/editor-client/src/tours/first-flow.js index e7eed1d0f..b26ee7d8f 100644 --- a/packages/node_modules/@node-red/editor-client/src/tours/first-flow.js +++ b/packages/node_modules/@node-red/editor-client/src/tours/first-flow.js @@ -1,14 +1,23 @@ export default { steps: [ { - title: "Create your first flow", + title: { + 'en-US': 'Create your first flow', + 'ja': 'はじめてのフローを作成' + }, width: 400, - description: 'This tutorial will guide you through creating your first flow', + description: { + 'en-US': 'This tutorial will guide you through creating your first flow', + 'ja': '本チュートリアルでは、はじめてのフローを作成する方法について説明します。' + }, nextButton: 'start' }, { element: "#red-ui-workspace .red-ui-tab-button.red-ui-tabs-add", - description: 'To add a new tab, click the button', + description: { + 'en-US': 'To add a new tab, click the button', + 'ja': '新しいタブを追加するため、 ボタンをクリックします。' + }, wait: { type: "dom-event", event: "click", @@ -18,7 +27,10 @@ export default { { element: '.red-ui-palette-node[data-palette-type="inject"]', direction: 'right', - description: 'The palette lists all of the nodes available to use. Drag a new Inject node into the workspace.', + description: { + 'en-US': 'The palette lists all of the nodes available to use. Drag a new Inject node into the workspace.', + 'ja': 'パレットには、利用できる全てのノードが一覧表示されます。injectノードをワークスペースにドラッグします。' + }, fallback: 'inset-bottom-right', wait: { type: "nr-event", @@ -38,7 +50,10 @@ export default { { element: '.red-ui-palette-node[data-palette-type="debug"]', direction: 'right', - description: 'Next, drag a new Debug node into the workspace.', + description: { + 'en-US': 'Next, drag a new Debug node into the workspace.', + 'ja': '次に、debugノードをワークスペースにドラッグします。' + }, fallback: 'inset-bottom-right', wait: { type: "nr-event", @@ -57,7 +72,10 @@ export default { }, { element: function() { return $("#"+this.injectNode.id+" .red-ui-flow-port") }, - description: 'Add a wire from the output of the Inject node to the input of the Debug node', + description: { + 'en-US': 'Add a wire from the output of the Inject node to the input of the Debug node', + 'ja': 'injectノードの出力から、debugノードの入力へワイヤーで接続します。' + }, fallback: 'inset-bottom-right', wait: { type: "nr-event", @@ -69,7 +87,10 @@ export default { }, { element: "#red-ui-header-button-deploy", - description: 'Deploy your changes so the flow is active in the runtime', + description: { + 'en-US': 'Deploy your changes so the flow is active in the runtime', + 'ja': 'フローをランタイムで実行させるため、変更をデプロイします。' + }, width: 200, wait: { type: "dom-event",