Skip to content

Commit 1fbd0e1

Browse files
Merge pull request #626 from SamuelAl/spanish-translation
Spanish translation of 'p5.js and wiki' paragraph translation and additional example translations
2 parents 7c6124c + 4f8b12b commit 1fbd0e1

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

src/data/es.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ learn:
238238
using-local-server-title: "Usando un servidor local"
239239
using-local-server: "Cómo configurar un servidor local en Mac OS X, Windows o Linux."
240240
p5js-wiki-title: "p5.js wiki"
241-
p5js-wiki: "Additonal documentation and tutorials contributed by the community"
241+
p5js-wiki: "Documentación adicional y tutoriales aportados por la comunidad."
242242
connecting-p5js-title: "Conectando p5.js"
243243
creating-libraries-title: "Crear bibliotecas"
244244
creating-libraries: "Creando bibliotecas adicionales para p5.js."
@@ -668,4 +668,4 @@ showcase:
668668
description-casey-louise: "A resource for learning the what, why, and how of using shaders in p5.js."
669669
project-moon-xin: "Moving Responsive Posters"
670670
credit-moon-xin: "Moon Jang, Xin Xin, and students"
671-
description-moon-xin: "Browser-based moving posters that use graphical systems, transformation methods, and p5.js to address the connotations of a word less than 8 letters. Designed by students for a graphic design course (Visual Narrative Systems) at the University of Georgia."
671+
description-moon-xin: "Browser-based moving posters that use graphical systems, transformation methods, and p5.js to address the connotations of a word less than 8 letters. Designed by students for a graphic design course (Visual Narrative Systems) at the University of Georgia."

src/data/examples/es/09_Simulate/18_Koch.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* @name Koch Curve
3-
* @description Renders a simple fractal, the Koch snowflake. Each recursive level is drawn in sequence.
4-
* By Daniel Shiffman
2+
* @name Curva Koch
3+
* @description Renderización de un fractal simple: el copo de nieve de Koch. Cada nivel recursivo se dibuja en secuencia.
4+
* Por Daniel Shiffman.
55
*/
66

77
let k;

src/data/examples/es/09_Simulate/19_Bubblesort.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
2-
* @name Bubble Sort
3-
* @description Sorts the randomly distributed bars
4-
* according to their height in ascending order
5-
* while simulating the whole sorting process.
6-
* Took references from Coding Challenge by The Coding Train.
2+
* @name Ordenamiento de Burbuja
3+
* @description Ordena las barras distribuidas aleatoriamente
4+
* según su altura en orden ascendente mientras simula todo el
5+
* proceso de clasificación.
6+
* Se usaron referencias del 'Coding Challenge' de 'The Coding Train'.
77
*/
88

99
let values = [];
@@ -31,7 +31,7 @@ function draw() {
3131
}
3232

3333
// The bubbleSort() function sorts taking 8 elements of the array
34-
// per frame. The algorithm behind this function is
34+
// per frame. The algorithm behind this function is
3535
// bubble sort.
3636
function bubbleSort() {
3737
for(let k = 0;k<8;k++){
@@ -42,7 +42,7 @@ function bubbleSort() {
4242
values[j+1] = temp;
4343
}
4444
j++;
45-
45+
4646
if(j>=values.length-i-1){
4747
j = 0;
4848
i++;
@@ -64,4 +64,4 @@ function simulateSorting(){
6464
fill(50);
6565
rect(i*8 , height, 8, -values[i],20);
6666
}
67-
}
67+
}

src/data/examples/es/09_Simulate/20_SteepingFeet.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* @name Stepping Feet Illusion
3-
* @description Stepping feet illusion is a very famous psychological experiment
4-
* Both the bricks will appear to move at different speed
5-
* even though they are moving at the same speed.
6-
* Click the mouse inside Canvas to confirm that
7-
* they are moving at the same speed.
8-
* Contributed by Sagar Arora.
2+
* @name Ilusión de los Pasos
3+
* @description La ilusión de los pasos es un experimento
4+
* psicológico muy famoso. Ambos bloques parecen moverse
5+
* a velocidades diferentes, pero en realidad se mueven
6+
* a la misma velocidad. Haz click con el ratón dentro
7+
* del lienzo para confirmar que se mueven a la misma velocidad.
8+
* Contribución de Sagar Arora.
99
*/
1010

1111
// this class describes the structure
@@ -45,7 +45,7 @@ function setup() {
4545
createP("are moving at same speed or not").style('color','#ffffff');
4646
}
4747

48-
// creating two bricks of
48+
// creating two bricks of
4949
// colors white and black
5050
let brick1 = new Brick("white",100);
5151
let brick2 = new Brick("black",250);
@@ -77,4 +77,4 @@ function createBars() {
7777
if(i%2 == 0)
7878
rect(i*len,height,len,-height);
7979
}
80-
}
80+
}

0 commit comments

Comments
 (0)