Skip to content

Commit dab02b1

Browse files
m-esmfhemberger
authored andcommitted
fa: translate locale Persian "fa" (#1866) (#1874)
site.json and some of website main pages translated to Persian "fa" language.
1 parent 868db68 commit dab02b1

File tree

8 files changed

+121
-119
lines changed

8 files changed

+121
-119
lines changed

locale/fa/404.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ layout: page.hbs
33
permalink: false
44
title: 404
55
---
6-
## 404: Page could not be found
7-
### ENOENT: no such file or directory
6+
## 404: صفحه مورد نظر شما یافت نشد.
7+
### ENOENT: فایل یا فولدر مورد نظر یافت نشد.

locale/fa/about/index.md

Lines changed: 29 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
---
22
layout: about.hbs
3-
title: About
4-
trademark: Trademark
3+
title: درباره
4+
trademark: نشان تجاری
55
---
6-
# About Node.js®
6+
# درباره Node.js®
7+
8+
به عنوان یک اجرا کننده رویدادهای ناهماهنگ در جاوا اسکریپت، Node به شکلی طراحی شده است که بتوان با آن برنامه‌های تحت وب توسعه پذیر ساخت. در مثال "hello world" پایین، تعداد خیلی زیادی اتصال به صورت هم زمان انجام گیرد.
9+
پس از هر اتصال یه فراخوان (callback) اجرا خواهد شد، اما اگر کاری برای انجام نباشد نود می‌خوابد.
710

8-
As an asynchronous event driven JavaScript runtime, Node is designed to build
9-
scalable network applications. In the following "hello world" example, many
10-
connections can be handled concurrently. Upon each connection the callback is
11-
fired, but if there is no work to be done, Node will sleep.
1211

1312
```javascript
1413
const http = require('http');
@@ -26,41 +25,33 @@ server.listen(port, hostname, () => {
2625
console.log(`Server running at http://${hostname}:${port}/`);
2726
});
2827
```
29-
30-
This is in contrast to today's more common concurrency model where OS threads
31-
are employed. Thread-based networking is relatively inefficient and very
32-
difficult to use. Furthermore, users of Node are free from worries of
33-
dead-locking the process, since there are no locks. Almost no function in Node
34-
directly performs I/O, so the process never blocks. Because nothing blocks,
35-
scalable systems are very reasonable to develop in Node.
36-
37-
If some of this language is unfamiliar, there is a full article on
28+
این در مقایسه با مدل امروزی‌تر هم زمانی است جایی که Theradهای سیستم عامل به کار گرفته می‌شوند.
29+
شبکه مبتنی بر Thread به نسب ناکارآمد و بسیار سخت کاربرد است.
30+
علاوه بر این کاربران Node از نگرانی قفل مرگبار فرایند‌ها آسوده هستند.
31+
از آن جایی که هیچ قفلی وجود ندارد، تقریبا هیچ فانکشنی در Node به صورت مستقیم با I/O انجام نمی‌دهد بنا بر این هیچ فرایند‌ای فقل نخواهد شد. به همین علت پیاده سازی سیستم‌های مقیاس‌پذیر بر روی Node بسیار منطقی است.
32+
33+
اگر با این ادبیات ناآشنا هستید یک مقاله کامل در این رابطه وجود دارد.
3834
[Blocking vs Non-Blocking][].
3935

4036
---
4137

42-
Node is similar in design to, and influenced by, systems like Ruby's
43-
[Event Machine][] or Python's [Twisted][]. Node takes the event model a bit
44-
further. It presents an [event loop][] as a runtime construct instead of as a library. In other systems there is always a blocking call to start the
45-
event-loop.
46-
Typically behavior is defined through callbacks at the beginning of a script
47-
and at the end starts a server through a blocking call like
48-
`EventMachine::run()`. In Node there is no such start-the-event-loop call. Node
49-
simply enters the event loop after executing the input script. Node exits the
50-
event loop when there are no more callbacks to perform. This behavior is like
51-
browser JavaScript — the event loop is hidden from the user.
52-
53-
HTTP is a first class citizen in Node, designed with streaming and low latency
54-
in mind. This makes Node well suited for the foundation of a web library or
55-
framework.
56-
57-
Just because Node is designed without threads, doesn't mean you cannot take
58-
advantage of multiple cores in your environment. Child processes can be spawned
59-
by using our [`child_process.fork()`][] API, and are designed to be easy to
60-
communicate with. Built upon that same interface is the [`cluster`][] module,
61-
which allows you to share sockets between processes to enable load balancing
62-
over your cores.
63-
38+
Node در طراحی مشابه و تاثیر گرفته است از سیستم‌هایی ماننده Ruby's
39+
[Event Machine][] یا Python's [Twisted][].
40+
Node مدل رویداد را کمی به جلوتر می‌برد و [event loop][] را به عنوان یک ساختار زمان‌بندی به جای یک کتابخانه ارائه می‌کند.
41+
42+
در سیستم‌های دیگر همیشه یک تماس مسدود کننده برای شروع event-loop وجود دارد.
43+
44+
به طور معمول رفتار از طریق callbackها در ابتدای اسکریپت تعریف می‌شود
45+
و در پایان یک سرور را از طریق یک تماس مسدود کننده مانند
46+
`EventMachine::run()` اجرا می‌کند.
47+
در Node چیزی به عنوان فراخوان برای شروع حلقه رویداد وجود ندارد. Node پس از اجرای اسکریپت ورودی به حلقه رویداد وارد می‌شود. این رفتار ماننده جاوااسکریپت در مرورگر است - حلقه رویداد از کاربر مخفی می‌ماند.
48+
49+
50+
HTTP در Node شهروند درجه یک محسوب می‌شود، طراحی شده با درنظر گیری streaming و زمان تأخیر کم. این امر Node را به یک گزینه مناسب برای بنیاد کتابخانه وب و یا یک چارچوب تبدیل می‌کند.
51+
52+
فقط به خاطر اینکه Node بدون threads طراحی شده، به این معنی نیست که نتوانید از چند هسته در مخیط خود بهره ببرید. فرایند‌های زیرن می‌توانند توسط ‌[`child_process.fork()`][] API اجرا شوند. فرایند های زیرین به شکلی طراحی شده‌اند که تعامل کردن با آن‌ها به سادگی انجام شود.
53+
ماژول [`cluster`][] هم به همین شکل ساخته شده که برای ما قابلیتی برای اشتراک‌گذاری سوکت‌ها بین فرایند‌ها محیا می‌سازد. که به همین شکل قادر خواهید بود برای هسته‌های پردازشگر خود load balancing را فعال کنید.
54+
6455
[Blocking vs Non-Blocking]: https://nodejs.org/en/docs/guides/blocking-vs-non-blocking/
6556
[`child_process.fork()`]: https://nodejs.org/api/child_process.html#child_process_child_process_fork_modulepath_args_options
6657
[`cluster`]: https://nodejs.org/api/cluster.html

locale/fa/download/releases.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
---
22
layout: download-releases.hbs
3-
title: Previous Releases
3+
title: انتشارهای قبلی
44
modules: "<code>NODE_MODULE_VERSION</code> refers to the ABI (application binary interface) version number of Node.js, used to determine which versions of Node.js compiled C++ add-on binaries can be loaded in to without needing to be re-compiled. It used to be stored as hex value in earlier versions, but is now represented as an integer."
55
---
66

7-
### io.js &amp; Node.js
8-
Releases 1.x through 3.x were called "io.js" as they were part of the io.js fork. As of Node.js 4.0.0 the former release lines of io.js converged with Node.js 0.12.x into unified Node.js releases.
7+
### io.js و Node.js
8+
به انتشارهای 1.x تا 3.x در گذشته "io.js" می‌گفتند.
9+
از آن جایی که آن‌ها بخشی از io.js fork بودند
10+
از Node.js 4.0.0 خط های انتشارهای قبلی io.js در Node.js 0.12.x کاور شدند که به شکل انتشارهای یک پارجه در آمدند.
911

1012
<div class="highlight-box">
11-
Looking for latest release of a version branch?
13+
به دنبال آخرین انتشار از شاخه ورژن می‌گردید؟
14+
1215
<ul class="list-divider-pipe">
1316
<li><a href="https://nodejs.org/dist/latest-v10.x/">Node.js 10.x</a></li>
1417
<li><a href="https://nodejs.org/dist/latest-v8.x/">Node.js 8.x</a></li>
1518
<li><a href="https://nodejs.org/dist/latest-v6.x/">Node.js 6.x</a></li>
1619
<li><a href="https://nodejs.org/dist/latest-v4.x/">Node.js 4.x</a></li>
1720
<li><a href="https://nodejs.org/dist/latest-v0.12.x/">Node.js 0.12.x</a></li>
1821
<li><a href="https://nodejs.org/dist/latest-v0.10.x/">Node.js 0.10.x</a></li>
19-
<li><a href="https://nodejs.org/dist/">all versions</a></li>
22+
<li><a href="https://nodejs.org/dist/">تمامی نسخه‌ها</a></li>
2023
</ul>
2124
</div>

locale/fa/get-involved/contribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Contributing
2+
title: مشارکت
33
layout: contribute.hbs
44
---
55

locale/fa/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ labels:
2121
newsletter-postfix: "، خبرنامهٔ رسمی NodeJs.org"
2222
---
2323

24-
Node.js® is a JavaScript runtime built on [Chrome's V8 JavaScript engine](https://developers.google.com/v8/).
24+
Node.js® چارچوبی است برای اجرای جاوااسکریپت ساخته شده بر روی [موتور جاوااسکریپتکروم](https://developers.google.com/v8/).

locale/fa/security.md

Lines changed: 38 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,66 @@
11
---
22
layout: security.hbs
3-
title: Security
3+
title: امنیت
44
---
55

6-
# Security
6+
# امنیت
77

8-
## Reporting a Bug in Node.js
8+
### گزارش باگ در Node.js
99

10-
All security bugs in Node.js are taken seriously and should be reported via [HackerOne](https://hackerone.com/nodejs)
11-
or by emailing [security@nodejs.org](mailto:security@nodejs.org). This will be delivered to a subset of the core team
12-
who handle security issues.
10+
تمامی مشکل‌های امنیتی در Node.js جدی گرفته می‌شوند و باید از طریق [HackerOne](https://hackerone.com/nodejs) یا رایانامه [security@nodejs.org](mailto:security@nodejs.org) گزارش داده شوند. این گزارش به زیر مجموعه‌ای از تیم هسته Node.js که مسئول رفع کردن مشکلات امنیتی هستند تحویل داده خواهد شد.
1311

14-
Your report will be acknowledged within 24 hours, and you’ll receive a more detailed response to your report within 48
15-
hours indicating the next steps in handling your submission.
1612

17-
After the initial reply to your report, the security team will endeavor to keep you informed of the progress being made
18-
towards a fix and full announcement, and may ask for additional information or guidance surrounding the reported issue.
19-
These updates will be sent at least every five days; in practice, this is more likely to be every 24-48 hours.
13+
گزارش شما حداکثر تا ۲۴ ساعت تصدیق خوهد شد و حداکثر تا ۴۸ ساعت پاسخ دقیقی به گزارش خود دریافت خواهید کرد که نشان خواهد داد کام های بعدی در رسیدگی به درخواست شما چیست.
14+
15+
پس از پاسخ اولیه به گزارش شما، تیم امنیتی تلاش خواهد کرد تا شما را از پیشرفت کار در جهت یک اعلامیه کامل و تعمیر مطلع سازد و ممکن است از شما در رابطه با اطلاعات تکمیلی یا راهنمایی در حیطه مسئله گزارش شده سوال پرسیده شود. این به‌روزرسانی حداقل هر پنج روز یک بار ارسال خواهد شد. اما در عمل امکان بیشتری وجود دارد که هر ۲۴ تا ۴۸ ساعت یک بار ارسال شوند.
2016

21-
### Node.js Bug Bounty Program
17+
18+
### برنامه جایزه پیدا کردن باگ در Node.js
19+
20+
پروژه Node.js در یک برنامه رسمی جایزه برای باگ شرکت می‌کند که برای فعالان امنیتی و افشاهای عمومی است.
2221

23-
The Node.js project engages in an official bug bounty program for security researchers and responsible public disclosures.
22+
این برنامه از طریق پلتفرم HackerOne مدیریت می‌شود به آدرس [https://hackerone.com/nodejs](https://hackerone.com/nodejs) برای اطلاعات بیشتر.
2423

25-
The program is managed through the HackerOne platform at [https://hackerone.com/nodejs](https://hackerone.com/nodejs) with further details.
24+
## گزارش باگ در ماژول‌های سوم شخص
2625

27-
## Reporting a Bug in a third party module
26+
گزارش‌های باگ در ماژول‌های سوم شخص باید به نگاه دارندگان آن ها اعلام شود و همجنین باید از طریق [تیم اکو سیستم Node](https://hackerone.com/nodejs-ecosystem) رایانامه [security-ecosystem@nodejs.org](mailto:security-ecosystem@nodejs.org) اعلام شود.
27+
2828

29-
Security bugs in third party modules should be reported to their respective maintainers and should also be coordinated
30-
through the [Node Ecosystem Security Team](https://hackerone.com/nodejs-ecosystem) or by emailing
31-
[security-ecosystem@nodejs.org](mailto:security-ecosystem@nodejs.org).
29+
اطلاعات بیشتر در رابطه با این فرایند را می‌توانید در [مخزن گروه کاری امینت ](https://github.com/nodejs/security-wg/blob/master/processes/third_party_vuln_process.md).
30+
پیدا کنید.
3231

33-
Details regarding this process can be found in the [Security Working Group repository](https://github.com/nodejs/security-wg/blob/master/processes/third_party_vuln_process.md).
32+
از شما بابت بهتر کردن امنیت Node.js و اکوسیستم آن متشکریم.
33+
از تلاش‌ها و فاش‌سازی مسئولانه شما بسیار استقبال میکنیم و متوجه آن خواهیم بود.
3434

35-
Thank you for improving the security of Node.js and its ecosystem. Your efforts and responsible disclosure are greatly
36-
appreciated and will be acknowledged.
3735

38-
## Disclosure Policy
36+
## سیاست افشاگری
3937

40-
Here is the security disclosure policy for Node.js
38+
- گزارش امنیتی دریافت و سپس به یک رسیدگی کننده اصلی محول خواهد شد. این شخص مختصات تعمیر را مشخص و منتشر خواهد کرد.
39+
مشکل تایید شده و فهرست تمامی نسخه‌های تاثیر دیده مشخص می‌شود. کد برای پیدا کردن اشکالات مشابه بازرسی خواهد شد.
40+
تعمیرها برای تمام انتشارهایی که هنوز نگه‌داری می‌شوند آماده خواهد شد.
41+
این اقدامات بر روی مخازن اصلی اعمال نخواهد شد و تا انتشار اعلامیه به صورت داخلی نگه‌داری خواهند شد.
4142

42-
- The security report is received and is assigned a primary handler. This person will coordinate the fix and release
43-
process. The problem is confirmed and a list of all affected versions is determined. Code is audited to find any
44-
potential similar problems. Fixes are prepared for all releases which are still under maintenance. These fixes are not
45-
committed to the public repository but rather held locally pending the announcement.
43+
- تاریخ منع پیشنهادی برای این آسیب‌پذیری انتخاب و یک CVE (Common Vulnerabilities and Exposures CVE®) برای این آسیب‌پذیری درخواست خواهد شد.
4644

47-
- A suggested embargo date for this vulnerability is chosen and a CVE (Common Vulnerabilities and Exposures (CVE®))
48-
is requested for the vulnerability.
45+
- در تاریخ منع، به فهرست رایانامه امنیتی Node.js یک رونویس از اعلامیه ارسال خواهد شد.
46+
تغییرات به مخزن عمومی اعمال خواهند شد و ساخت های جدید در nodejs.org مستقر خواهند شد.
47+
ظرف مدت ۶ ساعت از اطلاع‌رسانی به فهرست رایانامه، یک رونویس از مشاوره بر روی بلاگ Node.js منتشر خواهد شد.
4948

50-
- On the embargo date, the Node.js security mailing list is sent a copy of the announcement. The changes are pushed to
51-
the public repository and new builds are deployed to nodejs.org. Within 6 hours of the mailing list being notified, a
52-
copy of the advisory will be published on the Node.js blog.
5349

54-
- Typically the embargo date will be set 72 hours from the time the CVE is issued. However, this may vary depending on
55-
the severity of the bug or difficulty in applying a fix.
50+
- به طور معمول تاریخ منع ۷۲ ساعت پس از ثبت CVE تنظیم خواهد شد. با این حال، این ممکن است به نسبت به شدت اشکال یا سختی تعمیر، متفاوت باشد.
5651

57-
- This process can take some time, especially when coordination is required with maintainers of other projects. Every
58-
effort will be made to handle the bug in as timely a manner as possible; however, it’s important that we follow the
59-
release process above to ensure that the disclosure is handled in a consistent manner.
6052

53+
- این فرایند ممکن است کمی زمان ببرد، مخصوصاً زمانی که هماهنگی با نگهدارندگان پروژه‌های دیگر نیاز است.
54+
تلاش خواهد شد تا باگ‌ها در سریع‌ترین حالت ممکن رسیدگی شوند. با این حال مهم است که ما فرایند انتشار بالا را تا پیدا کردن یک راه مشخص برای رفع مشکل دنبال کنیم.
6155

62-
## Receiving Security Updates
56+
## دریافت به‌روزرسانی‌های امنیتی
6357

64-
Security notifications will be distributed via the following methods.
6558

66-
- [https://groups.google.com/group/nodejs-sec](https://groups.google.com/group/nodejs-sec)
67-
- [https://nodejs.org/en/blog](https://nodejs.org/en/blog)
59+
اعلان‌های امنیتی به روش‌های زیر توزیع خواهند شد.
6860

69-
## Comments on this Policy
61+
- [گروه گوگل https://groups.google.com/group/nodejs-sec](https://groups.google.com/group/nodejs-sec)
62+
- [بلاگ https://nodejs.org/en/blog](https://nodejs.org/en/blog)
7063

71-
If you have suggestions on how this process could be improved please submit a [pull request](https://github.com/nodejs/nodejs.org)
72-
or [file an issue](https://github.com/nodejs/security-wg/issues/new) to discuss.
64+
## نظرات بر روی این سیاست
65+
66+
اگر شما در رابطه با بهبود این فرایند پیشنهادی دارید برای بحث در رابطه با آن لطفاً یک [pull request](https://github.com/nodejs/nodejs.org) بفرستید یا [یک issue ایجاد کنید](https://github.com/nodejs/security-wg/issues/new).

0 commit comments

Comments
 (0)