From b4a027895b8d6c0d22a380c6d155fb99c348e01b Mon Sep 17 00:00:00 2001 From: lmliheng <0110230306@csu.edu.cn> Date: Tue, 20 Oct 2026 08:27:22 +0800 Subject: [PATCH] fix: translate the remaining English page titles and blog cards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 4 个页面的 title 还是英文(内置 React 组件 / React 社区 / 客户端 React DOM API / React 博客),而侧边栏和正文都已是中文,页面标题与侧边栏对不上。 - 博客索引页还有 4 张卡片是英文标题 + 英文摘要,其余卡片都是中文。 - 索引页里 12 张卡片的日期仍是 "October 7, 2025" 这种英文写法,统一成 「2025 年 10 月 7 日」,与同文件其他卡片一致。 --- src/content/blog/index.md | 34 +++++++++---------- src/content/community/index.md | 2 +- .../reference/react-dom/client/index.md | 2 +- src/content/reference/react/components.md | 2 +- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/content/blog/index.md b/src/content/blog/index.md index fe7c71f6c9..16232d0fe5 100644 --- a/src/content/blog/index.md +++ b/src/content/blog/index.md @@ -1,5 +1,5 @@ --- -title: React Blog +title: React 博客 --- @@ -11,9 +11,9 @@ title: React Blog
- + -The React Foundation has officially launched under the Linux Foundation. +React 基金会已在 Linux 基金会旗下正式启动。 @@ -35,67 +35,67 @@ The React Foundation has officially launched under the Linux Foundation. - + 我们今天将发布 React Compiler 的第一个稳定发布版,以及 linting 和工具改进,使采用更加容易。 - + -Today, we're announcing our plans to create the React Foundation and a new technical governance structure ... +今天,我们宣布了创建 React 基金会以及一套新的技术治理结构的计划…… - + -React 19.2 adds new features like Activity, React Performance Tracks, useEffectEvent, and more. In this post ... +React 19.2 新增了 Activity、React 性能追踪、useEffectEvent 等特性。在本文中,我们将概述这些新特性…… - + -In React Labs posts, we write about projects in active research and development. In this post, we're sharing two new experimental features that are ready to try today, and sharing other areas we're working on now ... +在 React Labs 系列文章中,我们会介绍正在积极研究和开发的项目。本文将分享两个已经可供测试的新实验性功能,以及其他正在开发中功能的最新进展…… - + 今日起,我们将正式弃用 Create React App 作为新应用的推荐工具,并建议现有应用迁移至框架或构建工具(如 Vite、Parcel 和 RSBuild)。我们还提供了相关文档用于这些情况:你的项目不适合使用框架、你想要构建自己的框架,或者只是想通过从零开始构建一个 React 应用来了解 React 的工作原理等等…… - + 在我们的 React 19 升级指南中, 我们分享了将应用程序升级到 React 19 的分步说明。在这篇文章中,我们将概述 React 19 的新特性,以及如何使用它们…… - + 我们在 React Conf 2024 上宣布了 React Compiler 的实验性版本。从那时起我们已经取得了很多进展,在这篇文章中,我们将分享 React Compiler 下一步要做的事情…… - + 上周我们在内华达州亨德森举办了为期两天的 React Conf 2024 大会,有 700 多名与会者亲临现场,讨论 UI 工程领域的最新进展。这是我们自 2019 年以来首次举办线下会议,我们很高兴能够再次将社区团结在一起…… - + React 19 中新增的改进需要一些破坏性变更,但我们已经尽力让升级过程尽可能平滑,我们预计这些变更不会影响大多数应用。在这篇文章中,我们将指导你完成将库升级到 React 19 的步骤…… - + 在 React Labs 的文章中,我们讲述了正在进行研究与开发的项目。自从上次更新以来,我们在 React 编译器、新功能和 React 19 方面取得了重大进展,除此之外我们还想要分享我们从中学到的东西。 - + 在过去,React 的新功能将仅在 Meta 中使用,然后才会在开源版本中发布。我们希望为 React 社区提供一种选择,使他们能够在新功能设计接近最终状态时立即采用这些功能——类似于 Meta 内部使用 React 的方式。我们正在推出一个新的官方支持的 Canary 发布渠道。它允许像框架这样的精选设置,对单个 React 功能的采用与 React 发布计划分离开。 diff --git a/src/content/community/index.md b/src/content/community/index.md index 4135584de9..4158bb4375 100644 --- a/src/content/community/index.md +++ b/src/content/community/index.md @@ -1,5 +1,5 @@ --- -title: React Community +title: React 社区 --- diff --git a/src/content/reference/react-dom/client/index.md b/src/content/reference/react-dom/client/index.md index 383627a8b1..cd8b6ace62 100644 --- a/src/content/reference/react-dom/client/index.md +++ b/src/content/reference/react-dom/client/index.md @@ -1,5 +1,5 @@ --- -title: Client React DOM API +title: "客户端 React DOM API" translators: - neo-of-matrix --- diff --git a/src/content/reference/react/components.md b/src/content/reference/react/components.md index d7a8ea5318..4cd421e459 100644 --- a/src/content/reference/react/components.md +++ b/src/content/reference/react/components.md @@ -1,5 +1,5 @@ --- -title: "Built-in React Components" +title: "内置 React 组件" ---