From 3af5ada5c09c54cc8649c0c850026c9f5640ee97 Mon Sep 17 00:00:00 2001 From: logan-milkv Date: Mon, 26 Aug 2024 18:30:00 +0800 Subject: [PATCH] feat: add text translation(Duo Module 01) --- i18n/en/code.json | 56 ++++++++++++++++++++++++++++++++ i18n/ja/code.json | 56 ++++++++++++++++++++++++++++++++ i18n/ru/code.json | 56 ++++++++++++++++++++++++++++++++ i18n/zh/code.json | 56 ++++++++++++++++++++++++++++++++ src/pages/duo-module-01/index.js | 29 +++++++++-------- 5 files changed, 239 insertions(+), 14 deletions(-) diff --git a/i18n/en/code.json b/i18n/en/code.json index 6e423a19..85fd3185 100644 --- a/i18n/en/code.json +++ b/i18n/en/code.json @@ -1200,5 +1200,61 @@ "docs.contributors": { "description": "Contributors", "message": "Contributors" + }, + "page.duo01.text1": { + "message": "Built-in Main Functions", + "description": " " + }, + "page.duo01.text2": { + "message": "'Five' Core", + "description": " " + }, + "page.duo01.text3": { + "message": "Compact size", + "description": " " + }, + "page.duo01.text4": { + "message": "Compatible with Duo / DuoS Software Ecosystem", + "description": " " + }, + "page.duo01.text5": { + "message": "Design Documentation Open Source", + "description": " " + }, + "page.duo01.text6": { + "message": "Easily design your own baseboards", + "description": " " + }, + "page.duo01.text7": { + "message": "Simple package design", + "description": " " + }, + "page.duo01.text8": { + "message": "Minimum of two layers of boards", + "description": " " + }, + "page.duo01.text9": { + "message": "Supports customized firmware (burning to eMMC)", + "description": " " + }, + "page.duo01.text10": { + "message": "Simple Production Process", + "description": " " + }, + "page.duo01.text11": { + "message": "Supports SMD to Baseboard", + "description": " " + }, + "page.duo01.text12": { + "message": "Evaluation Boards Available", + "description": " " + }, + "page.duo01.text13": { + "message": "Open source Reference Design", + "description": " " + }, + "page.duo01.text14": { + "message": "Complete Compliance Certification", + "description": " " } } \ No newline at end of file diff --git a/i18n/ja/code.json b/i18n/ja/code.json index 6c853257..6e6f11b0 100644 --- a/i18n/ja/code.json +++ b/i18n/ja/code.json @@ -1200,5 +1200,61 @@ "docs.contributors": { "description": "貢献者", "message": "Contributors" + }, + "page.duo01.text1": { + "message": "Built-in Main Functions", + "description": " " + }, + "page.duo01.text2": { + "message": "'Five' Core", + "description": " " + }, + "page.duo01.text3": { + "message": "Compact size", + "description": " " + }, + "page.duo01.text4": { + "message": "Compatible with Duo / DuoS Software Ecosystem", + "description": " " + }, + "page.duo01.text5": { + "message": "Design Documentation Open Source", + "description": " " + }, + "page.duo01.text6": { + "message": "Easily design your own baseboards", + "description": " " + }, + "page.duo01.text7": { + "message": "Simple package design", + "description": " " + }, + "page.duo01.text8": { + "message": "Minimum of two layers of boards", + "description": " " + }, + "page.duo01.text9": { + "message": "Supports customized firmware (burning to eMMC)", + "description": " " + }, + "page.duo01.text10": { + "message": "Simple Production Process", + "description": " " + }, + "page.duo01.text11": { + "message": "Supports SMD to Baseboard", + "description": " " + }, + "page.duo01.text12": { + "message": "Evaluation Boards Available", + "description": " " + }, + "page.duo01.text13": { + "message": "Open source Reference Design", + "description": " " + }, + "page.duo01.text14": { + "message": "Complete Compliance Certification", + "description": " " } } diff --git a/i18n/ru/code.json b/i18n/ru/code.json index 42bdae13..406cd1af 100644 --- a/i18n/ru/code.json +++ b/i18n/ru/code.json @@ -963,5 +963,61 @@ }, "Embracing": { "message": "Позвольте Milk-V обнять RISC-V" + }, + "page.duo01.text1": { + "message": "Built-in Main Functions", + "description": " " + }, + "page.duo01.text2": { + "message": "'Five' Core", + "description": " " + }, + "page.duo01.text3": { + "message": "Compact size", + "description": " " + }, + "page.duo01.text4": { + "message": "Compatible with Duo / DuoS Software Ecosystem", + "description": " " + }, + "page.duo01.text5": { + "message": "Design Documentation Open Source", + "description": " " + }, + "page.duo01.text6": { + "message": "Easily design your own baseboards", + "description": " " + }, + "page.duo01.text7": { + "message": "Simple package design", + "description": " " + }, + "page.duo01.text8": { + "message": "Minimum of two layers of boards", + "description": " " + }, + "page.duo01.text9": { + "message": "Supports customized firmware (burning to eMMC)", + "description": " " + }, + "page.duo01.text10": { + "message": "Simple Production Process", + "description": " " + }, + "page.duo01.text11": { + "message": "Supports SMD to Baseboard", + "description": " " + }, + "page.duo01.text12": { + "message": "Evaluation Boards Available", + "description": " " + }, + "page.duo01.text13": { + "message": "Open source Reference Design", + "description": " " + }, + "page.duo01.text14": { + "message": "Complete Compliance Certification", + "description": " " } } diff --git a/i18n/zh/code.json b/i18n/zh/code.json index 39b3f431..a6e0da0d 100644 --- a/i18n/zh/code.json +++ b/i18n/zh/code.json @@ -1074,5 +1074,61 @@ "docs.contributors": { "description": "Contributors", "message": "贡献者" + }, + "page.duo01.text1": { + "message": "核心功能全集成", + "description": " " + }, + "page.duo01.text2": { + "message": "'五核'异构", + "description": " " + }, + "page.duo01.text3": { + "message": "超小尺寸", + "description": " " + }, + "page.duo01.text4": { + "message": "兼容 Duo/Duo S 软硬件生态", + "description": " " + }, + "page.duo01.text5": { + "message": "设计资料全开源", + "description": " " + }, + "page.duo01.text6": { + "message": "底板设计简单", + "description": " " + }, + "page.duo01.text7": { + "message": "封装简单", + "description": " " + }, + "page.duo01.text8": { + "message": "底板最简只需两层板", + "description": " " + }, + "page.duo01.text9": { + "message": "支持定制化固件(预烧录至eMMC中)", + "description": " " + }, + "page.duo01.text10": { + "message": "轻松地生产", + "description": " " + }, + "page.duo01.text11": { + "message": "支持作为贴片元件使用", + "description": " " + }, + "page.duo01.text12": { + "message": "提供评估板", + "description": " " + }, + "page.duo01.text13": { + "message": "开放参考设计", + "description": " " + }, + "page.duo01.text14": { + "message": "完善的合规性认证", + "description": " " } } \ No newline at end of file diff --git a/src/pages/duo-module-01/index.js b/src/pages/duo-module-01/index.js index 178ac157..92350ea0 100644 --- a/src/pages/duo-module-01/index.js +++ b/src/pages/duo-module-01/index.js @@ -2,6 +2,7 @@ import React from "react"; import ChipsView from "@site/src/components/ChipsView"; import styles from './index.module.css'; import clsx from "clsx"; +import Translate from '@docusaurus/Translate'; export default () => { @@ -10,7 +11,7 @@ export default () => {
-

Built-in Main Functions

+

  1. @@ -41,18 +42,18 @@ export default () => {
    -

    "Five Core"

    +

    Built-in RV64GCV / Cortex-A53 with RV64GC, 8051
    Built-in 0.5TOPS@INT8 TPU

    Five Core
    -

    Compact size

    +

    25*25 mm(≈ 0.98inch)

    Size View
    -

    Compatible with Duo / DuoS Software Ecosystem

    +

    1. Buildroot @@ -92,7 +93,7 @@ export default () => {
    -

    Design Documentation Open Source

    +

    1. 2D Design Files @@ -113,30 +114,30 @@ export default () => {
    -

    Easily design your own baseboards

    +

    Line Drawing
      -
    • Simple package design
    • -
    • Minimum of two layers of boards
    • -
    • Supports customized firmware (burning to eMMC)
    • +
    • +
    • +
    -

    Simple Production Process

    -

    Supports SMD to Baseboard

    +

    +

    Supports SMD to Baseboard
    -

    Evaluation Boards Available

    -

    Open source Reference Design

    +

    +

    Open source Reference Design
    -

    Complete Compliance Certification

    +

    Complete Compliance Certification