Skip to content

Commit d7a3ddf

Browse files
arashMqsmrbadri
andauthored
docs: persian translation for react-developer-tools page (#471)
* translate react-developer-tools page * improve clarity and consistency in Persian localization of react-developer-tools documentation. * Update src/content/learn/react-developer-tools.md Co-authored-by: Mohammad Reza Badri <[email protected]> * Update src/content/learn/react-developer-tools.md Co-authored-by: Mohammad Reza Badri <[email protected]> --------- Co-authored-by: Mohammad Reza Badri <[email protected]>
1 parent c8fef29 commit d7a3ddf

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
---
2-
title: React Developer Tools
2+
title: ابزار توسعه ری‌اکت
33
---
44

55
<Intro>
66

7-
Use React Developer Tools to inspect React [components](/learn/your-first-component), edit [props](/learn/passing-props-to-a-component) and [state](/learn/state-a-components-memory), and identify performance problems.
7+
از ابزار توسعه ری‌اکت برای بررسی [کامپوننت‌ها](/learn/your-first-component)، ویرایش [prop](/learn/passing-props-to-a-component) و [state](/learn/state-a-components-memory) و همچنین شناسایی مشکلات عملکردی استفاده می‌شود.
88

99
</Intro>
1010

1111
<YouWillLearn>
1212

13-
* How to install React Developer Tools
13+
* چگونه ابزار توسعه ری‌اکت را نصب کنید.
1414

1515
</YouWillLearn>
1616

17-
## Browser extension {/*browser-extension*/}
17+
## اکستنشن های مرورگر {/*browser-extension*/}
1818

19-
The easiest way to debug websites built with React is to install the React Developer Tools browser extension. It is available for several popular browsers:
19+
نصب افزونه ابزار توسعه ری‌اکت ساده‌ترین روش برای اشکال‌زدایی وب‌سایت‌های ساخته‌شده با ری‌اکت است. این افزونه برای چند مرورگر محبوب در دسترس است.
2020

21-
* [Install for **Chrome**](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en)
22-
* [Install for **Firefox**](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/)
23-
* [Install for **Edge**](https://microsoftedge.microsoft.com/addons/detail/react-developer-tools/gpphkfbcpidddadnkolkpfckpihlkkil)
21+
* [نصب برای **Chrome**](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en)
22+
* [نصب برای **Firefox**](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/)
23+
* [نصب برای **Edge**](https://microsoftedge.microsoft.com/addons/detail/react-developer-tools/gpphkfbcpidddadnkolkpfckpihlkkil)
2424

25-
Now, if you visit a website **built with React,** you will see the _Components_ and _Profiler_ panels.
25+
اکنون، اگر از یک وب‌سایت **ساخته‌شده با ری‌اکت** بازدید کنید، پانل‌های _Components_ و _Profiler_ را خواهید دید.
2626

2727
![React Developer Tools extension](/images/docs/react-devtools-extension.png)
2828

29-
### Safari and other browsers {/*safari-and-other-browsers*/}
30-
For other browsers (for example, Safari), install the [`react-devtools`](https://www.npmjs.com/package/react-devtools) npm package:
29+
### سافاری و سایر مرورگر ها {/*safari-and-other-browsers*/}
30+
برای سایر مرورگر ها (مانند سافاری) پکیج [`react-devtools`](https://www.npmjs.com/package/react-devtools) را نصب کنید.
3131
```bash
3232
# Yarn
3333
yarn global add react-devtools
@@ -36,26 +36,26 @@ yarn global add react-devtools
3636
npm install -g react-devtools
3737
```
3838

39-
Next open the developer tools from the terminal:
39+
سپس ابزارهای توسعه را از ترمینال باز کنید:
4040
```bash
4141
react-devtools
4242
```
4343

44-
Then connect your website by adding the following `<script>` tag to the beginning of your website's `<head>`:
44+
سپس با اضافه کردن تگ `<script>` زیر به ابتدای تگ `<head>` وب‌سایت خود را متصل کنید:
4545
```html {3}
4646
<html>
4747
<head>
4848
<script src="http://localhost:8097"></script>
4949
```
5050

51-
Reload your website in the browser now to view it in developer tools.
51+
اکنون وب‌سایت خود را در مرورگر بازخوانی کنید تا بتوانید آن را در ابزار توسعه مشاهده کنید.
5252

5353
![React Developer Tools standalone](/images/docs/react-devtools-standalone.png)
5454

55-
## Mobile (React Native) {/*mobile-react-native*/}
55+
## موبایل (ری‌اکت نیتیو) {/*mobile-react-native*/}
5656

57-
To inspect apps built with [React Native](https://reactnative.dev/), you can use [React Native DevTools](https://reactnative.dev/docs/react-native-devtools), the built-in debugger that deeply integrates React Developer Tools. All features work identically to the browser extension, including native element highlighting and selection.
57+
برای بررسی برنامه‌هایی که با [ری‌اکت نیتیو](https://reactnative.dev/) ساخته شده‌اند، می‌توانید از [React Native DevTools](https://reactnative.dev/docs/react-native-devtools) استفاده کنید. این ابزار اشکال‌زدای داخلی است که به‌طور کامل با ابزار توسعه ری‌اکت ادغام شده است. همه ویژگی‌ها، از جمله برجسته‌سازی و انتخاب عناصر بومی، به‌طور دقیق مشابه نسخه افزونه مرورگر کار می‌کنند.
5858

59-
[Learn more about debugging in React Native.](https://reactnative.dev/docs/debugging)
59+
[در مورد اشکال زدایی در ری‌اکت نیتیو بیشتر بخوانید.](https://reactnative.dev/docs/debugging)
6060

61-
> For versions of React Native earlier than 0.76, please use the standalone build of React DevTools by following the [Safari and other browsers](#safari-and-other-browsers) guide above.
61+
> برای نسخه‌های ری‌اکت نیتیو قبل از 0.76، لطفاً از نسخه مستقل React DevTools مطابق [راهنمای سافاری و سایر مرورگرها](#safari-and-other-browsers) در بالا استفاده کنید.

0 commit comments

Comments
 (0)