Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[automated]: crowdin sync, enables korean #7321

Merged
merged 3 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/site/pages/fr/about/branding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Veuillez consulter la [politique en matière de marques](https://trademark-polic

## Mascotte de Node.js®

Crédit à [@Ang_ngl on X](https://x.com/Ang_ngl) pour la conception et la contribution de la Tortue-fusée.
Crédit à [Angela Angelini](https://www.linkedin.com/in/angeliningl/) pour la conception et la contribution de la tortue-fusée.

<img
alt="Mascotte de Node.js"
Expand Down
4 changes: 4 additions & 0 deletions apps/site/pages/fr/about/previous-releases.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ Les applications de production ne doivent utiliser que les versions _Active LTS_

Tous les détails concernant le calendrier des versions de Node.js sont disponibles [sur GitHub](https://github.com/nodejs/release#release-schedule).

### Support Commercial

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://herodevs.com/).

## Vous recherchez la dernière version d'une branche de version ?

<DownloadReleasesTable />
4 changes: 2 additions & 2 deletions apps/site/pages/fr/download/package-manager/current.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Installer Node.js <Release.VersionDropdown /> sur <Release.OperatingSystemDropdo
<section>
Node.js inclut <Release.NpmLink />.

Lire le journal des modifications pour <Release.ChangelogLink>cette version</Release.ChangelogLink>
Lire le <Release.ChangelogLink>journal des modifications</Release.ChangelogLink> pour cette version.

Lire l'article de blog pour <Release.BlogPostLink>cette version</Release.BlogPostLink>
Lire le <Release.BlogPostLink>journal des modifications</Release.BlogPostLink> pour cette version.

Apprenez à <Release.VerifyingBinariesLink>vérifier les SHASUMS</Release.VerifyingBinariesLink> signés

Expand Down
4 changes: 2 additions & 2 deletions apps/site/pages/fr/download/package-manager/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Installer Node.js <Release.VersionDropdown /> sur <Release.OperatingSystemDropdo
<section>
Node.js inclut <Release.NpmLink />.

Lire le journal des modifications pour <Release.ChangelogLink>cette version</Release.ChangelogLink>
Lire le <Release.ChangelogLink>journal des modifications</Release.ChangelogLink> pour cette version

Lire l'article de blog pour <Release.BlogPostLink>cette version</Release.BlogPostLink>
Lire le <Release.BlogPostLink>journal des modifications</Release.BlogPostLink> pour cette version

Apprenez à <Release.VerifyingBinariesLink>vérifier les SHASUMS</Release.VerifyingBinariesLink> signés

Expand Down
4 changes: 2 additions & 2 deletions apps/site/pages/fr/download/prebuilt-binaries/current.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Je veux la version <Release.VersionDropdown /> de Node.js pour <Release.Operatin
<section>
Node.js inclut <Release.NpmLink />.

Lire le journal des modifications pour <Release.ChangelogLink>cette version</Release.ChangelogLink>
Lire le <Release.ChangelogLink>journal des modifications</Release.ChangelogLink> pour cette version

Lire l'article de blog pour <Release.BlogPostLink>cette version</Release.BlogPostLink>
Lire le <Release.BlogPostLink>journal des modifications</Release.BlogPostLink> pour cette version

Apprenez à <Release.VerifyingBinariesLink>vérifier les SHASUMS</Release.VerifyingBinariesLink> signés

Expand Down
4 changes: 2 additions & 2 deletions apps/site/pages/fr/download/prebuilt-binaries/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Je veux la version <Release.VersionDropdown /> de Node.js pour <Release.Operatin
<section>
Node.js inclut <Release.NpmLink />.

Lire le journal des modifications pour <Release.ChangelogLink>cette version</Release.ChangelogLink>.
Lire le <Release.ChangelogLink>journal des modifications</Release.ChangelogLink> pour cette version.

Lire l'article de blog pour <Release.BlogPostLink>cette version</Release.BlogPostLink>.
Lire le <Release.BlogPostLink>journal des modifications</Release.BlogPostLink> pour cette version.

Apprenez à <Release.VerifyingBinariesLink>vérifier les SHASUMS signés</Release.VerifyingBinariesLink>.

Expand Down
4 changes: 2 additions & 2 deletions apps/site/pages/fr/download/prebuilt-installer/current.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Je veux la version <Release.VersionDropdown /> de Node.js pour <Release.Operatin
<section>
Node.js inclut <Release.NpmLink />.

Lire le journal des modifications pour <Release.ChangelogLink>cette version</Release.ChangelogLink>
Lire le <Release.ChangelogLink>journal des modifications</Release.ChangelogLink> pour cette version

Lire l'article de blog pour <Release.BlogPostLink>cette version</Release.BlogPostLink>
Lire le <Release.BlogPostLink>journal des modifications</Release.BlogPostLink> pour cette version

Apprenez à <Release.VerifyingBinariesLink>vérifier les SHASUMS</Release.VerifyingBinariesLink> signés

Expand Down
4 changes: 2 additions & 2 deletions apps/site/pages/fr/download/prebuilt-installer/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Je veux la version <Release.VersionDropdown /> de Node.js pour <Release.Operatin
<section>
Node.js inclut <Release.NpmLink />.

Lire le journal des modifications pour <Release.ChangelogLink>cette version</Release.ChangelogLink>
Lire le <Release.ChangelogLink>journal des modifications</Release.ChangelogLink> pour cette version.

Lire l'article de blog pour <Release.BlogPostLink>cette version</Release.BlogPostLink>
Lire le <Release.BlogPostLink>journal des modifications</Release.BlogPostLink> pour cette version.

Apprenez à <Release.VerifyingBinariesLink>vérifier les SHASUMS</Release.VerifyingBinariesLink> signés

Expand Down
4 changes: 2 additions & 2 deletions apps/site/pages/fr/download/source-code/current.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Je veux la version <Release.VersionDropdown /> du code source de Node.js.
<section>
Node.js inclut <Release.NpmLink />.

Lire le journal des modifications pour <Release.ChangelogLink>cette version</Release.ChangelogLink>
Lire le <Release.ChangelogLink>journal des modifications</Release.ChangelogLink> pour cette version.

Lire l'article de blog pour <Release.BlogPostLink>cette version</Release.BlogPostLink>
Lire le <Release.BlogPostLink>journal des modifications</Release.BlogPostLink> pour cette version.

Apprenez à <Release.VerifyingBinariesLink>vérifier les SHASUMS</Release.VerifyingBinariesLink> signés

Expand Down
4 changes: 2 additions & 2 deletions apps/site/pages/fr/download/source-code/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Je veux la version <Release.VersionDropdown /> du code source de Node.js.
<section>
Node.js inclut <Release.NpmLink />.

Lire le journal des modifications pour <Release.ChangelogLink>cette version</Release.ChangelogLink>
Lire le <Release.ChangelogLink>journal des modifications</Release.ChangelogLink> pour cette version.

Lire l'article de blog pour <Release.BlogPostLink>cette version</Release.BlogPostLink>
Lire le <Release.BlogPostLink>journal des modifications</Release.BlogPostLink> pour cette version.

Apprenez à <Release.VerifyingBinariesLink>vérifier les SHASUMS</Release.VerifyingBinariesLink> signés

Expand Down
247 changes: 124 additions & 123 deletions apps/site/pages/fr/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,133 +4,134 @@ layout: home
---

<section>
<WithBadge section="index" />

<div>
<h1 className="special">Exécuter du JavaScript partout</h1>

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 et des applications de gestion de contenu. qui permet
aux développeurs de créer des serveurs, des applications web, des outils en
ligne de commande et des scripts.

</div>

<div>
<WithNodeRelease status={['LTS']}>
{({ release }) => (
<>
<DownloadButton release={release}>Télécharger Node.js (LTS)</DownloadButton>
<small>
Télécharger Node.js <b>{release.versionWithPrefix}</b>
<sup title="Downloads a Node.js installer for your current platform">1</sup> avec un support à long terme.
Node.js peut également être installé via <Link href="/download/package-manager">gestionnaires de paquets</Link>.
</small>
</>
)}
</WithNodeRelease>
<WithBadge section="index" />

<div>
<h1 className="special">Exécuter du JavaScript partout</h1>

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.

</div>

<WithNodeRelease status={['Current']}>
{({ release }) => (
<div>
<WithNodeRelease status={['LTS']}>
{({ release }) => (
<>
<DownloadButton release={release}>Télécharger Node.js (LTS)</DownloadButton>
<small>
Vous voulez de nouvelles fonctionnalités plus tôt ?
Obtenez <b>Node.js <DownloadLink release={release}>{release.versionWithPrefix}</DownloadLink></b>
<sup title="Downloads a Node.js installer for your current platform">1</sup> à la place.
Télécharger Node.js <b>{release.versionWithPrefix}</b>
<sup title="Downloads a Node.js installer for your current platform">1</sup> avec un support à long terme.
Node.js peut également être installé via <Link href="/download/package-manager">gestionnaires de paquets</Link>.
</small>
)}
</WithNodeRelease>

</div>
</>
)}
</WithNodeRelease>

<WithNodeRelease status={['Current']}>
{({ release }) => (
<small>
Vous voulez de nouvelles fonctionnalités plus tôt ?
Obtenez <b>Node.js <DownloadLink release={release}>{release.versionWithPrefix}</DownloadLink></b>
<sup title="Downloads a Node.js installer for your current platform">1</sup> à la place.
</small>
)}
</WithNodeRelease>
</div>
</section>

<section>
<div>
```js displayName="Create an HTTP Server"
// server.mjs
import { createServer } from 'node:http';

const server = createServer((req, res) => {
res.writeHead(200, { 'Content-Type': 'text/plain' });
res.end('Hello World!\n');
});

// starts a simple http server locally on port 3000
server.listen(3000, '127.0.0.1', () => {
console.log('Listening on 127.0.0.1:3000');
});

// run with `node server.mjs`
```

```js displayName="Write Tests"
// tests.mjs
import assert from 'node:assert';
import test from 'node:test';

test('that 1 is equal 1', () => {
assert.strictEqual(1, 1);
});

test('that throws as 1 is not equal 2', () => {
// throws an exception because 1 != 2
assert.strictEqual(1, 2);
});

// run with `node tests.mjs`
```

```js displayName="Read and Hash a File"
// crypto.mjs
import { createHash } from 'node:crypto';
import { readFile } from 'node:fs/promises';

const hasher = createHash('sha1');

hasher.setEncoding('hex');
// ensure you have a `package.json` file for this test!
hasher.write(await readFile('package.json'));
hasher.end();

const fileHash = hasher.read();

// run with `node crypto.mjs`
```

```js displayName="Streams Pipeline"
// streams.mjs
import { pipeline } from 'node:stream/promises';
import { createReadStream, createWriteStream } from 'node:fs';
import { createGzip } from 'node:zlib';

// ensure you have a `package.json` file for this test!
await pipeline
(
createReadStream('package.json'),
createGzip(),
createWriteStream('package.json.gz')
);

// run with `node streams.mjs`
```

```js displayName="Work with Threads"
// threads.mjs
import { Worker, isMainThread,
workerData, parentPort } from 'node:worker_threads';

if (isMainThread) {
const data = 'some data';
const worker = new Worker(import.meta.filename, { workerData: data });
worker.on('message', msg => console.log('Reply from Thread:', msg));
} else {
const source = workerData;
parentPort.postMessage(btoa(source.toUpperCase()));
}

// run with `node threads.mjs`
```

</div>
Apprenez-en plus sur ce que Node.js est capable d'offrir avec notre [Matériel d'apprentissage](/learn).
<div>
```js displayName="Create an HTTP Server"
// server.mjs
import { createServer } from 'node:http';

const server = createServer((req, res) => {
res.writeHead(200, { 'Content-Type': 'text/plain' });
res.end('Hello World!\n');
});

// starts a simple http server locally on port 3000
server.listen(3000, '127.0.0.1', () => {
console.log('Listening on 127.0.0.1:3000');
});

// run with `node server.mjs`

````

```js displayName="Write Tests"
// tests.mjs
import assert from 'node:assert';
import test from 'node:test';

test('that 1 is equal 1', () => {
assert.strictEqual(1, 1);
});

test('that throws as 1 is not equal 2', () => {
// throws an exception because 1 != 2
assert.strictEqual(1, 2);
});

// run with `node tests.mjs`
````

```js displayName="Read and Hash a File"
// crypto.mjs
import { createHash } from 'node:crypto';
import { readFile } from 'node:fs/promises';

const hasher = createHash('sha1');

hasher.setEncoding('hex');
// ensure you have a `package.json` file for this test!
hasher.write(await readFile('package.json'));
hasher.end();

const fileHash = hasher.read();

// run with `node crypto.mjs`
```

```js displayName="Streams Pipeline"
// streams.mjs
import { pipeline } from 'node:stream/promises';
import { createReadStream, createWriteStream } from 'node:fs';
import { createGzip } from 'node:zlib';

// ensure you have a `package.json` file for this test!
await pipeline(
createReadStream('package.json'),
createGzip(),
createWriteStream('package.json.gz')
);

// run with `node streams.mjs`
```

```js displayName="Work with Threads"
// threads.mjs
import {
Worker,
isMainThread,
workerData,
parentPort,
} from 'node:worker_threads';

if (isMainThread) {
const data = 'some data';
const worker = new Worker(import.meta.filename, { workerData: data });
worker.on('message', msg => console.log('Reply from Thread:', msg));
} else {
const source = workerData;
parentPort.postMessage(btoa(source.toUpperCase()));
}

// run with `node threads.mjs`
```

</div>

Apprenez-en plus sur ce que Node.js est capable d'offrir avec notre [Matériel d'apprentissage](/learn).

</section>
Loading
Loading