Skip to content

Commit e6509d5

Browse files
committed
chore: synced translations from crowdin
1 parent 2226f7a commit e6509d5

File tree

94 files changed

+1245
-1028
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+1245
-1028
lines changed

apps/site/pages/es/about/branding.mdx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,7 @@ Por favor revise la [política de la marca comercial](https://trademark-policy.o
1111

1212
Créditos a [Angela Angelini](https://www.linkedin.com/in/angeliningl/) por diseñar y contribuir con la Tortuga Cohete.
1313

14-
<img
15-
alt="Mascota de Node.js"
16-
src="/static/images/node-mascot.svg"
17-
className="w-[100px]"
18-
width="100"
19-
height="114"
20-
/>
14+
<img alt="Mascota de Node.js" src="/static/images/node-mascot.svg" className="w-[100px]" width="100" height="114" />
2115

2216
## Logo de Node.js®
2317

@@ -33,7 +27,6 @@ Créditos a [Angela Angelini](https://www.linkedin.com/in/angeliningl/) por dise
3327
<td>
3428
<img alt="Logo Horizontal Claro de Node.js" src="/static/logos/nodejsLight.svg" className="h-[80px] w-[267px] bg-neutral-950 p-2 dark:bg-transparent" width="267" height="80" />
3529
</td>
36-
3730
</tr>
3831
</tbody>
3932
</table>
@@ -50,7 +43,6 @@ Créditos a [Angela Angelini](https://www.linkedin.com/in/angeliningl/) por dise
5043
<td>
5144
<img alt="Logo Apilado Claro de Node.js" src="/static/logos/nodejsStackedLight.svg" className="h-[164px] w-[267px] rounded bg-neutral-950 p-2 dark:bg-transparent" width="267" height="164" />
5245
</td>
53-
5446
</tr>
5547

5648
<tr>
@@ -61,7 +53,6 @@ Créditos a [Angela Angelini](https://www.linkedin.com/in/angeliningl/) por dise
6153
<td>
6254
<img alt="Logo Apilado Blanco de Node.js" src="/static/logos/nodejsStackedWhite.svg" className="rounded bg-neutral-950 p-2 dark:bg-transparent" />
6355
</td>
64-
6556
</tr>
6657
</tbody>
6758
</table>
@@ -78,7 +69,6 @@ Créditos a [Angela Angelini](https://www.linkedin.com/in/angeliningl/) por dise
7869
<td>
7970
<img alt="Iconos Blanco de JS" src="/static/logos/jsIconWhite.svg" className="height-[80px] mx-auto w-[71px] rounded bg-neutral-950 p-2 dark:bg-transparent" width="71" height="80" />
8071
</td>
81-
8272
</tr>
8373
</tbody>
8474
</table>

apps/site/pages/es/about/index.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ const hostname = '127.0.0.1';
1414
const port = 3000;
1515

1616
const server = createServer((req, res) => {
17-
res.statusCode = 200;
18-
res.setHeader('Content-Type', 'text/plain');
19-
res.end('Hello World');
17+
res.statusCode = 200;
18+
res.setHeader('Content-Type', 'text/plain');
19+
res.end('Hello World');
2020
});
2121

2222
server.listen(port, hostname, () => {
23-
console.log(`Server running at http://${hostname}:${port}/`);
23+
console.log(`Server running at http://${hostname}:${port}/`);
2424
});
2525
```
2626

@@ -31,13 +31,13 @@ const hostname = '127.0.0.1';
3131
const port = 3000;
3232

3333
const server = createServer((req, res) => {
34-
res.statusCode = 200;
35-
res.setHeader('Content-Type', 'text/plain');
36-
res.end('Hello World');
34+
res.statusCode = 200;
35+
res.setHeader('Content-Type', 'text/plain');
36+
res.end('Hello World');
3737
});
3838

3939
server.listen(port, hostname, () => {
40-
console.log(`Server running at http://${hostname}:${port}/`);
40+
console.log(`Server running at http://${hostname}:${port}/`);
4141
});
4242
```
4343

@@ -60,4 +60,4 @@ El hecho de que Node.js esté diseñado sin hilos no significa que no puedas ace
6060
[`child_process.fork()`]: https://nodejs.org/api/child_process.html
6161
[`cluster`]: https://nodejs.org/api/cluster.html
6262
[máquina de eventos]: https://github.com/eventmachine/eventmachine
63-
[twisted]: https://twisted.org/
63+
[torcido]: https://twisted.org/

apps/site/pages/es/about/security-reporting.mdx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,8 @@ Si tienes sugerencias sobre cómo podría mejorarse este proceso, por favor, env
5353

5454
## Mejores Prácticas de la OpenSSF
5555

56-
<a
57-
href="https://bestpractices.coreinfrastructure.org/projects/29"
58-
style={{ display: 'inline-flex' }}
59-
>
60-
<img
61-
alt="Insignia OpenSSF"
62-
src="https://bestpractices.coreinfrastructure.org/projects/29/badge"
63-
style={{ display: 'inline' }}
64-
/>
56+
<a href="https://bestpractices.coreinfrastructure.org/projects/29" style={{ display: 'inline-flex' }}>
57+
<img alt="Insignia OpenSSF" src="https://bestpractices.coreinfrastructure.org/projects/29/badge" style={{ display: 'inline' }} />
6558
</a>
6659

6760
La [Insignia de Buenas Prácticas](https://github.com/coreinfrastructure/best-practices-badge) de la Fundación de Seguridad del Software Abierto (OpenSSF) es una manera en que los proyectos de Software Libre y de Código Abierto (FLOSS) pueden mostrar que siguen las mejores prácticas. Los proyectos pueden auto-certificarse voluntariamente sobre cómo siguen cada buena práctica. Los consumidores de la insignia pueden evaluar rápidamente qué proyectos FLOSS siguen las mejores prácticas y, como resultado, tienen más probabilidades de producir software seguro de alta calidad.

apps/site/pages/es/download/package-manager/current.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ Lee el <Release.BlogPostLink>artículo del blog</Release.BlogPostLink> para esta
2020
Aprende a cómo <Release.VerifyingBinariesLink>verificar la firma SHASUMS</Release.VerifyingBinariesLink>
2121

2222
Comprueba otros <LinkWithArrow href="/download/package-manager/all">gestores de paquetes</LinkWithArrow> soportados por la comunidad
23-
2423
</section>

apps/site/pages/es/download/package-manager/index.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ Lee el <Release.BlogPostLink>artículo del blog</Release.BlogPostLink> para esta
2020
Aprende a cómo <Release.VerifyingBinariesLink>verificar la firma SHASUMS</Release.VerifyingBinariesLink>
2121

2222
Comprueba otros <LinkWithArrow href="/download/package-manager/all">gestores de paquetes</LinkWithArrow> soportados por la comunidad
23-
2423
</section>

apps/site/pages/es/download/prebuilt-binaries/current.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ Lee el <Release.BlogPostLink>artículo del blog</Release.BlogPostLink> para esta
2020
Aprende a cómo <Release.VerifyingBinariesLink>verificar la firma SHASUMS</Release.VerifyingBinariesLink>
2121

2222
Comprueba los binarios pre construidos de <LinkWithArrow href="https://nodejs.org/download/nightly/">Nightly</LinkWithArrow> o las <LinkWithArrow href="https://unofficial-builds.nodejs.org/download/">Construcciones no oficiales</LinkWithArrow> para otras plataformas
23-
2423
</section>

apps/site/pages/es/download/prebuilt-binaries/index.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ Lee el <Release.BlogPostLink>artículo del blog</Release.BlogPostLink> para esta
2020
Aprende a cómo <Release.VerifyingBinariesLink>verificar la firma SHASUMS</Release.VerifyingBinariesLink>.
2121

2222
Échale un vistazo a los binarios precompilados <LinkWithArrow href="https://nodejs.org/download/nightly/">Nightly</LinkWithArrow>, todos los binarios precompilados de los <LinkWithArrow href="https://nodejs.org/download/release/">Lanzamiento</LinkWithArrow>, o las <LinkWithArrow href="https://unofficial-builds.nodejs.org/download/">versiones no oficiales</LinkWithArrow> para otras plataformas.
23-
2423
</section>

apps/site/pages/es/download/prebuilt-installer/current.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ Aprende a cómo <Release.VerifyingBinariesLink>verificar la firma SHASUMS</Relea
2222
Vea todas las <LinkWithArrow href="https://nodejs.org/dist/">opciones de descarga</LinkWithArrow> de Node.js disponibles
2323

2424
Aprende sobre <LinkWithArrow href="about/previous-releases">Versiones de Node.js</LinkWithArrow>
25-
2625
</section>

apps/site/pages/es/download/prebuilt-installer/index.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ Aprende a cómo <Release.VerifyingBinariesLink>verificar la firma SHASUMS</Relea
2222
Vea todas las <LinkWithArrow href="https://nodejs.org/dist/">opciones de descarga</LinkWithArrow> de Node.js disponibles
2323

2424
Aprende sobre <LinkWithArrow href="/about/previous-releases">Versiones de Node.js</LinkWithArrow>
25-
2625
</section>

apps/site/pages/es/download/source-code/current.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ Lee el <Release.BlogPostLink>artículo del blog</Release.BlogPostLink> para esta
2020
Aprende a cómo <Release.VerifyingBinariesLink>verificar la firma SHASUMS</Release.VerifyingBinariesLink>
2121

2222
Consulta cómo <LinkWithArrow href="https://github.com/nodejs/node/blob/main/BUILDING.md#building-nodejs-on-supported-platforms">construir Node.js</LinkWithArrow> desde el código fuente.
23-
2423
</section>

apps/site/pages/es/download/source-code/index.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ Lee el <Release.BlogPostLink>artículo del blog</Release.BlogPostLink> para esta
2020
Aprende a cómo <Release.VerifyingBinariesLink>verificar la firma SHASUMS</Release.VerifyingBinariesLink>
2121

2222
Verifica cómo <LinkWithArrow href="https://github.com/nodejs/node/blob/main/BUILDING.md#building-nodejs-on-supported-platforms">construir Node.js</LinkWithArrow> desde el código fuente.
23-
2423
</section>

apps/site/pages/es/index.mdx

Lines changed: 83 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ layout: home
99
<div>
1010
<h1 className="special">Ejecuta JavaScript en cualquier parte</h1>
1111

12-
Node.js® es un entorno de ejecución de JavaScript multiplataforma,
13-
de código abierto y gratuito que permite a los desarrolladores crear servidores,
14-
aplicaciones web, herramientas de línea de comando y scripts.
15-
12+
Node.js® es un entorno de ejecución de JavaScript multiplataforma,
13+
de código abierto y gratuito que permite a los desarrolladores crear servidores,
14+
aplicaciones web, herramientas de línea de comando y scripts.
1615
</div>
1716

1817
<div>
@@ -47,93 +46,87 @@ aplicaciones web, herramientas de línea de comando y scripts.
4746
// server.mjs
4847
import { createServer } from 'node:http';
4948

50-
const server = createServer((req, res) => {
51-
res.writeHead(200, { 'Content-Type': 'text/plain' });
52-
res.end('Hello World!\n');
53-
});
54-
55-
// starts a simple http server locally on port 3000
56-
server.listen(3000, '127.0.0.1', () => {
57-
console.log('Listening on 127.0.0.1:3000');
58-
});
59-
60-
// run with `node server.mjs`
61-
62-
````
63-
64-
```js displayName="Write Tests"
65-
// tests.mjs
66-
import assert from 'node:assert';
67-
import test from 'node:test';
68-
69-
test('that 1 is equal 1', () => {
70-
assert.strictEqual(1, 1);
71-
});
72-
73-
test('that throws as 1 is not equal 2', () => {
74-
// throws an exception because 1 != 2
75-
assert.strictEqual(1, 2);
76-
});
77-
78-
// run with `node tests.mjs`
79-
````
80-
81-
```js displayName="Read and Hash a File"
82-
// crypto.mjs
83-
import { createHash } from 'node:crypto';
84-
import { readFile } from 'node:fs/promises';
85-
86-
const hasher = createHash('sha1');
87-
88-
hasher.setEncoding('hex');
89-
// ensure you have a `package.json` file for this test!
90-
hasher.write(await readFile('package.json'));
91-
hasher.end();
92-
93-
const fileHash = hasher.read();
94-
95-
// run with `node crypto.mjs`
96-
```
97-
98-
```js displayName="Streams Pipeline"
99-
// streams.mjs
100-
import { pipeline } from 'node:stream/promises';
101-
import { createReadStream, createWriteStream } from 'node:fs';
102-
import { createGzip } from 'node:zlib';
103-
104-
// ensure you have a `package.json` file for this test!
105-
await pipeline(
106-
createReadStream('package.json'),
107-
createGzip(),
108-
createWriteStream('package.json.gz')
109-
);
110-
111-
// run with `node streams.mjs`
112-
```
113-
114-
```js displayName="Work with Threads"
115-
// threads.mjs
116-
import {
117-
Worker,
118-
isMainThread,
119-
workerData,
120-
parentPort,
121-
} from 'node:worker_threads';
122-
123-
if (isMainThread) {
124-
const data = 'some data';
125-
const worker = new Worker(import.meta.filename, { workerData: data });
126-
worker.on('message', msg => console.log('Reply from Thread:', msg));
127-
} else {
128-
const source = workerData;
129-
parentPort.postMessage(btoa(source.toUpperCase()));
130-
}
131-
132-
// run with `node threads.mjs`
133-
```
134-
49+
const server = createServer((req, res) => {
50+
res.writeHead(200, { 'Content-Type': 'text/plain' });
51+
res.end('Hello World!\n');
52+
});
53+
54+
// starts a simple http server locally on port 3000
55+
server.listen(3000, '127.0.0.1', () => {
56+
console.log('Listening on 127.0.0.1:3000');
57+
});
58+
59+
// run with `node server.mjs`
60+
```
61+
62+
```js displayName="Write Tests"
63+
// tests.mjs
64+
import assert from 'node:assert';
65+
import test from 'node:test';
66+
67+
test('that 1 is equal 1', () => {
68+
assert.strictEqual(1, 1);
69+
});
70+
71+
test('that throws as 1 is not equal 2', () => {
72+
// throws an exception because 1 != 2
73+
assert.strictEqual(1, 2);
74+
});
75+
76+
// run with `node tests.mjs`
77+
```
78+
79+
```js displayName="Read and Hash a File"
80+
// crypto.mjs
81+
import { createHash } from 'node:crypto';
82+
import { readFile } from 'node:fs/promises';
83+
84+
const hasher = createHash('sha1');
85+
86+
hasher.setEncoding('hex');
87+
// ensure you have a `package.json` file for this test!
88+
hasher.write(await readFile('package.json'));
89+
hasher.end();
90+
91+
const fileHash = hasher.read();
92+
93+
// run with `node crypto.mjs`
94+
```
95+
96+
```js displayName="Streams Pipeline"
97+
// streams.mjs
98+
import { pipeline } from 'node:stream/promises';
99+
import { createReadStream, createWriteStream } from 'node:fs';
100+
import { createGzip } from 'node:zlib';
101+
102+
// ensure you have a `package.json` file for this test!
103+
await pipeline
104+
(
105+
createReadStream('package.json'),
106+
createGzip(),
107+
createWriteStream('package.json.gz')
108+
);
109+
110+
// run with `node streams.mjs`
111+
```
112+
113+
```js displayName="Work with Threads"
114+
// threads.mjs
115+
import { Worker, isMainThread,
116+
workerData, parentPort } from 'node:worker_threads';
117+
118+
if (isMainThread) {
119+
const data = 'some data';
120+
const worker = new Worker(import.meta.filename, { workerData: data });
121+
worker.on('message', msg => console.log('Reply from Thread:', msg));
122+
} else {
123+
const source = workerData;
124+
parentPort.postMessage(btoa(source.toUpperCase()));
125+
}
126+
127+
// run with `node threads.mjs`
128+
```
135129
</div>
136130
137131
Aprenda más sobre lo que Node.js puede ofrecer con nuestros [Materiales de aprendizaje](/learn).
138-
139132
</section>

apps/site/pages/fa/about/index.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ const hostname = '127.0.0.1';
1414
const port = 3000;
1515

1616
const server = createServer((req, res) => {
17-
res.statusCode = 200;
18-
res.setHeader('Content-Type', 'text/plain');
19-
res.end('Hello World');
17+
res.statusCode = 200;
18+
res.setHeader('Content-Type', 'text/plain');
19+
res.end('Hello World');
2020
});
2121

2222
server.listen(port, hostname, () => {
23-
console.log(`Server running at http://${hostname}:${port}/`);
23+
console.log(`Server running at http://${hostname}:${port}/`);
2424
});
2525
```
2626

@@ -31,13 +31,13 @@ const hostname = '127.0.0.1';
3131
const port = 3000;
3232

3333
const server = createServer((req, res) => {
34-
res.statusCode = 200;
35-
res.setHeader('Content-Type', 'text/plain');
36-
res.end('Hello World');
34+
res.statusCode = 200;
35+
res.setHeader('Content-Type', 'text/plain');
36+
res.end('Hello World');
3737
});
3838

3939
server.listen(port, hostname, () => {
40-
console.log(`Server running at http://${hostname}:${port}/`);
40+
console.log(`Server running at http://${hostname}:${port}/`);
4141
});
4242
```
4343

apps/site/pages/fa/about/security-reporting.mdx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,8 @@ layout: about
5050

5151
## رویه‌های بهینه OpenSSF
5252

53-
<a
54-
href="https://bestpractices.coreinfrastructure.org/projects/29"
55-
style={{ display: 'inline-flex' }}
56-
>
57-
<img
58-
alt="نشان OpenSSF"
59-
src="https://bestpractices.coreinfrastructure.org/projects/29/badge"
60-
style={{ display: 'inline' }}
61-
/>
53+
<a href="https://bestpractices.coreinfrastructure.org/projects/29" style={{ display: 'inline-flex' }}>
54+
<img alt="نشان OpenSSF" src="https://bestpractices.coreinfrastructure.org/projects/29/badge" style={{ display: 'inline' }} />
6255
</a>
6356

6457
[نشان بهترین شیوه ها](https://github.com/coreinfrastructure/best-practices-badge) بنیاد امنیت متن باز (OpenSSF) راهی است برای پروژه‌های نرم‌افزار آزاد/رایگان و متن باز (FLOSS) تا نشان دهند که از رویه‌های بهینه پیروی می‌کنند. پروژه‌ها می‌توانند به صورت داوطلبانه خود تأیید کنند که چگونه از هر رویه بهینه پیروی می‌کنند. مصرف‌کنندگان این نشان می‌توانند به سرعت ارزیابی کنند که کدام پروژه‌های FLOSS از رویه‌های بهینه پیروی می‌کنند و در نتیجه احتمال بیشتری دارد که نرم‌افزارهای امن با کیفیت بالاتر تولید کنند.

0 commit comments

Comments
 (0)