Skip to content

Commit 9249dae

Browse files
authored
Translate README.md
Traducción al español, se que @gaearon en su issue reactjs/react.dev#4135, en el apartado "What is ok to translate now?" (¿Qué se puede traducir ahora?), indica que "All pages in src/content are good to translate." (Todas las páginas en src/content son buenas para traducir.), pero eso es del 29 de noviembre de 2021 y sobre una Beta, si esta traducción no es necesaria o va en contra de las normas de traducción, por favor, desestimarla.
1 parent 07541c3 commit 9249dae

File tree

1 file changed

+42
-41
lines changed

1 file changed

+42
-41
lines changed

README.md

+42-41
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,64 @@
1-
# react.dev
1+
# es.react.dev
22

3-
This repo contains the source code and documentation powering [react.dev](https://react.dev/).
3+
Este repositorio contiene el código fuente y la documentación de [es.react.dev](https://es.react.dev/).
44

5-
## Getting started
5+
## Comenzar
66

7-
### Prerequisites
7+
### Prerrequisitos
88

9-
1. Git
10-
1. Node: any 12.x version starting with v12.0.0 or greater
11-
1. Yarn: See [Yarn website for installation instructions](https://yarnpkg.com/lang/en/docs/install/)
12-
1. A fork of the repo (for any contributions)
13-
1. A clone of the [react.dev repo](https://github.com/reactjs/react.dev) on your local machine
9+
1. Git.
10+
1. Node: cualquier versión 12.x a partir de v12.0.0 o superior.
11+
1. Yarn: consulta el [sitio web de Yarn para obtener instrucciones de instalación](https://yarnpkg.com/lang/en/docs/install/) (en inglés).
12+
1. Una bifurcación <span lang="en">(fork)</span> del repositorio (para cualquier contribución).
13+
1. Un clon <span lang="en">(clone)</span> del [repositorio es.react.dev](https://github.com/reactjs/es.react.dev) en tu máquina local.
1414

15-
### Installation
15+
### Instalación
1616

17-
1. `cd react.dev` to go into the project root
18-
3. `yarn` to install the website's npm dependencies
17+
1. `cd es.react.dev` para entrar en la raíz del proyecto.
18+
2. `yarn` para instalar las dependencias npm del sitio web.
1919

20-
### Running locally
20+
### Ejecución local
2121

22-
1. `yarn dev` to start the development server (powered by [Next.js](https://nextjs.org/))
23-
1. `open http://localhost:3000` to open the site in your favorite browser
22+
1. `yarn dev` para iniciar el servidor de desarrollo (desarrollado por [Next.js](https://nextjs.org/)).
23+
1. `open http://localhost:3000` para abrir el sitio en tu navegador favorito.
2424

25-
## Contributing
25+
## Contribución
2626

27-
### Guidelines
27+
### Directrices
2828

29-
The documentation is divided into several sections with a different tone and purpose. If you plan to write more than a few sentences, you might find it helpful to get familiar with the [contributing guidelines](https://github.com/reactjs/react.dev/blob/main/CONTRIBUTING.md#guidelines-for-text) for the appropriate sections.
29+
La documentación está dividida en varias secciones con un tono y un propósito diferentes. Si tienes previsto escribir más de unas pocas frases, quizá te resulte útil familiarizarte con las [directrices de contribución](https://github.com/reactjs/es.react.dev/blob/main/CONTRIBUTING.md#guidelines-for-text) de las secciones correspondientes.
3030

31-
### Create a branch
31+
### Crear una rama <span lang="en">(branch)</span>
3232

33-
1. `git checkout main` from any folder in your local `react.dev` repository
34-
1. `git pull origin main` to ensure you have the latest main code
35-
1. `git checkout -b the-name-of-my-branch` (replacing `the-name-of-my-branch` with a suitable name) to create a branch
33+
1. `git checkout main` desde cualquier carpeta de tu repositorio local `es.react.dev`.
34+
1. `git pull origin main` para asegurarte de que tienes el último código principal <span lang="en">(main)</span>.
35+
1. `git checkout -b el-nombre-de-mi-rama` (sustituyendo `el-nombre-de-mi-rama` por un nombre adecuado) para crear una rama <span lang="en">(branch)</span>.
3636

37-
### Make the change
37+
### Hacer un cambio
3838

39-
1. Follow the ["Running locally"](#running-locally) instructions
40-
1. Save the files and check in the browser
41-
1. Changes to React components in `src` will hot-reload
42-
1. Changes to markdown files in `content` will hot-reload
43-
1. If working with plugins, you may need to remove the `.cache` directory and restart the server
39+
1. Sigue las instrucciones de ["Ejecución local"](#ejecución-local).
40+
1. Guarda los archivos y compruébalos en el navegador.
41+
1. Los cambios en los componentes React en `src` se recargarán en caliente.
42+
1. Los cambios en los archivos markdown de `content` se cargarán en caliente.
43+
1. Si trabajas con plugins, puede que tengas que eliminar el directorio `.cache` y reiniciar el servidor.
4444

45-
### Test the change
45+
### Prueba el cambio
4646

47-
1. If possible, test any visual changes in all latest versions of common browsers, on both desktop and mobile.
48-
2. Run `yarn check-all`. (This will run Prettier, ESLint and validate types.)
47+
1. Si es posible, prueba cualquier cambio visual en todas las versiones más recientes de los navegadores habituales, tanto en el escritorio como en el móvil.
48+
2. Ejecuta `yarn check-all`. (Esto ejecutará Prettier, ESLint y validará los tipos).
4949

50-
### Push it
50+
### Empújalo <span lang="en">(Push it)</span>
5151

52-
1. `git add -A && git commit -m "My message"` (replacing `My message` with a commit message, such as `Fix header logo on Android`) to stage and commit your changes
53-
1. `git push my-fork-name the-name-of-my-branch`
54-
1. Go to the [react.dev repo](https://github.com/reactjs/react.dev) and you should see recently pushed branches.
55-
1. Follow GitHub's instructions.
56-
1. If possible, include screenshots of visual changes. A preview build is triggered after your changes are pushed to GitHub.
52+
1. `git add -A && git commit -m "Mi mensaje"` (sustituyendo `Mi mensaje` por un mensaje de confirmación, como `Arreglar logotipo de cabecera en Android`) para escenificar y confirmar tus cambios.
53+
1. `git push my-fork-name el-nombre-de-mi-rama`.
54+
1. Ve al [repositorio es.react.dev](https://github.com/reactjs/es.react.dev) y deberías ver las ramas empujadas recientemente.
55+
1. Sigue las instrucciones de GitHub.
56+
1. Si es posible, incluye capturas de pantalla de los cambios visuales. Se activará una compilación de vista previa después de que tus cambios se envíen a GitHub.
5757

58-
## Translation
58+
## Traducción
5959

60-
If you are interested in translating `react.dev`, please see the current translation efforts [here](https://github.com/reactjs/react.dev/issues/4135).
60+
Si estás interesado en traducir `es.react.dev`, consulta los esfuerzos de traducción actuales [aquí](https://github.com/reactjs/react.dev/issues/4135) (en inglés).
6161

62-
## License
63-
Content submitted to [react.dev](https://react.dev/) is CC-BY-4.0 licensed, as found in the [LICENSE-DOCS.md](https://github.com/reactjs/react.dev/blob/main/LICENSE-DOCS.md) file.
62+
## Licencia
63+
64+
El contenido enviado a [es.react.dev](https://es.react.dev/) tiene licencia CC-BY-4.0, tal y como se encuentra en el archivo [LICENSE-DOCS.md](https://github.com/reactjs/es.react.dev/blob/main/LICENSE-DOCS.md).

0 commit comments

Comments
 (0)