From 491a81938b959a9d509213cb4cbc4f1880e6ac60 Mon Sep 17 00:00:00 2001 From: tequ Date: Tue, 2 Jul 2024 10:04:10 +0900 Subject: [PATCH] [JA] translate tokenization page --- @i18n/ja/translations.yaml | 33 ++++++ about/impact.page.tsx | 2 +- docs/use-cases/tokenization/index.page.tsx | 116 +++++++++++---------- 3 files changed, 94 insertions(+), 57 deletions(-) diff --git a/@i18n/ja/translations.yaml b/@i18n/ja/translations.yaml index c43c7cfebb..5fd9d8d816 100644 --- a/@i18n/ja/translations.yaml +++ b/@i18n/ja/translations.yaml @@ -378,6 +378,39 @@ Get Free Test XRP: テスト用XRPを入手 Generate Testnet Credentials: テストネットのアカウントを作成 Connect to the XRP Ledger Testnet network to develop and test your apps built on the XRP Ledger, without risking real money or impacting production XRP Ledger users.: XRP Ledger Testnetに接続することで、現実の資産やMainnetユーザに影響を与えることなくXRP Ledger上に構築するアプリを開発・テストすることができます。 +# docs/use-cases/tokenization/index.page.tsx +Work with a variety of tokens supported by the XRP Ledger.: XRP Ledgerでサポートされている様々なトークンを扱いましょう。 +Explore the possibilities of tokenization on the XRP Ledger, revolutionizing ownership, transactions, and value exchange with unparalleled efficiency and security.: XRP Ledgerでのトークン化の可能性を探り、効率とセキュリティに優れた所有権、トランザクション、価値の交換に革命をもたらします。 +Authorized Minter: 認可Minter +Quick Start: クイックスタート +Learn more: もっと詳しく +Check out the security features you can tap into right from the chain without the hassle of piecing together smart contracts.: スマートコントラクトを組み合わせる手間をかけずに、チェーンから直接利用できるセキュリティ機能をご覧ください +Security advantages: セキュリティ上の利点 +Trust Lines & Authorized Trust Lines: トラストラインと認可トラストライン +Trust Lines: トラストライン +No spamming of wallets without permission.: 許可なくウォレットにスパムを送信することはありません。 +Authorized Trustlines: 認可トラストライン +Control who can hold your tokens with allowlisting.: ホワイトリスト形式で誰がトークンを保持できるかを制御します。 +Freeze & Clawbacks: 凍結とクローバック +Freeze: 凍結 +If you see signs of suspicious activity, you can suspend trading of your token while investigating the issue.: 不審な活動の兆候が見られた場合は、問題を調査する間、トークンの取引を停止することができます。 +Clawback: クローバック +"Recover tokens distributed to accounts in error: for example, reclaim funds sent to an account sanctioned for illegal activity.": 誤ってアカウントに送信されたトークンを回収することができます。たとえば、違法行為に対して制裁を受けたアカウントに送金された資金を回収します。 +Non-transferable Tokens: 譲渡不可トークン +Transferable flag: 譲渡可能フラグ +Native support for nontransferable items such as identity tokens, airline credits, and consumer rewards, honored by all on-chain participants.: 譲渡不可のアイテム(IDトークン、航空会社のクレジット、消費者向けリワードなど)に対するネイティブサポートがあり、すべてのオンチェーン参加者によって認識されます。 +Royalties: ロイヤリティ +NFT Transfer Fees: NFTの売買手数料 +Reliably collect your percentage of the sale price of your tokens.: トークンの売却価格の一部を確実に収集します。 +Stats: 統計 +NFTs minted: 作成されたNFT +NFT trading volume: NFTの取引量 +Network speed (sec): ネットワーク速度(秒) +Avg fee per NFT tx: NFTトランザクションごとの平均手数料 +Featured real world projects: 注目の実世界プロジェクト +Related Articles: 関連記事 +More related articles: 追加の関連記事 + # community/index.page.tsx XRPL Community: XRPLコミュニティ community.index.h1part1: 開発者とイノベーターによる diff --git a/about/impact.page.tsx b/about/impact.page.tsx index db280fee22..81c3082211 100644 --- a/about/impact.page.tsx +++ b/about/impact.page.tsx @@ -4,7 +4,7 @@ import mapDark from "../static/js/impact/mapDark.json"; import mapLight from "../static/js/impact/mapLight.json"; import { useLottie } from "lottie-react"; import { useThemeFromClassList } from "../@theme/helpers"; -import { Link } from '@portal/Link'; +import { Link } from "@redocly/theme/components/Link/Link"; export const frontmatter = { seo: { diff --git a/docs/use-cases/tokenization/index.page.tsx b/docs/use-cases/tokenization/index.page.tsx index 6a2852f208..daddfc1a23 100644 --- a/docs/use-cases/tokenization/index.page.tsx +++ b/docs/use-cases/tokenization/index.page.tsx @@ -1,9 +1,7 @@ import React, { useRef, useState } from "react"; -import { useTranslate } from "@portal/hooks"; +import { useThemeHooks } from '@redocly/theme/core/hooks'; import { NavList } from "shared/components/nav-list"; -import { Link } from '@portal/Link'; - -const { translate } = useTranslate(); +import { Link } from "@redocly/theme/components/Link/Link"; export const frontmatter = { seo: { @@ -32,69 +30,73 @@ const useCases = [ }, ]; +const SecurityAdvantageCard = (securityAdvantageContents) => { + const { useTranslate } = useThemeHooks(); + const { translate } = useTranslate(); + return securityAdvantageContents.map((content) => ( +
+
{translate(content.subtitle)}:
+
+ {translate(content.description)} +
+
+ )) +} + const securityAdvantages = [ { id: "trustlines", title: "Trust Lines & Authorized Trust Lines", - description: ( - <> -
{translate("Trust Lines:")}
-
- {translate("No spamming of wallets without permission.")} -
-
{translate("Authorized Trustlines:")}
-
- {translate( - "Control who can hold your tokens with allowlisting." - )} -
- - ), + contents: [ + { + href: "/docs/concepts/tokens/fungible-tokens/", + subtitle: "Trust Lines", + description: "No spamming of wallets without permission.", + }, + { + href: "/docs/concepts/tokens/fungible-tokens/authorized-trust-lines/", + subtitle: "Authorized Trustlines", + description: "Control who can hold your tokens with allowlisting.", + }, + ], }, { id: "freeze-clawbacks", title: "Freeze & Clawbacks", - description: ( - <> -
{translate("Freeze:")}
-
- {translate( - "If you see signs of suspicious activity, you can suspend trading of your token while investigating the issue." - )} -
-
{translate("Clawback:")}
-
- {translate( - "Recover tokens distributed to accounts in error: for example, reclaim funds sent to an account sanctioned for illegal activity." - )} -
- - ), + contents: [ + { + href: "/docs/concepts/tokens/fungible-tokens/", + subtitle: "Freeze", + description: "If you see signs of suspicious activity, you can suspend trading of your token while investigating the issue.", + }, + { + href: "/docs/concepts/tokens/fungible-tokens/clawing-back-tokens/", + subtitle: "Clawback", + description: "Recover tokens distributed to accounts in error: for example, reclaim funds sent to an account sanctioned for illegal activity.", + }, + ], }, { id: "ntf-tokens", title: "Non-transferable Tokens", - description: ( - <> -
{translate("Transferable flag:")}
- {translate( - "Native support for nontransferable items such as identity tokens, airline credits, and consumer rewards, honored by all on-chain participants." - )} - - ), + contents: [ + { + href: "/docs/concepts/tokens/nfts/non-transferable-tokens/", + subtitle: "Transferable flag", + description: "Native support for nontransferable items such as identity tokens, airline credits, and consumer rewards, honored by all on-chain participants.", + }, + ], }, { id: "royalties", title: "Royalties", - subtitle: "Secures Creator Compensation:", - description: ( - <> -
{translate("NFT Transfer Fees:")}
- {translate( - "Reliably collect your percentage of the sale price of your tokens." - )} - - ), + contents: [ + { + href: "/docs/references/protocol/data-types/nftoken/#transferfee", + subtitle: "NFT Transfer Fees", + description: "Reliably collect your percentage of the sale price of your tokens.", + }, + ], }, ]; @@ -135,7 +137,7 @@ const projects = [ { id: "xaman", label: "Xaman labs", - url: "https://github.com/XRPL-Labs/Xaman-App", + url: "https://xumm.app", }, { id: "amy", @@ -254,6 +256,8 @@ const FeaturedProjects = () => { export default function Tokenization() { const modalRef = useRef(null); + const { useTranslate } = useThemeHooks(); + const { translate } = useTranslate(); return (
@@ -286,12 +290,12 @@ export default function Tokenization() {
- {translate("Quick Start")} - {" "} + {" "}

{translate(advantage.title)}

-
{advantage.description}
+ {SecurityAdvantageCard(advantage.contents)}
))}