Skip to content

Commit c59844e

Browse files
committed
chore: synced translations from crowdin
1 parent ba2021e commit c59844e

34 files changed

+336
-238
lines changed

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

Lines changed: 1 addition & 10 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

@@ -34,7 +28,6 @@ Créditos a [Angela Angelini](https://www.linkedin.com/in/angeliningl/) por dise
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>
3630
</tr>
37-
3831
</tbody>
3932
</table>
4033

@@ -61,7 +54,6 @@ Créditos a [Angela Angelini](https://www.linkedin.com/in/angeliningl/) por dise
6154
<img alt="Logo Apilado Blanco de Node.js" src="/static/logos/nodejsStackedWhite.svg" className="rounded-xs bg-neutral-950 p-2 dark:bg-transparent" />
6255
</td>
6356
</tr>
64-
6557
</tbody>
6658
</table>
6759

@@ -78,6 +70,5 @@ Créditos a [Angela Angelini](https://www.linkedin.com/in/angeliningl/) por dise
7870
<img alt="Iconos Blanco de JS" src="/static/logos/jsIconWhite.svg" className="height-[80px] rounded-xs mx-auto w-[71px] bg-neutral-950 p-2 dark:bg-transparent" width="71" height="80" />
7971
</td>
8072
</tr>
81-
8273
</tbody>
8374
</table>

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/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 از رویه‌های بهینه پیروی می‌کنند و در نتیجه احتمال بیشتری دارد که نرم‌افزارهای امن با کیفیت بالاتر تولید کنند.

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

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,7 @@ Veuillez consulter la [politique en matière de marques](https://trademark-polic
1111

1212
Crédit à [Angela Angelini](https://www.linkedin.com/in/angeliningl/) pour la conception et la contribution de la tortue-fusée.
1313

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

2216
## Logo Node.js®
2317

@@ -34,7 +28,6 @@ Crédit à [Angela Angelini](https://www.linkedin.com/in/angeliningl/) pour la c
3428
<img alt="Logo horizontal clair 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>
3630
</tr>
37-
3831
</tbody>
3932
</table>
4033

@@ -61,7 +54,6 @@ Crédit à [Angela Angelini](https://www.linkedin.com/in/angeliningl/) pour la c
6154
<img alt="Logo empilé blanc de Node.js" src="/static/logos/nodejsStackedWhite.svg" className="rounded-xs bg-neutral-950 p-2 dark:bg-transparent" />
6255
</td>
6356
</tr>
64-
6557
</tbody>
6658
</table>
6759

@@ -78,6 +70,5 @@ Crédit à [Angela Angelini](https://www.linkedin.com/in/angeliningl/) pour la c
7870
<img alt="Icons JS Blanc" src="/static/logos/jsIconWhite.svg" className="height-[80px] rounded-xs mx-auto w-[71px] bg-neutral-950 p-2 dark:bg-transparent" width="71" height="80" />
7971
</td>
8072
</tr>
81-
8273
</tbody>
8374
</table>

apps/site/pages/fr/about/previous-releases.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Tous les détails concernant le calendrier des versions de Node.js sont disponib
1818

1919
### Support Commercial
2020

21-
Le support commercial pour les versions dépassant la phase de maintenance est disponible auprès de notre partenaire OpenJS Ecosystem Sustainability Program [HeroDevs](https://www.herodevs.com/support/node-nes?utm_source=NodeJS+&utm_medium=Link&utm_campaign=Version_support_page).
21+
Le support commercial pour les versions dépassant la phase de maintenance est disponible auprès de notre partenaire OpenJS Ecosystem Sustainability Program [HeroDevs](https://www.herodevs.com/support/node-nes?utm_source=NodeJS+\&utm_medium=Link\&utm_campaign=Version_support_page).
2222

2323
## Vous cherchez la dernière version d'une branche de version ?
2424

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

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,8 @@ Si vous avez des suggestions sur la façon dont ce processus pourrait être amé
7474

7575
## OpenSSF Best Practices
7676

77-
<a
78-
href="https://bestpractices.coreinfrastructure.org/projects/29"
79-
style={{ display: 'inline-flex' }}
80-
>
81-
<img
82-
alt="Badge OpenSSF"
83-
src="https://bestpractices.coreinfrastructure.org/projects/29/badge"
84-
style={{ display: 'inline' }}
85-
/>
77+
<a href="https://bestpractices.coreinfrastructure.org/projects/29" style={{ display: 'inline-flex' }}>
78+
<img alt="Badge OpenSSF" src="https://bestpractices.coreinfrastructure.org/projects/29/badge" style={{ display: 'inline' }} />
8679
</a>
8780

8881
Le [badge des meilleures pratiques] de l'Open Source Security Foundation (OpenSSF) (https://github.com/coreinfrastructure/best-practices-badge) est un moyen pour les projets de logiciels libres et open source (FLOSS) de montrer qu'ils suivent les meilleures pratiques. Les projets peuvent volontairement auto-certifier la manière dont ils suivent chaque meilleure pratique. Les utilisateurs du badge peuvent rapidement déterminer quels sont les projets FLOSS qui suivent les meilleures pratiques et qui sont donc plus susceptibles de produire des logiciels sécurisés de meilleure qualité.

apps/site/pages/fr/download/current.mdx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,23 @@ title: Télécharger Node.js®
66
<section>
77
Obtenir Node.js® <Release.VersionDropdown /> pour <Release.OperatingSystemDropdown /> l'utiliser <Release.InstallationMethodDropdown /> avec <Release.PackageManagerDropdown />
88

9-
<Release.ReleaseCodeBox />
9+
<Release.ReleaseCodeBox />
1010

1111
<Release.Provider>
1212
Ou obtenez Node.js® préconstruit <Release.OperatingSystemDropdown /> exécutant une <Release.PlatformDropdown /> architecture.
1313

1414
<Release.PrebuiltDownloadButtons />
15-
1615
</Release.Provider>
1716
</section>
1817

1918
<section>
2019
Lisez le <Release.ChangelogLink>journal des modifications</Release.ChangelogLink> ou <Release.BlogPostLink>article de blog</Release.BlogPostLink> pour cette version.
2120

22-
En savoir plus sur les [versions de Node.js](/about/previous-releases), y compris le calendrier des versions et le statut LTS.
23-
24-
Apprenez à <LinkWithArrow href="https://github.com/nodejs/node#verifying-binaries">vérifier</LinkWithArrow> les SHASUMS signés.
21+
En savoir plus sur les [versions de Node.js](/about/previous-releases), y compris le calendrier des versions et le statut LTS.
2522

26-
Vous cherchez les sources de Node.js ? Téléchargez une archive signée <Release.DownloadLink kind="source">Node.js source</Release.DownloadLink>.
23+
Apprenez à <LinkWithArrow href="https://github.com/nodejs/node#verifying-binaries">vérifier</LinkWithArrow> les SHASUMS signés.
2724

28-
Consultez nos binaires <LinkWithArrow href="https://nodejs.org/download/nightly/">chaque nuit</LinkWithArrow>, toutes les <LinkWithArrow href="https://nodejs.org/download/release/">versions précédentes</LinkWithArrow> ou les binaires <LinkWithArrow href="https://unofficial-builds.nodejs.org/download/">non officiels</LinkWithArrow> pour d'autres plateformes.
25+
Vous cherchez les sources de Node.js ? Téléchargez une archive signée <Release.DownloadLink kind="source">Node.js source</Release.DownloadLink>.
2926

27+
Consultez nos binaires <LinkWithArrow href="https://nodejs.org/download/nightly/">chaque nuit</LinkWithArrow>, toutes les <LinkWithArrow href="https://nodejs.org/download/release/">versions précédentes</LinkWithArrow> ou les binaires <LinkWithArrow href="https://unofficial-builds.nodejs.org/download/">non officiels</LinkWithArrow> pour d'autres plateformes.
3028
</section>

apps/site/pages/fr/download/index.mdx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,23 @@ title: Télécharger Node.js®
66
<section>
77
Obtenir Node.js® <Release.VersionDropdown /> pour <Release.OperatingSystemDropdown /> l'utiliser <Release.InstallationMethodDropdown /> avec <Release.PackageManagerDropdown />
88

9-
<Release.ReleaseCodeBox />
9+
<Release.ReleaseCodeBox />
1010

1111
<Release.Provider>
1212
Ou obtenez un Node.js® préconstruit <Release.OperatingSystemDropdown /> exécutant une <Release.PlatformDropdown /> architecture.
1313

1414
<Release.PrebuiltDownloadButtons />
15-
1615
</Release.Provider>
1716
</section>
1817

1918
<section>
2019
Lisez le <Release.ChangelogLink>journal des modifications</Release.ChangelogLink> ou <Release.BlogPostLink>article de blog</Release.BlogPostLink> pour cette version.
2120

22-
En savoir plus sur les [versions de Node.js](/about/previous-releases), y compris le calendrier des versions et le statut LTS.
23-
24-
Apprenez à <LinkWithArrow href="https://github.com/nodejs/node#verifying-binaries">vérifier</LinkWithArrow> les SHASUMS signés.
21+
En savoir plus sur les [versions de Node.js](/about/previous-releases), y compris le calendrier des versions et le statut LTS.
2522

26-
Vous cherchez les sources de Node.js ? Téléchargez une archive signée <Release.DownloadLink kind="source">Node.js source</Release.DownloadLink>.
23+
Apprenez à <LinkWithArrow href="https://github.com/nodejs/node#verifying-binaries">vérifier</LinkWithArrow> les SHASUMS signés.
2724

28-
Consultez nos binaires <LinkWithArrow href="https://nodejs.org/download/nightly/">chaque nuit</LinkWithArrow>, toutes les <LinkWithArrow href="https://nodejs.org/download/release/">versions précédentes</LinkWithArrow> ou les binaires <LinkWithArrow href="https://unofficial-builds.nodejs.org/download/">non officiels</LinkWithArrow> pour d'autres plateformes.
25+
Vous cherchez les sources de Node.js ? Téléchargez une archive signée <Release.DownloadLink kind="source">Node.js source</Release.DownloadLink>.
2926

27+
Consultez nos binaires <LinkWithArrow href="https://nodejs.org/download/nightly/">chaque nuit</LinkWithArrow>, toutes les <LinkWithArrow href="https://nodejs.org/download/release/">versions précédentes</LinkWithArrow> ou les binaires <LinkWithArrow href="https://unofficial-builds.nodejs.org/download/">non officiels</LinkWithArrow> pour d'autres plateformes.
3028
</section>

apps/site/pages/fr/index.mdx

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
---
2+
title: Exécuter du JavaScript partout
3+
layout: home
4+
---
5+
6+
<section>
7+
<WithBadgeGroup section="index" />
8+
9+
<div>
10+
<h1 className="special">Exécuter du JavaScript partout</h1>
11+
12+
Node.js® est un environnement d'exécution JavaScript gratuit, open-source et multiplateforme qui permet aux développeurs de créer des serveurs, des applications web, des outils en ligne de commande et des scripts.
13+
</div>
14+
15+
<div className="flex gap-4">
16+
<div className="flex flex-col gap-2">
17+
<Button kind="special" className="!hidden dark:!block" href="/download">Installer Node.js</Button>
18+
19+
<Button kind="primary" className="!block dark:!hidden" href="/download">Installer Node.js</Button>
20+
21+
<Button kind="secondary" className="!block" href="https://www.herodevs.com/support/node-nes?utm_source=NodeJS+&utm_medium=Link&utm_campaign=Homepage_button">
22+
<span>Obtenir une aide à la sécurité</span>
23+
24+
<br />
25+
26+
<small className="!text-xs">pour Node.js 18 et moins</small>
27+
</Button>
28+
</div>
29+
</div>
30+
</section>
31+
32+
<section>
33+
<div>
34+
```js displayName="Create an HTTP Server"
35+
// server.mjs
36+
import { createServer } from 'node:http';
37+
38+
const server = createServer((req, res) => {
39+
res.writeHead(200, { 'Content-Type': 'text/plain' });
40+
res.end('Hello World!\n');
41+
});
42+
43+
// starts a simple http server locally on port 3000
44+
server.listen(3000, '127.0.0.1', () => {
45+
console.log('Listening on 127.0.0.1:3000');
46+
});
47+
48+
// run with `node server.mjs`
49+
```
50+
51+
```js displayName="Write Tests"
52+
// tests.mjs
53+
import assert from 'node:assert';
54+
import test from 'node:test';
55+
56+
test('that 1 is equal 1', () => {
57+
assert.strictEqual(1, 1);
58+
});
59+
60+
test('that throws as 1 is not equal 2', () => {
61+
// throws an exception because 1 != 2
62+
assert.strictEqual(1, 2);
63+
});
64+
65+
// run with `node tests.mjs`
66+
```
67+
68+
```js displayName="Read and Hash a File"
69+
// crypto.mjs
70+
import { createHash } from 'node:crypto';
71+
import { readFile } from 'node:fs/promises';
72+
73+
const hasher = createHash('sha1');
74+
75+
hasher.setEncoding('hex');
76+
// ensure you have a `package.json` file for this test!
77+
hasher.write(await readFile('package.json'));
78+
hasher.end();
79+
80+
const fileHash = hasher.read();
81+
82+
// run with `node crypto.mjs`
83+
```
84+
85+
```js displayName="Streams Pipeline"
86+
// streams.mjs
87+
import { createReadStream, createWriteStream } from 'node:fs';
88+
import { pipeline } from 'node:stream/promises';
89+
import { createGzip } from 'node:zlib';
90+
91+
// ensure you have a `package.json` file for this test!
92+
await pipeline(
93+
createReadStream('package.json'),
94+
createGzip(),
95+
createWriteStream('package.json.gz')
96+
);
97+
98+
// run with `node streams.mjs`
99+
```
100+
101+
```js displayName="Work with Threads"
102+
// threads.mjs
103+
import { Worker, isMainThread,
104+
workerData, parentPort } from 'node:worker_threads';
105+
106+
if (isMainThread) {
107+
const data = 'some data';
108+
const worker = new Worker(import.meta.filename, { workerData: data });
109+
worker.on('message', msg => console.log('Reply from Thread:', msg));
110+
} else {
111+
const source = workerData;
112+
parentPort.postMessage(btoa(source.toUpperCase()));
113+
}
114+
115+
// run with `node threads.mjs`
116+
```
117+
</div>
118+
119+
Apprenez-en plus sur ce que Node.js est capable d'offrir avec notre [Matériel d'apprentissage](/learn).
120+
</section>

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

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,7 @@ Harap tinjau [kebijakan merek dagang](https://trademark-policy.openjsf.org/) unt
1111

1212
Penghargaan kepada [Angela Angelini](https://www.linkedin.com/in/angeliningl/) atas desain dan kontribusinya terhadap Rocket Turtle.
1313

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

2216
## Logo Node.js®
2317

@@ -34,7 +28,6 @@ Penghargaan kepada [Angela Angelini](https://www.linkedin.com/in/angeliningl/) a
3428
<img alt="Logo Terang Horizontal 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>
3630
</tr>
37-
3831
</tbody>
3932
</table>
4033

@@ -61,7 +54,6 @@ Penghargaan kepada [Angela Angelini](https://www.linkedin.com/in/angeliningl/) a
6154
<img alt="Logo Bertumpuk Putih Node.js" src="/static/logos/nodejsStackedWhite.svg" className="rounded-xs bg-neutral-950 p-2 dark:bg-transparent" />
6255
</td>
6356
</tr>
64-
6557
</tbody>
6658
</table>
6759

@@ -78,6 +70,5 @@ Penghargaan kepada [Angela Angelini](https://www.linkedin.com/in/angeliningl/) a
7870
<img alt="Ikon JS Putih" src="/static/logos/jsIconWhite.svg" className="height-[80px] rounded-xs mx-auto w-[71px] bg-neutral-950 p-2 dark:bg-transparent" width="71" height="80" />
7971
</td>
8072
</tr>
81-
8273
</tbody>
8374
</table>

0 commit comments

Comments
 (0)