chore(i8n,docs): processed translations (#41117)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
This commit is contained in:
Nicholas Carrigan (he/him)
2021-02-14 14:18:51 -08:00
committed by GitHub
parent 99d0763550
commit e6b8f5d9a6
34 changed files with 4633 additions and 826 deletions

View File

@@ -2,11 +2,11 @@
Los retos en vídeo son un nuevo tipo de desafío en el currículo de freeCodeCamp.
Un desafío de vídeo es una pequeña sección de un curso de vídeo completo sobre un tema en particular. Una página de desafío de vídeo inserta un vídeo de YouTube. Cada página de desafío tiene una única pregunta de selección múltiple relacionada con el vídeo. El usuario debe responder correctamente a la pregunta antes de pasar al siguiente desafío de vídeo en el curso.
Un desafío de vídeo es una pequeña sección de un curso de vídeo completo sobre un tema en particular. Una página de desafío de vídeo inserta un vídeo de YouTube. Cada página de desafío tiene una única pregunta de selección múltiple relacionada con el vídeo. A user must answer the question correctly before moving on to the next video challenge in the course.
Las páginas de desafío de vídeo son creadas por miembros del equipo freeCodeCamp. Los vídeos de YouTube también son subidos por miembros del equipo freeCodeCamp. Muchos de los desafíos de video todavía no tienen preguntas asociadas con ellos.
Puedes ayudar creando preguntas de selección múltiple relacionadas con las secciones de vídeo y añadiendo las preguntas a los archivos de markdown para los desafíos de video.
You can help by creating multiple-choice questions related to video sections and adding the questions to the markdown files for the video challenges.
## Plantilla de desafío
@@ -15,185 +15,188 @@ A continuación se muestra una plantilla de cómo se ven los archivos markdown d
````md
---
id: Identificador Único (alfanumérico, MongoDB_id)
title: Titulo del Desafío
id: Unique identifier (alphanumerical, MongoDB_id)
title: Challenge Title
challengeType: 11
videoId: 'videoId de Youtube para el desafío de video'
videoId: 'YouTube videoId for video challenge'
forumTopicId: 12345
---
## Descripción
# --description--
<section id='description'>
Descripción opcional con información util relacionada con el video.
</section>
Challenge description text, in markdown
## Pruebas
<section id='tests'>
```yml
question:
text: 'Pregunta'
answers:
- 'Respuesta Uno'
- 'Respuesta Dos'
- 'Respuesta Tres'
solution: 3
```html
<div>
example code
</div>
````
</section>
# --question--
These fields are currently used for the multiple-choice Python challenges.
## --text--
The question text goes here.
## --answers--
Answer 1
---
Answer 2
---
More answers
## --video-solution--
The number for the correct answer goes here.
````
## Creando preguntas para los desafíos de video
## Creating questions for video challenges
### Accede a los archivos markdown del desafío de video
### Access the video challenge markdown files
Puedes encontrar los archivos markdown de los desafíos de video en las siguientes ubicaciones del currículum
You can find the markdown files for video challenges at the following locations in the curriculum:
- [Curso de análisis de datos con Python](https://github.com/freeCodeCamp/freeCodeCamp/tree/master/curriculum/challenges/english/08-data-analysis-with-python/data-analysis-with-python-course)
- [Curso de TensorFlow 2.0](https://github.com/freeCodeCamp/freeCodeCamp/tree/master/curriculum/challenges/english/11-machine-learning-with-python/tensorflow)
- [Curso de Numpy](https://github.com/freeCodeCamp/freeCodeCamp/tree/master/curriculum/challenges/english/08-data-analysis-with-python/numpy)
- [Curso de como funcionan las redes neuronales](https://github.com/freeCodeCamp/freeCodeCamp/tree/master/curriculum/challenges/english/11-machine-learning-with-python/how-neural-networks-work)
- [Data Analysis with Python Course](https://github.com/freeCodeCamp/freeCodeCamp/tree/main/curriculum/challenges/english/08-data-analysis-with-python/data-analysis-with-python-course)
- [TensorFlow 2.0 Course](https://github.com/freeCodeCamp/freeCodeCamp/tree/main/curriculum/challenges/english/11-machine-learning-with-python/tensorflow)
- [Numpy Course](https://github.com/freeCodeCamp/freeCodeCamp/tree/main/curriculum/challenges/english/08-data-analysis-with-python/numpy)
- [How Neural Networks Work Course](https://github.com/freeCodeCamp/freeCodeCamp/tree/main/curriculum/challenges/english/11-machine-learning-with-python/how-neural-networks-work)
Elige un archivo markdown de las opciones anteriores.
Pick a challenge markdown file from the options above.
### Mire superficialmente el video asociado con el desafío y cree una pregunta de opción múltiple
### Skim through the video associated with the challenge and create a multiple-choice question
Primero, encuentre el videoId.
First, find the videoId.
Por ejemplo, en el siguiente código de la cabecera de un archivo markdown de desafío de video, el videoId es "nVAaxZ34khk". En GitHub, la información debe ser puesta en un formato de tabla.
Por ejemplo, en el siguiente código de la cabecera de un archivo markdown de desafío de video, el videoId es "nVAaxZ34khk". On GitHub, the information should be laid out in a table format.
````
---
id: 5e9a093a74c4063ca6f7c14d title: Análisis de datos Ejemplo A challengeType: 11
id: 5e9a093a74c4063ca6f7c14d title: Data Analysis Example A challengeType: 11
videoId: nVAaxZ34khk
---
```
A continuación, acceda al vídeo de YouTube con ese videoId. La url del video será:
https://www.youtube. om/watch?v=[videoId] (añadir videoId a la URL sin corchetes cuadrados)
Next, access the YouTube video with that `videoId`. The URL for the video will be:
https://www.youtube.com/watch?v=[videoId] (replace `videoId` in the URL with the video's ID - without square brackets)
En el ejemplo anterior, la url es https://www. outube.com/watch?v=nVAaxZ34khk
In the example above, the URL is https://www.youtube.com/watch?v=nVAaxZ34khk
Mira superficialmente el vídeo de YouTube con ese videoId y piensa en una pregunta de selección múltiple basada en el contenido del vídeo.
Skim the YouTube video with that videoId and think of a multiple-choice question based on the content of the video.
### Añade la pregunta al archivo markdown
### Add the question to the markdown file
Puedes añadir la pregunta localmente o directamente a través de la interfaz de GitHub. Para añadir la pregunta localmente, necesitas [configurar freeCodeCamp localmente](how-to-setup-freecodecamp-locally.md). También puede encontrar el archivo en GitHub y hacer clic en el botón Editar para añadir la pregunta directamente en su navegador.
You can add the question locally or using the GitHub interface. Para añadir la pregunta localmente, necesitas [configurar freeCodeCamp localmente](how-to-setup-freecodecamp-locally.md). También puede encontrar el archivo en GitHub y hacer clic en el botón Editar para añadir la pregunta directamente en su navegador.
Si aún no se ha añadido una pregunta a un desafío de vídeo en particular, tendrá la siguiente pregunta predeterminada:
If a question has not yet been added to a particular video challenge, it will have the following default question:
```yml
question:
text: |
Pregunta
answers:
- |
una
- |
dos
- |
tres
solution: 3
```md
# --question--
## --text--
Question text
## --answers--
Answer 1
---
Answer 2
---
More answers
## --video-solution--
1
```
Actualiza la palabra "Pregunta" con tu pregunta. Actualiza “una”, “dos”, y “tres” con las posibles respuestas. Asegúrate de actualizar el número de la solución con el que corresponde a la respuesta correcta. Puede añadir más respuestas posibles usando el mismo formato. La pregunta y las respuestas pueden estar rodeadas de comillas.
#### Utiliza markdown para formatear tu pregunta
El texto de la pregunta se analiza como markdown. La forma más simple de asegurarse de que está formateado correctamente es iniciar la pregunta con `texto: |`, así:
```yml
question:
text: |
Pregunta
Add/Update the question text under the part that shows:
```
# --question--
Entonces debes asegurarte de que tu pregunta está en una nueva línea e indentada un nivel mas que `texto: |`.
El mismo enfoque se puede utilizar para las respuestas, de modo que toda la pregunta se convierte
```yml
question:
text: |
Pregunta
answers:
- |
Primera Respuesta
- |
Segunda
- |
Tercera
solution: 2
## --text--
```
Asegúrate de que cada respuesta sea plausible, pero sólo hay una respuesta correcta.
#### Uso de HTML
Las preguntas y respuestas pueden contener ciertas etiquetas HTML como `<br>` para una nueva línea. Las etiquetas HTML deben ser usadas de forma poco frecuente, cuando las preguntas no pueden ser expresadas sin ellas.
Add/Update answers (`Answer 1`, `Answer 2`, and so on) under `## --answers--`. Make sure to update the number under `## --video-solution--` with the correct answer number. You can add more possible answers using the same format. The question and answers can be surrounded with quotation marks.
### Ejemplos de preguntas
#### Ejemplos sin HTML
````md
# --question--
````yml
question:
text: |
¿Que registra este código JavaScript en la consola?
```js
console.log('hola mundo');
````
¡Selecciona una respuesta!
answers:
- | hola *mundo*
- | **hola** mundo
- | hola mundo solution: 3
## --text--
What does this JavaScript code log to the console?
```js
console.log('hello world');
````
````yml
pregunta:
text: |
¿Qué se imprimirá después de ejecutar este código:
```py
width = 15
height = 12.
print(height/3)
````
answers:
- | 39
- | 4
- | 4.0
- | 5.0
- | 5 solution: 3
## --answers--
hello *world*
---
**hello** world
---
hello world
---
## --video-solution--
3
````
#### Ejemplo con HTML
````md
```yml
question:
text: |
¿Qué se imprimirá después de ejecutar este código:
<pre><code>width = 15<br>height = 12.<br>print(height/3)<code></pre>
answers:
- |
39
- |
4
- |
4.
- |
5.
- |
5
solution: 3
# --question--
## --text--
What will print out after running this code:
```py
width = 15
height = 12.0
print(height/3)
````
El ejemplo final demuestra que se puede usar HTML, pero que no es tan legible como la versión sin ella.
## --answers--
Para más ejemplos, puede ver los archivos de markdown para el siguiente curso de vídeo. Todos los desafíos ya tienen preguntas: [Curso de Python para todos](https://github.com/freeCodeCamp/freeCodeCamp/tree/master/curriculum/challenges/english/07-scientific-computing-with-python/python-for-everybody)
39
## Abrir una pull request
---
Después de crear una o más preguntas, puede enviar los cambios a una nueva rama y [abrir una pull request](how-to-open-a-pull-request.md).
4
---
4.0
---
5.0
---
5
## --video-solution--
3 ````
For more examples, you can look at the markdown files for the following video course. All the challenges already have questions: [Python for Everybody Course](https://github.com/freeCodeCamp/freeCodeCamp/tree/main/curriculum/challenges/english/07-scientific-computing-with-python/python-for-everybody)
## Open a pull request
After creating one or more questions, you can commit the changes to a new branch and [open a pull request](how-to-open-a-pull-request.md).