Skip to content

Commit 59617f0

Browse files
Beta website part I (#374)
* feat(installation.md): translation * feat(start-a-new-react-project.md): translation * feat(beta/installation): translation * feat(beta-editor setup): translation * Apply suggestions from code review TNX @mattia-sanfilippo! Co-authored-by: Mattia Sanfilippo <[email protected]> * Update beta/src/pages/learn/installation.md Tnx @mattia-sanfilippo ! Co-authored-by: Mattia Sanfilippo <[email protected]> * Apply suggestions from code review Tnx @mattia-sanfilippo ! Co-authored-by: Mattia Sanfilippo <[email protected]> * Update beta/src/pages/learn/editor-setup.md Tnx @mattia-sanfilippo ! Co-authored-by: Mattia Sanfilippo <[email protected]> Co-authored-by: Mattia Sanfilippo <[email protected]>
1 parent 7722289 commit 59617f0

File tree

3 files changed

+79
-79
lines changed

3 files changed

+79
-79
lines changed

Diff for: beta/src/pages/learn/editor-setup.md

+29-29
Original file line numberDiff line numberDiff line change
@@ -4,57 +4,57 @@ title: Editor Setup
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 your 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.
7+
Un editor correttamente configurato permette una più facile lettura del codice ed una scrittura più veloce. Può anche aiutare nell'individuazione di bugs durante la battitura! Se è la prima volta che configuri un editor o vuoi ritoccare la tua configurazione attuale, abbiamo alcune raccomandazioni.
88

99
</Intro>
1010

1111
<YouWillLearn>
1212

13-
* What the most popular editors are
14-
* How to format your code automatically
13+
* Quali sono gli editor più comuni
14+
* Come formattare automaticamente il codice
1515

1616
</YouWillLearn>
1717

18-
## Your editor {/*your-editor*/}
18+
## Il tuo editor {/*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/) è uno degli editor più popolari al momento. Ha un grande marketplace di estensioni e si integra molto bene con servizi popolari come GitHub. Molte delle funzioni elencate di seguito possono essere aggiunte a VS Code come estensioni, rendendolo altamente configurabile!
2121

22-
Other popular text editors used in the React community include:
22+
Altri editor di testo popolari in uso nella comunità React sono:
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/) che è un ambiente integrato di sviluppo progettato specificatamente per JavaScript.
25+
* [Sublime Text](https://www.sublimetext.com/) offre supporto JSX e TypeScript, [evidenziazione della sintassi](https://stackoverflow.com/a/70960574/458193) e autocompletamento.
26+
* [Vim](https://www.vim.org/) è un editor di testo altamente configurabile progettato per rendere la modifica di ogni tipo di testo molto efficiente. É incluso nella maggioranza delle distribuzioni UNIX e Apple OS X lanciando il comando "vi".
2727

28-
## Recommended text editor features {/*recommended-text-editor-features*/}
28+
## Funzioni degli editor di testo raccomandate {/*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+
Alcuni editor hanno queste funzioni già incluse, altri potrebbero richiedere l'installazione di una estensione. Verifica cosa è supportato dal tuo editor preferito per sicurezza!
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+
I code linters individuano problemi nel codice man mano che lo si scrive, permettendo di fixarli sul nascere. [ESLint](https://eslint.org/) è un linter per JavaScript open source molto popolare.
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/))
37-
* [Integrate ESLint in VSCode with the official extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
36+
* [Installa ESLint con la configurazione raccomandata per React](https://www.npmjs.com/package/eslint-config-react-app) (accertati di avere [Node installato!](https://nodejs.org/en/download/current/))
37+
* [Integra ESLint in VSCode con l'estensione ufficiale](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
3838

39-
### Formatting {/*formatting*/}
39+
### Formattazione {/*formatting*/}
4040

41-
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.
41+
L'ultima cosa che vuoi avere quando condividi il tuo codice con un altro collaboratore è una discussione riguardo [tabs contro spazi](https://www.google.com/search?q=tabs+vs+spaces)! Fortunatamente, [Prettier](https://prettier.io/) ripulirà il tuo codice riformattandolo conformemente ad una configurazione presettata. Esegui Prettier, e tutti i tuoi tabs verranno convertiti in spazi e la tua indentazione, virgolette, ecc verranno cambiate a seconda della configurazione. Nel setup ideale, ogni volta che salvi un file, Prettier applicherà queste modifiche per conto tuo automaticamente.
4242

43-
You can install the [Prettier extension in VSCode](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) by following these steps:
43+
Puoi installare l'[estensione Prettier in VSCode](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) seguendo questi passi:
4444

45-
1. Launch VS Code
46-
2. Use Quick Open (press Ctrl/Cmd+P)
47-
3. Paste in `ext install esbenp.prettier-vscode`
48-
4. Press Enter
45+
1. Lancia VS Code
46+
2. Usa `Quick Open` (premendo Ctrl/Cmd+P)
47+
3. Incolla `ext install esbenp.prettier-vscode`
48+
4. Premi Invio
4949

50-
#### Formatting on save {/*formatting-on-save*/}
50+
#### Formattazione automatica al salvataggio del file {/*formatting-on-save*/}
5151

52-
Ideally, you should format your code on every save. VS Code has settings for this!
52+
Idealmente, dovresti riformattare il tuo codice ad ogni salvataggio. VS Code ha un settaggio apposito!
5353

54-
1. In VS Code, press `CTRL/CMD + SHIFT + P`.
55-
2. Type "settings"
56-
3. Hit Enter
57-
4. In the search bar, type "format on save"
58-
5. Be sure the "format on save" option is ticked!
54+
1. In VS Code, premi `CTRL/CMD + SHIFT + P`.
55+
2. Scrivi "settings"
56+
3. Premi Invio
57+
4. Nella barra di ricerca, scrivi "format on save"
58+
5. Accertati che l'opzione "format on save" sia selezionata!
5959

60-
> If your ESLint preset has formatting rules, they may conflict with Prettier. We recommend to disable 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.
60+
> Se il tuo preset ESLint ha regole di formattazione, potrebbero andare in conflitto con Prettier. Ti raccomandiamo di disabilitare tutte le regole di formattazione nel tuo preset ESLint usando [`eslint-config-prettier`](https://github.com./prettier/eslint-config-prettier) facendo si che ESLint venga usato *solo* per identificare errori. Se vuoi fare in modo che la formattazione sia forzata prima che una pull request sia "merged", usa [`prettier --check`](https://prettier.io/docs/en/cli.html#--check) nella tua pipeline di continuous integration.

Diff for: beta/src/pages/learn/installation.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
---
2-
title: Installation
2+
title: Installazione
33
---
44

55
<Intro>
66

7-
React has been designed from the start for gradual adoption. You can use as little or as much React as you need. Whether you want to get a taste of React, add some interactivity to an HTML page, or start a complex React-powered app, this section will help you get started.
7+
React è stato progettato sin dal principio per essere adottato gradualmente. A seconda dei tuoi gusti, puoi usare il minimo o il maggior numero di funzionalità offerte da React. Se vuoi avere un assaggio di React, aggiungere un po' di interattività ad una pagina HTML, o sviluppare una applicazione complessa basata su React, questa sezione ti aiuterà nei primi passi.
88

99
</Intro>
1010

1111
<YouWillLearn isChapter={true}>
1212

13-
* [How to add React to an HTML page](/learn/add-react-to-a-website)
14-
* [How to start a standalone React project](/learn/start-a-new-react-project)
15-
* [How to set up your editor](/learn/editor-setup)
16-
* [How to install React Developer Tools](/learn/react-developer-tools)
13+
* [Come aggiungere React ad una pagina HTML](/learn/add-react-to-a-website)
14+
* [Come iniziare un progetto React](/learn/start-a-new-react-project)
15+
* [Come configurare il tuo editor](/learn/editor-setup)
16+
* [Come installare i React Developer Tools](/learn/react-developer-tools)
1717

1818
</YouWillLearn>
1919

20-
## Try React {/*try-react*/}
20+
## Prova React {/*try-react*/}
2121

22-
You don't need to install anything to play with React. Try editing this sandbox!
22+
Non devi installare nulla se vuoi divertirti con React. Prova a modificare questa sandbox!
2323

2424
<Sandpack>
2525

@@ -35,23 +35,23 @@ export default function App() {
3535

3636
</Sandpack>
3737

38-
You can edit it directly or open it in a new tab by pressing the "Fork" button in the upper right corner.
38+
Puoi modificarla direttamente o aprirla in un nuovo tab premendo il bottone "Fork" nell'angolo in alto a destra.
3939

40-
Most pages in the React documentation contain sandboxes like this. Outside of the React documentation, there are many online sandboxes that support React: for example, [CodeSandbox](https://codesandbox.io/s/new), [StackBlitz](https://stackblitz.com/fork/react), or [CodePen](https://codepen.io/pen?&editors=0010&layout=left&prefill_data_id=3f4569d1-1b11-4bce-bd46-89090eed5ddb).
40+
La maggioranza delle pagine della documentazione di React contengono sandboxes come questa. Al di fuori della documentazione, esistono alcune sandboxes online che supportano React: ad esempio, [CodeSandbox](https://codesandbox.io/s/new), [StackBlitz](https://stackblitz.com/fork/react), o [CodePen](https://codepen.io/pen?&editors=0010&layout=left&prefill_data_id=3f4569d1-1b11-4bce-bd46-89090eed5ddb).
4141

42-
### Try React locally {/*try-react-locally*/}
42+
### Prova React localmente {/*try-react-locally*/}
4343

44-
To try React locally on your computer, [download this HTML page](https://raw.githubusercontent.com/reactjs/reactjs.org/main/static/html/single-file-example.html). Open it in your editor and in your browser!
44+
Per provare React localmente sul suo computer, [scarica questa pagina HTML](https://raw.githubusercontent.com/reactjs/reactjs.org/main/static/html/single-file-example.html). Aprila nel tuo editor e nel tuo browser!
4545

46-
## Add React to a page {/*add-react-to-a-page*/}
46+
## Aggiungere React ad una pagina {/*add-react-to-a-page*/}
4747

48-
If you're working with an existing site and need to add a little bit of React, you can [add React with a script tag.](/learn/add-react-to-a-website)
48+
Se stai lavorando con un sito esistente ed hai bisogno di aggiungere un po' di React, puoi [aggiungere React con uno script tag.](/learn/add-react-to-a-website)
4949

50-
## Start a React project {/*start-a-react-project*/}
50+
## Iniziare un progetto React {/*start-a-react-project*/}
5151

52-
If you're ready to [start a standalone project](/learn/start-a-new-react-project) with React, you can set up a minimal toolchain for a pleasant developer experience. You can also start with a framework that makes a lot of decisions for you out of the box.
52+
Se sei pronto per [iniziare un progetto a se stante](/learn/start-a-new-react-project) con React, puoi configurare gli strumenti minimi indispensabili per una esperienza di sviluppo piacevole. Puoi anche cominciare con un framework che prende decisioni per te sin dall'inizio.
5353

54-
## Next steps {/*next-steps*/}
54+
## Passi successivi {/*next-steps*/}
5555

56-
Head to the [Quick Start](/learn) guide for a tour of the most important React concepts you will encounter every day.
56+
Prosegui con la [Guida Rapida](/learn) per una panoramica dei concetti React più importanti che incontrerai ogni giorno.
5757

0 commit comments

Comments
 (0)