Skip to content

Commit 1795d69

Browse files
committed
Re-add accidentally overwritten translations
1 parent 3482b2f commit 1795d69

File tree

2 files changed

+47
-49
lines changed

2 files changed

+47
-49
lines changed

src/content/learn/editor-setup.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,62 @@
11
---
2-
title: Editor Setup
2+
title: התקנת עורך קוד
33
---
44

55
<Intro>
66

7-
A properly configured editor can make code clearer to read and faster to write. It can even help you catch bugs as you write them! If this is your first time setting up an editor or you're looking to tune up your current editor, we have a few recommendations.
8-
7+
עורך קוד שמקונפג כראוי עוזר לקרוא ולכתוב קוד בקלות ובמהירות. בנוסף הוא יכול לעזור לנו לתפוס באגים בזמן שאנחנו כותבים אותם! אם זאת הפעם הראשונה שאתה מתקין עורך קוד או שאתה מחפש לשפר את שלך, יש לנו כמה המלצות.
8+
99
</Intro>
1010

1111
<YouWillLearn>
1212

13-
* What the most popular editors are
14-
* How to format your code automatically
13+
* אילו עורכי קוד הם הכי פופולריים
14+
* איך לסדר את הקוד שלך אוטומטית
1515

1616
</YouWillLearn>
1717

18-
## Your editor {/*your-editor*/}
18+
## העורך שלך {/*your-editor*/}
1919

20-
[VS Code](https://code.visualstudio.com/) is one of the most popular editors in use today. It has a large marketplace of extensions and integrates well with popular services like GitHub. Most of the features listed below can be added to VS Code as extensions as well, making it highly configurable!
20+
אחד מעורכי הקוד הפופולריים ביותר (אם לא הכי) הוא [VS Code](https://code.visualstudio.com/). יש לו תוספים רבים שניתן להתקין והוא מתממשק טוב עם שירותים כמו גיטהאב. ניתן להוסיף את רוב הפיצ׳רים הכתובים כאן בהמשך ל-VS Code כתוספים.
2121

22-
Other popular text editors used in the React community include:
22+
עורכי קוד נוספים שמשתמשים בהם בקהילת ריאקט כוללים:
2323

24-
* [WebStorm](https://www.jetbrains.com/webstorm/) is an integrated development environment designed specifically for JavaScript.
25-
* [Sublime Text](https://www.sublimetext.com/) has support for JSX and TypeScript, [syntax highlighting](https://stackoverflow.com/a/70960574/458193) and autocomplete built in.
26-
* [Vim](https://www.vim.org/) is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as "vi" with most UNIX systems and with Apple OS X.
24+
* וובסטורם - [WebStorm](https://www.jetbrains.com/webstorm/) הוא סביבת פיתוח שעוצבה במיוחד לפיתוח בעזרת JavaScript.
25+
* סאבליים טקסט - [Sublime Text](https://www.sublimetext.com/) תומך ב-syntax highlighting של JSX ו-TypeScript.
26+
* וים - [Vim](https://www.vim.org/) הוא עורך קוד גמיש מאוד שנבנה על מנת לאפשר פיתוח מהיר. הוא כלול ברוב מערכות ההפעלה מבוססות Unix וב-MacOS.
2727

28-
## Recommended text editor features {/*recommended-text-editor-features*/}
28+
## פיצ׳רים מומלצים בעורכי קוד {/*recommended-text-editor-features*/}
2929

30-
Some editors come with these features built in, but others might require adding an extension. Check to see what support your editor of choice provides to be sure!
30+
חלק מעורכי הקוד מגיעים עם פיצ׳רים אלה ישר מהקופסה, אבל אחרים דורשים את הוספתם באמצעות תוסף. בדוק מה מובנה בעורך הקוד שלך ליתר ביטחון.
3131

3232
### Linting {/*linting*/}
3333

34-
Code linters find problems in your code as you write, helping you fix them early. [ESLint](https://eslint.org/) is a popular, open source linter for JavaScript.
34+
לינטרים מוצאים בעיות בקוד שלך בזמן שאתה כותב אותו, מה שמאפשר תיקון מוקדם. לינטר פופולרי ומומלץ הוא [ESLint](https://eslint.org/).
3535

36-
* [Install ESLint with the recommended configuration for React](https://www.npmjs.com/package/eslint-config-react-app) (be sure you have [Node installed!](https://nodejs.org/en/download/current/))
36+
* [התקן ESLint עם האופציות המומלצות לריאקט](https://www.npmjs.com/package/eslint-config-react-app) (וודא שיש לך [Node מותקן!](https://nodejs.org/en/download/current/))
3737
* [Integrate ESLint in VSCode with the official extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
3838

3939
**Make sure that you've enabled all the [`eslint-plugin-react-hooks`](https://www.npmjs.com/package/eslint-plugin-react-hooks) rules for your project.** They are essential and catch the most severe bugs early. The recommended [`eslint-config-react-app`](https://www.npmjs.com/package/eslint-config-react-app) preset already includes them.
4040

4141
### Formatting {/*formatting*/}
4242

43-
The last thing you want to do when sharing your code with another contributor is get into an discussion about [tabs vs spaces](https://www.google.com/search?q=tabs+vs+spaces)! Fortunately, [Prettier](https://prettier.io/) will clean up your code by reformatting it to conform to preset, configurable rules. Run Prettier, and all your tabs will be converted to spaces—and your indentation, quotes, etc will also all be changed to conform to the configuration. In the ideal setup, Prettier will run when you save your file, quickly making these edits for you.
43+
הדרך האחרון שאתה רוצה כשאתה משתף קוד עם מפתח אחר הוא להיכנס לוויכוח [tabs vs spaces](https://www.google.com/search?q=tabs+vs+spaces). למזלנו, [prettier](https://prettier.io/)) ינקה את הקוד שלך על ידי התאמתו לחוקים קיימים. בעת הרצת prettier, כל ה-tabs יהפכו ל-spaces, וגרשיים כפולים או יחידים ישונו בהתאם לקונפיגורציה. בסביבת פיתוח אידיאלית, Prettier ירוץ בעת שמירת קובץ, ויעשה את כל השינויים הללו אוטומטית.
4444

45-
You can install the [Prettier extension in VSCode](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) by following these steps:
45+
ניתן להתקין את Prettier ב[VS Code](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) בעזרת הצעדים הבאים:
4646

47-
1. Launch VS Code
48-
2. Use Quick Open (press Ctrl/Cmd+P)
49-
3. Paste in `ext install esbenp.prettier-vscode`
50-
4. Press Enter
47+
1. פתח את VS Code
48+
2. הרץ את Quick Open (בעזרת Ctrl/Cmd+p)
49+
3. הדבק בפנים את `ext install esbenp.prettier-vscode`
50+
4. לחץ Enter
5151

5252
#### Formatting on save {/*formatting-on-save*/}
5353

54-
Ideally, you should format your code on every save. VS Code has settings for this!
54+
באופן אידיאלי, כדאי לאפשר לתוסף לסדר את הקוד בכל שמירת קובץ. מזל ש-VS Code מאפשר לנו את זה!
5555

56-
1. In VS Code, press `CTRL/CMD + SHIFT + P`.
57-
2. Type "settings"
58-
3. Hit Enter
59-
4. In the search bar, type "format on save"
60-
5. Be sure the "format on save" option is ticked!
56+
1. ב-VS Code, לחץ `CTRL/CMD + SHIFT + P`.
57+
2. כתוב "settings"
58+
3. לחץ Enter
59+
4. בשורת החיפוש, כתוב "format on save"
60+
5. וודא כי האופצייה "format on save" מסומנת
6161

62-
> If your ESLint preset has formatting rules, they may conflict with Prettier. We recommend disabling all formatting rules in your ESLint preset using [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) so that ESLint is *only* used for catching logical mistakes. If you want to enforce that files are formatted before a pull request is merged, use [`prettier --check`](https://prettier.io/docs/en/cli.html#--check) for your continuous integration.
62+
> אם קונפיג הESLint שלך מכיל חוקים שקשורים לסידור קוד, הם עלולים להתנגש עם Prettier. אנחנו ממליצים לכבות את חוקים אלו בקונפיג הESLint שלך באמצעות [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier), ככה שESLint עובד רק על מנת לתפוס שגיאות לוגיות. אם אתה רוצה להחיל סידור קוד לפני מירג׳וג׳ PR, השתמש ב-[`prettier --check`](https://prettier.io/docs/en/cli.html#--check) ב-CI שלך.

src/content/learn/react-developer-tools.md

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,29 @@ title: React Developer Tools
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.
8-
7+
ניתן להשתמש ב-React Developer Tools על מנת לבחון [קומפוננטות](/learn/your-first-component), לערוך [props](/learn/passing-props-to-a-component) ו-[state](/learn/state-a-components-memory), ובנוסף לאבחן בעיות שקשורות לביצועים.
98
</Intro>
109

1110
<YouWillLearn>
1211

13-
* How to install React Developer Tools
12+
* איך להתקין React Developer Tools
1413

1514
</YouWillLearn>
1615

17-
## Browser extension {/*browser-extension*/}
16+
## תוסף דפדפן {/*browser-extension*/}
1817

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:
18+
הדרך הקלה ביותר לדבג אתרים שכתובים בעזרת ריאקט היא להתקין את תוסף כלי המפתחים של ריאקט. הוא זמין בכמה דפדפנים:
2019

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)
20+
* [התקן בדפדפן **Chrome**](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en)
21+
* [התקן בדפדפן **Firefox**](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/)
22+
* [התקן בדפדפן **Edge**](https://microsoftedge.microsoft.com/addons/detail/react-developer-tools/gpphkfbcpidddadnkolkpfckpihlkkil)
2423

25-
Now, if you visit a website **built with React,** you will see the _Components_ and _Profiler_ panels.
24+
לאחר ההתקנה, אם תיכנס לאתר **שכתוב בריאקט**, תראה את הפאנלים _Components_ ו-_Profiler_.
2625

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

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:
28+
### Safari ודפדפנים אחרים {/*safari-and-other-browsers*/}
29+
על מנת להשתמש בתוסף בדפדפנים אחרים כמו Safari, התקן את חבילת ה-npm הזו: [`react-devtools`](https://www.npmjs.com/package/react-devtools)
3130
```bash
3231
# Yarn
3332
yarn global add react-devtools
@@ -36,26 +35,26 @@ yarn global add react-devtools
3635
npm install -g react-devtools
3736
```
3837

39-
Next open the developer tools from the terminal:
38+
עכשיו פתח את כלי המפתחים מהטרמינל:
4039
```bash
4140
react-devtools
4241
```
4342

44-
Then connect your website by adding the following `<script>` tag to the beginning of your website's `<head>`:
43+
לאחר מכן התחבר לאתר שלך בעזרת הוספת תגית ה-`<script>` הבאה בתוך ה-`head` באתר שלך:
4544
```html {3}
4645
<html>
4746
<head>
4847
<script src="http://localhost:8097"></script>
4948
```
5049

51-
Reload your website in the browser now to view it in developer tools.
50+
טען מחדש את האתר על מנת לראות את הכלים באיזור כלי המפתחים:
5251

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

5554
## Mobile (React Native) {/*mobile-react-native*/}
56-
React Developer Tools can be used to inspect apps built with [React Native](https://reactnative.dev/) as well.
55+
ניתן להשתמש בכלי המפתחים של ריאקט על מנת לבחון אפליקציות שנבנו בעזרת [React Native](https://reactnative.dev/).
5756

58-
The easiest way to use React Developer Tools is to install it globally:
57+
הדרך הקלה ביותר להשתמש בכלי המפתחים היא להתקין אותם גלובאלית:
5958
```bash
6059
# Yarn
6160
yarn global add react-devtools
@@ -64,13 +63,12 @@ yarn global add react-devtools
6463
npm install -g react-devtools
6564
```
6665

67-
Next open the developer tools from the terminal.
66+
פתח את הכלים מהטרמינל:
6867
```bash
6968
react-devtools
7069
```
70+
הכלים אמורים להתחבר לכל אפליקציית react native שרצה לוקאלית.
7171

72-
It should connect to any local React Native app that's running.
73-
74-
> Try reloading the app if developer tools doesn't connect after a few seconds.
72+
> נסה לטעון מחדש את האפליקצייה אם הכלים לא מתחברים אליה תוך מספר שניות.
7573
76-
[Learn more about debugging React Native.](https://reactnative.dev/docs/debugging)
74+
[למד עוד על דיבוג React Native.](https://reactnative.dev/docs/debugging)

0 commit comments

Comments
 (0)