Skip to content

Commit

Permalink
chore(i18n): crowdin sync (#5902)
Browse files Browse the repository at this point in the history
  • Loading branch information
ovflowd authored Sep 29, 2023
1 parent 2bce7e1 commit 780ee99
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/translations-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ jobs:
- name: Run `npx lint:md --fix`
# This runs a specific version of ESLint with only the Translation Pages Globbing
# This avoid that unrelated changes get linted/modified within this PR
run: npx eslint "pages/**/*.{md,mdx}" --fix --cache --cache-strategy content --cache-file .eslintmdcache
run: npx eslint "pages/**/*.{md,mdx}" --fix --cache --cache-strategy metadata --cache-file .eslintmdcache

- name: Run `npx prettier --write`
# This runs a specific version of Prettier with only the Translation Pages Globbing
# This avoid that unrelated changes get prettied/modified within this PR
run: npx prettier "{pages,i18n}/**/*.{json,md,mdx}" --check --write --cache --cache-strategy content --cache-location=.prettiercache
run: npx prettier "{pages,i18n}/**/*.{json,md,mdx}" --check --write --cache --cache-strategy metadata --cache-location=.prettiercache

- name: Push Changes back to Pull Request
uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a
Expand Down
8 changes: 7 additions & 1 deletion i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
"components.header.buttons.toggleDarkMode": "Basculer le mode sombre/clair",
"components.pagination.next": "Plus récent ",
"components.pagination.previous": "Plus anciens",
"components.common.crossLink.previous": "Précédent",
"components.common.crossLink.next": "Suivant",
"layouts.blogPost.author.byLine": "{author, select, null {} other {Par {author}, }}",
"layouts.blogIndex.currentYear": "Actualités de {year}"
"layouts.blogIndex.currentYear": "Actualités de {year}",
"components.api.jsonLink.title": "Afficher en JSON",
"components.api.sourceLink": "Code Source :",
"pages.404.title": "404 : Page introuvable",
"pages.404.description": "ENOENT : fichier ou répertoire introuvable"
}
5 changes: 2 additions & 3 deletions pages/fr/about/governance.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ Un guide pour les collaborateurs est disponible à l'adresse [collaborator-guide

## Comités de haut niveau

The project is governed jointly by the [Technical Steering Committee (TSC)][] which is responsible for high-level guidance of the project, and the [Community Committee (CommComm)][] which is responsible for guiding and extending the Node.js community.
Le projet est régi par le [Technical Steering Committee (TSC)][] qui est responsable de l'orientation à haut niveau du projet.

[collaborator-guide.md]: https://github.com/nodejs/node/blob/main/doc/contributing/collaborator-guide.md
[Community Committee (CommComm)]: https://github.com/nodejs/community-committee/blob/master/Community-Committee-Charter.md
[README.md]: https://github.com/nodejs/node/blob/main/README.md#current-project-team-members
[Technical Steering Committee (TSC)]: https://github.com/nodejs/TSC/blob/master/TSC-Charter.md
[Technical Steering Committee (TSC)]: https://github.com/nodejs/TSC/blob/main/TSC-Charter.md
39 changes: 19 additions & 20 deletions pages/zh-cn/docs/guides/backpressuring-in-streams.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,26 +207,25 @@ GC(垃圾回收器)测量表明一个完整的周期间隔一个由垃圾回

.write()\`方法的<a href="https://github.com/nodejs/node/blob/55c42bc6e5602e5a47fb774009cfe9289cb88e71/lib/_stream_writable.js#L239" fo="25">返回值</a>,我们得到以下结果:</p>

## <pre><code>Without respecting the return value of .write():

real 54.48
user 53.15
sys 7.43
1524965376 maximum resident set size
0 average shared memory size
0 average unshared data size
0 average unshared stack size
373617 page reclaims
3139 page faults
0 swaps
18 block input operations
199 block output operations
0 messages sent
0 messages received
1 signals received
25 voluntary context switches
629566 involuntary context switches
\`</pre>
Without respecting the return value of .write():
==================================================
real 54.48
user 53.15
sys 7.43
1524965376 maximum resident set size
0 average shared memory size
0 average unshared data size
0 average unshared stack size
373617 page reclaims
3139 page faults
0 swaps
18 block input operations
199 block output operations
0 messages sent
0 messages received
1 signals received
25 voluntary context switches
629566 involuntary context switches

虚拟内存占用的最大的字节块达到了 1.52 gb。

Expand Down
2 changes: 1 addition & 1 deletion pages/zh-cn/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ labels:

## 相关依赖项

Node.js 依赖于 Node.js 代码本身以外的附加组件。这些[相关依赖项](https://github.com/nodejs/node/blob/main/doc/contributing/maintaining/maintaining-dependencies.md)提供原生代码和 JavaScript 代码,并且在 `src``lib` 目录下与代码一起构建,以创建 Node.js 二进制文件。
Node.js 依赖于 Node.js 代码本身以外的附加组件。这些[相关依赖项](https://github.com/nodejs/node/blob/main/doc/contributing/main/contributing/defining/main-dependencies)提供原生代码和 JavaScript 代码,并且在 `src``lib` 目录下与代码一起构建,以创建 Node.js 二进制文件。

0 comments on commit 780ee99

Please sign in to comment.