-
Notifications
You must be signed in to change notification settings - Fork 6.5k
[automated]: crowdin sync #8951
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
Open
nodejs-crowdin
wants to merge
2
commits into
main
Choose a base branch
from
chore/crowdin
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| --- | ||
| title: القمة التعاونية | ||
| layout: about | ||
| --- | ||
|
|
||
| # القمة التعاونية | ||
|
|
||
| القمة التعاونية هي مؤتمر يهدف إلى جمع المساهمين الحاليين والراغبين في المساهمة لمناقشة Node.js بالتعاون المباشر و التعلم وتبادل المعرفة. تجتمع الفرق و مجموعات العمل ومساهمو المجتمع مرتين سنويًا لإجراء نقاشات مهمة، والعمل حضوريًا على بعض المبادرات التي يريدون دفعها إلى الأمام. | ||
|
|
||
| ## من سيحضر؟ | ||
|
|
||
| يحضر القمة التعاونية في المقام الأول المساهمون الحاليون وأعضاء المجتمع، لكنها ترحب أيضًا بمن لم يساهموا بعد ويرغبون في الانضمام. إذا كنت جديدًا على المساهمة في Node.js، فقد تكون القمة التعاونية فرصة مناسبة لمعرفة ما يحدث داخل المجتمع، والمساهمة بالمهارات التي تملكها وترغب في تطويرها. | ||
|
|
||
| قبل انعقاد القمة، يرسل المساهمون وأعضاء المجتمع مقترحات للجلسات من أجل إعداد الجدول. يمكن للحاضرين الاطلاع على الجلسات مسبقًا قبل الوصول إلى الموقع، ثم المشاركة في النقاشات العامة بين المتعاونين، وبعدها الدخول في الجلسات. وستكون هناك أيضًا فرص كثيرة للنقاشات الجانبية وتبادل الأفكار. | ||
|
|
||
| لمعرفة المزيد عن القمم التعاونية القادمة والسابقة، راجع [مستودع القمة](https://github.com/openjs-foundation/summit). ويمكنك أيضًا الاطلاع على [المسائل المسجلة](https://github.com/nodejs/summit/issues) لمعرفة المواضيع التي يقترح المساهمون وأعضاء المجتمع مناقشتها حضوريًا. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| --- | ||
| title: الأحداث القادمة | ||
| layout: about | ||
| --- | ||
|
|
||
| ## الأحداث القادمة | ||
|
|
||
| فعاليات Node.js مفتوحة ومتاحة للجميع. نرحب بانضمام ومشاركة أي شخص. | ||
|
|
||
| ### اجتماعات Node.js® القادمة | ||
|
|
||
| يعقد مشروع Node.js العديد من الاجتماعات على مدار العام لمناقشة وتخطيط جوانب المشروع. | ||
|
|
||
| الاجتماعات التالية ستُعقد خلال 7 الأيام القادمة. | ||
|
|
||
| <UpcomingMeetings /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| --- | ||
| title: حوكمة المشروع | ||
| layout: about | ||
| --- | ||
|
|
||
| # حوكمة المشروع | ||
|
|
||
| ## التوافق في السعي | ||
|
|
||
| يتبع مشروع Node.js نموذجًا لاتخاذ القرارات يعتمد على [Consensus Seeking](https://en.wikipedia.org/wiki/Consensus-seeking_decision-making). | ||
|
|
||
| ## المساهمون | ||
|
|
||
| تتم صيانة GitHub repository الأساسي [nodejs/node](https://github.com/nodejs/node) بواسطة Collaborators، ويتم ترشيحهم بشكل مستمر من Collaborators الحاليين. | ||
|
|
||
| الأشخاص الذين يقدمون مساهمات مهمة وذات قيمة يصبحون Collaborators، ويحصلون على commit-access في المشروع. يتم تحديد هؤلاء الأشخاص من قبل Collaborators آخرين، ثم تتم مناقشة ترشيحهم مع Collaborators الحاليين. | ||
|
|
||
| للاطلاع على القائمة الحالية من المساهمون، راجع [README.md](https://github.com/nodejs/node/blob/main/README.md#current-project-team-members) الخاص بالمشروع. | ||
|
|
||
| يتوفر guide خاص بـ Collaborators في [collaborator-guide.md](https://github.com/nodejs/node/blob/main/doc/contributing/collaborator-guide.md). | ||
|
|
||
| ## اللجنة التوجيهية الفنية | ||
|
|
||
| تتم حوكمة المشروع بواسطة [Technical Steering Committee (TSC)](https://github.com/nodejs/TSC/blob/main/TSC-Charter.md)، وهي الجهة المسؤولة عن التوجيه العام للمشروع. تتكوّن TSC من مجموعة فرعية من المساهمون النشطين، ويتم ترشيحهم من أعضاء TSC الحاليين. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,120 @@ | ||
| --- | ||
| title: حول Node.js® | ||
| layout: about | ||
| --- | ||
|
|
||
| # حول Node.js® | ||
|
|
||
| Node.js هي بيئة تشغيل JavaScript غير متزامنة ومعتمدة على الأحداث، ومصممة لبناء | ||
| تطبيقات شبكية قابلة للتوسع. في مثال "hello world" التالي، يمكن التعامل مع | ||
| عدد كبير من الاتصالات في الوقت نفسه. عند كل اتصال، يتم تشغيل الـ callback، | ||
| لكن إذا لم يكن هناك عمل يجب تنفيذه، فستدخل Node.js في وضع الانتظار. | ||
|
|
||
| ```cjs | ||
| const { createServer } = require('node:http'); | ||
|
|
||
| const hostname = '127.0.0.1'; | ||
| const port = 3000; | ||
|
|
||
| const server = createServer((req, res) => { | ||
| res.statusCode = 200; | ||
| res.setHeader('Content-Type', 'text/plain'); | ||
| res.end('Hello World'); | ||
| }); | ||
|
|
||
| server.listen(port, hostname, () => { | ||
| console.log(`Server running at http://${hostname}:${port}/`); | ||
| }); | ||
| ``` | ||
|
|
||
| ```mjs | ||
| import { createServer } from 'node:http'; | ||
|
|
||
| const hostname = '127.0.0.1'; | ||
| const port = 3000; | ||
|
|
||
| const server = createServer((req, res) => { | ||
| res.statusCode = 200; | ||
| res.setHeader('Content-Type', 'text/plain'); | ||
| res.end('Hello World'); | ||
| }); | ||
|
|
||
| server.listen(port, hostname, () => { | ||
| console.log(`Server running at http://${hostname}:${port}/`); | ||
| }); | ||
| ``` | ||
|
|
||
| يختلف هذا عن نموذج concurrency الأكثر شيوعًا اليوم، حيث يتم الاعتماد على OS threads. | ||
| تعد الشبكات المبنية على threads أقل كفاءة نسبيًا، كما أنها صعبة الاستخدام. إضافة إلى ذلك، | ||
| لا يحتاج مستخدمو Node.js إلى القلق من dead-locking للـ process، لأن Node.js لا تستخدم locks. | ||
| تقريبًا لا توجد أي function في Node.js تنفذ I/O مباشرة، لذلك لا يتوقف الـ process إلا عند تنفيذ I/O | ||
| باستخدام synchronous methods من مكتبة Node.js القياسية. وبما أن لا شيء يوقف التنفيذ، | ||
| فإن بناء أنظمة قابلة للتوسع في Node.js يعد أمرًا منطقيًا وسهلًا نسبيًا. | ||
|
|
||
| إذا كانت بعض هذه المصطلحات غير مألوفة لك، فهناك مقال كامل عن | ||
| [Blocking vs. Non-Blocking](/learn/asynchronous-work/overview-of-blocking-vs-non-blocking). | ||
|
|
||
| --- | ||
|
|
||
| تشبه Node.js في تصميمها أنظمة مثل | ||
| [Event Machine](https://github.com/eventmachine/eventmachine) في Ruby و[Twisted](https://twisted.org/) في Python، وقد تأثرت بها. لكن Node.js تأخذ نموذج الأحداث إلى مستوى أبعد. | ||
| فهي تقدم event loop كجزء من runtime بدلًا من تقديمها كمكتبة. في الأنظمة الأخرى، | ||
| يوجد دائمًا blocking call لبدء event loop. | ||
| عادةً يتم تعريف السلوك عبر callbacks في بداية السكربت، وفي النهاية يتم تشغيل server | ||
| من خلال blocking call مثل `EventMachine::run()`. | ||
| في Node.js، لا يوجد استدعاء خاص من نوع start-the-event-loop. تدخل Node.js ببساطة إلى event loop بعد تنفيذ السكربت المدخل. | ||
| وتخرج Node.js من event loop عندما لا تبقى callbacks أخرى يجب تنفيذها. يشبه هذا السلوك | ||
| JavaScript في المتصفح، حيث تكون event loop مخفية عن المستخدم. | ||
|
|
||
| يعد HTTP جزءًا أساسيًا في Node.js، وقد صُمم مع مراعاة streaming وlow latency. | ||
| وهذا يجعل Node.js مناسبة جدًا لتكون أساسًا لمكتبة أو framework للويب. | ||
|
|
||
| كون Node.js مصممة بدون threads لا يعني أنك لا تستطيع الاستفادة من عدة cores في بيئتك. | ||
| يمكن إنشاء child processes باستخدام API الخاصة بنا | ||
| [`child_process.fork()`](https://nodejs.org/api/child_process.html)، وهي مصممة لتكون سهلة التواصل معها. | ||
| وعلى الواجهة نفسها بُنيت وحدة [`cluster`](https://nodejs.org/api/cluster.html)، | ||
| التي تسمح لك بمشاركة sockets بين processes لتفعيل load balancing | ||
| على مستوى cores لديك. | ||
|
|
||
| ## موارد Node.js الرسمية | ||
|
|
||
| لضمان الأصالة والأمان عند العمل مع Node.js، استخدم دائمًا المصادر الرسمية. تجنب الوثوق برسائل البريد، | ||
| أو binaries، أو التنزيلات القادمة من مصادر غير رسمية. | ||
|
|
||
| ### نطاقات Node.js الرسمية | ||
|
|
||
| لتنزيل Node.js binaries والوصول إلى التوثيق الرسمي، استخدم هذه النطاقات فقط: | ||
|
|
||
| - [nodejs.org](https://nodejs.org) | ||
| - [nodejs.dev](https://nodejs.dev) _(يعيد التوجيه إلى https://nodejs.org)_ | ||
| - [iojs.org](https://iojs.org) _(يعيد التوجيه إلى https://nodejs.org)_ | ||
|
|
||
| ### npm packages الرسمية | ||
|
|
||
| يحافظ فريق Node.js على npm package scopes الرسمية التالية: | ||
|
|
||
| - [`@node-core`](https://npmjs.com/~node-core) | ||
| - [`@pkgjs`](https://npmjs.com/~pkgjs) | ||
|
|
||
| إضافة إلى ذلك، يحافظ فريق Node.js على packages منشورة عبر حساب npm | ||
| [`nodejs-foundation`](https://npmjs.com/~nodejs-foundation)، | ||
| مع أن packages أخرى مرتبطة بـ Node.js مثل [`undici`](https://www.npmjs.com/package/undici) قد تتم صيانتها أيضًا بواسطة مساهمين مرتبطين بالمشروع بشكل وثيق. | ||
|
|
||
| استخدام packages من فريق Node.js يضمن أنك تعمل مع مكونات Node.js مدعومة رسميًا. | ||
|
|
||
| ### GitHub Organizations الرسمية | ||
|
|
||
| تتم صيانة Node.js والمشاريع المرتبطة بها ضمن GitHub organizations الرسمية التالية: | ||
|
|
||
| - [nodejs](https://github.com/nodejs) | ||
| - [pkgjs](https://github.com/pkgjs) | ||
|
|
||
| ### قنوات التواصل الرسمية | ||
|
|
||
| تتواصل Node.js وOpenJS Foundation عبر عدة قنوات رسمية وقنوات مدعومة من المجتمع. يمكنك العثور على التفاصيل حول | ||
| كيفية المشاركة في صفحة [شارك معنا](https://nodejs.org/en/about/get-involved). | ||
|
|
||
| ### الإبلاغ عن مشاكل الموقع والتوقفات | ||
|
|
||
| إذا واجهت مشاكل في موقع Node.js، فأبلغ عنها في [مستودع موقع Node.js](https://github.com/nodejs/nodejs.org/issues). | ||
| وللحصول على تحديثات فورية حول الانقطاعات، زر [صفحة حالة Node.js](https://status.nodejs.org). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| تحميل وتثبيت n و Node.js: | ||
| curl -fsSL https://raw.githubusercontent.com/mklement0/n-install/stable/bin/n-install | bash -s ${props.release.major} | ||
|
|
||
| # يتم تثبيت Node.js تلقائيًا أثناء عملية n-install، لكن يمكنك أيضًا تثبيته يدويًا: | ||
| # n install ${props.release.major} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # التحقق من اصدار npm: | ||
| npm -v # يجب أن يعرض "${props.release.npm}". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| #تحميل و تثبيت Yarn: | ||
| corepack enable yarn | ||
|
|
||
| # التحقق من اصدار Yarn: | ||
| yarn -v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # asdf dispose d’instructions d’installation spécifiques pour chaque système d’exploitation. | ||
| # Veuillez consulter la documentation officielle à l’adresse https://asdf-vm.com/guide/getting-started.html. | ||
| # Cet extrait utilise la syntaxe de commande asdf v0.16+. | ||
|
|
||
| # Installez le plugin Node.js : | ||
| asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git | ||
|
|
||
| # Télécharger et installer Node.js : | ||
| asdf install nodejs ${props.release.version} | ||
|
|
||
| # Définissez Node.js comme valeur par défaut globale : | ||
| asdf set --home nodejs ${props.release.version} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| npm 버전 확인: | ||
| # npm 버전을 확인: | ||
| npm -v # ${props.release.npm}가 출력되어야 합니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.