From 997922f2d7b342f1f89778941f0761717cc8d064 Mon Sep 17 00:00:00 2001 From: Jie Peng Date: Thu, 4 May 2023 21:16:09 +0800 Subject: [PATCH 1/2] chore: translate get started sidebar Signed-off-by: Jie Peng --- src/sidebarLearn.json | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/sidebarLearn.json b/src/sidebarLearn.json index 89d5cffca..c35ab92d7 100644 --- a/src/sidebarLearn.json +++ b/src/sidebarLearn.json @@ -1,53 +1,53 @@ { - "title": "Learn React", + "title": "學習 React", "path": "/learn", "routes": [ { "hasSectionHeader": true, - "sectionHeader": "GET STARTED" + "sectionHeader": "開始" }, { - "title": "Quick Start", + "title": "快速開始", "path": "/learn", "routes": [ { - "title": "Tutorial: Tic-Tac-Toe", + "title": "教學:Tic-Tac-Toe", "path": "/learn/tutorial-tic-tac-toe" }, { - "title": "Thinking in React", + "title": "用 React 思考", "path": "/learn/thinking-in-react" } ] }, { - "title": "Installation", + "title": "安裝", "path": "/learn/installation", "routes": [ { - "title": "Start a New React Project", + "title": "開始一個新的 React 專案", "path": "/learn/start-a-new-react-project" }, { - "title": "Add React to an Existing Project", + "title": "將 React 加入到一個現有的專案", "path": "/learn/add-react-to-an-existing-project" }, { - "title": "Editor Setup", + "title": "設定編輯器", "path": "/learn/editor-setup" }, { - "title": "React Developer Tools", + "title": "React 開發者工具", "path": "/learn/react-developer-tools" } ] }, { "hasSectionHeader": true, - "sectionHeader": "LEARN REACT" + "sectionHeader": "學習 React" }, { - "title": "Describing the UI", + "title": "描述使用者介面", "tags": [], "path": "/learn/describing-the-ui", "routes": [ @@ -186,7 +186,7 @@ }, { "title": "Removing Effect Dependencies", - "path": "/learn/removing-effect-dependencies" + "path": "/learn/removing-effect-dependencies" }, { "title": "Reusing Logic with Custom Hooks", From fb8a66a3166f7dd0e04b5b0b0a4e1627fa11dc0b Mon Sep 17 00:00:00 2001 From: Jie Peng Date: Thu, 4 May 2023 21:16:19 +0800 Subject: [PATCH 2/2] chore: wording Signed-off-by: Jie Peng --- src/content/learn/react-developer-tools.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/content/learn/react-developer-tools.md b/src/content/learn/react-developer-tools.md index a4c9bea02..7c5ec919e 100644 --- a/src/content/learn/react-developer-tools.md +++ b/src/content/learn/react-developer-tools.md @@ -10,13 +10,13 @@ title: React 開發者工具 -* 如何安裝 React Developer Tools +* 如何安裝 React 開發者工具 -## Browser extension {/*browser-extension*/} +## 瀏覽器擴充元件 {/*browser-extension*/} -要 debug 用 React 建構的網站最簡單的方式是安裝 React 開發者瀏覽器擴充元件。它可以在一些流行的瀏覽器上使用: +要除錯用 React 建構的網站最簡單的方式是安裝 React 開發者瀏覽器擴充元件。它可以在一些流行的瀏覽器上使用: * [Install for **Chrome**](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en) * [Install for **Firefox**](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/) @@ -52,7 +52,7 @@ react-devtools ![React Developer Tools standalone](/images/docs/react-devtools-standalone.png) -## Mobile (React Native) {/*mobile-react-native*/} +## 行動裝置(React Native) {/*mobile-react-native*/} React 開發者工具也可以用來檢測由 [React Native](https://reactnative.dev/) 建構的應用程式。 使用 React 開發者工具最簡單的方式就是全域安裝它: @@ -73,4 +73,4 @@ react-devtools > 如果在幾秒鐘內沒有連接上開發者工具,請嘗試重新載入應用程式。 -[學習更多關於 React Native 的 debugging。](https://reactnative.dev/docs/debugging) +[學習更多關於除錯 React Native 的方式。](https://reactnative.dev/docs/debugging)