From d528533d399f164fd9021d843b44c77491b58bd5 Mon Sep 17 00:00:00 2001 From: tequ Date: Mon, 8 Jul 2024 12:51:41 +0900 Subject: [PATCH] [JA] translate websocket-api-tool page and related component --- @i18n/ja/translations.yaml | 23 ++++++++++++++++++- .../components/websocket-api/curl-modal.tsx | 6 ++--- .../websocket-api/data/command-list.json | 1 - .../websocket-api/right-sidebar.tsx | 14 ++++++++--- .../dev-tools/websocket-api-tool.page.tsx | 11 +++++---- 5 files changed, 42 insertions(+), 13 deletions(-) diff --git a/@i18n/ja/translations.yaml b/@i18n/ja/translations.yaml index bae5ceafbd..fa32745401 100644 --- a/@i18n/ja/translations.yaml +++ b/@i18n/ja/translations.yaml @@ -616,6 +616,28 @@ expand tx: txを展開 expand all: すべて展開 collapse all: すべて閉じる +# resources/dev-tools/websocket-api-tool.page.tsx +# TODO: translate currentMethod.description +Read more: 詳細を見る +Request: リクエスト +Send request: リクエストを送信 +Connected: 接続済み +Not Connected: 未接続 +Failed to Connect: 接続に失敗 +Responses: レスポンス +"Keep last:": 表示数 +# resources/dev-tools/websocket-api/connection-modal.tsx +Connection Settings: 接続先設定 +Close: 閉じる +# resources/dev-tools/websocket-api/curl-modal.tsx +cURL Syntax: cURL構文 +resources.dev-tools.websocket-api.curl.modal.desc.part1: コマンドラインインターフェースから +resources.dev-tools.websocket-api.curl.modal.desc.part2: を使用してこれと同等のJSON-RPCリクエストを行うには、以下の構文を使用します。 +# resources/dev-tools/websocket-api/right-sidebar.tsx +API Methods: APIメソッド +Methods: メソッド +Examples: の例 + Open Source.: オープンソース Jump to top of page: ページの先頭へ Edit page: ページを編集 @@ -662,7 +684,6 @@ References and APIs: リファレンスとAPI Everything You Need to Know: 全てはここに XRP Ledger address, transaction ID, or ledger index: XRP Ledgerアドレス、トランザクションID、またはレジャーインデックス Status: ステータス -Not Connected: 接続されていません Transaction History: トランザクション履歴 Initialize: 初期化 Set up the necessary Testnet XRP addresses to send test payments.: テスト支払いに必要なTestnet XRPアドレスを設定する。 diff --git a/resources/dev-tools/components/websocket-api/curl-modal.tsx b/resources/dev-tools/components/websocket-api/curl-modal.tsx index cf9b1a2e90..6293ef9870 100644 --- a/resources/dev-tools/components/websocket-api/curl-modal.tsx +++ b/resources/dev-tools/components/websocket-api/curl-modal.tsx @@ -54,9 +54,9 @@ export const CurlModal: React.FC = ({