Skip to content

chore: translation sidebar and docs wording #386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/content/learn/react-developer-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ title: React 開發者工具

<YouWillLearn>

* 如何安裝 React Developer Tools
* 如何安裝 React 開發者工具

</YouWillLearn>

## 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/)
Expand Down Expand Up @@ -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 開發者工具最簡單的方式就是全域安裝它:
Expand All @@ -73,4 +73,4 @@ react-devtools

> 如果在幾秒鐘內沒有連接上開發者工具,請嘗試重新載入應用程式。

[學習更多關於 React Native 的 debugging。](https://reactnative.dev/docs/debugging)
[學習更多關於除錯 React Native 的方式。](https://reactnative.dev/docs/debugging)
26 changes: 13 additions & 13 deletions src/sidebarLearn.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down Expand Up @@ -186,7 +186,7 @@
},
{
"title": "Removing Effect Dependencies",
"path": "/learn/removing-effect-dependencies"
"path": "/learn/removing-effect-dependencies"
},
{
"title": "Reusing Logic with Custom Hooks",
Expand Down