Skip to content

Commit 6733c04

Browse files
author
Maledong
authored
fa: Init a new locale in Persian (#1866)
Create a new locale in Persian for more people speaking Persian and do contributions to that, based on the failure PR:#1844
1 parent 83515a0 commit 6733c04

File tree

90 files changed

+9546
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+9546
-0
lines changed

locale/fa/404.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: page.hbs
3+
permalink: false
4+
title: 404
5+
---
6+
## 404: Page could not be found
7+
### ENOENT: no such file or directory

locale/fa/about/community.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
title: Community Committee
3+
layout: about.hbs
4+
---
5+
6+
# Community Committee
7+
8+
The Community Committee (CommComm) is a top-level committee in the Node.js Foundation. The CommComm has authority over outward-facing community outreach efforts, including:
9+
- Community [Evangelism](https://github.com/nodejs/evangelism)
10+
- Education Initiatives
11+
- Cultural Direction of Node.js Foundation
12+
- Community Organization Outreach
13+
- Translation and Internationalization
14+
- Project Moderation/Mediation
15+
- Public Outreach and [Publications](https://medium.com/the-node-js-collection)
16+
17+
There are four types of involvement with the Community Committee:
18+
19+
- A **Contributor** is any individual creating or commenting on an issue or pull request.
20+
- A **Collaborator** is a contributor who has been given write access to the repository
21+
- An **Observer** is any individual who has requested or been requested to attend a CommComm meeting. It is also the first step to becoming a Member.
22+
- A **Member** is a collaborator with voting rights who has met the requirements of participation and voted in by the CommComm voting process.
23+
24+
For the current list of Community Committee members, see the project's [README.md](https://github.com/nodejs/community-committee).
25+
26+
## Contributors and Collaborators
27+
28+
It is the mission of CommComm to further build out the Node.js Community. If you're reading this, you're already a part of that community – and as a part of the Node.js Community, we'd love to have your help!
29+
30+
The [nodejs/community-committee](https://github.com/nodejs/community-committee) GitHub repository is a great place to start. Check out the [issues labeled "Good first issue"](https://github.com/nodejs/community-committee/labels/good%20first%20issue) to see where we're looking for help. If you have your own ideas on how we can engage and build the community, feel free to open your own issues, create pull requests with improvements to our existing work, or help us by sharing your thoughts and ideas in the ongoing discussions we're having in GitHub.
31+
32+
You can further participate in our ongoing efforts around community building - like localization, evangelism, the Node.js Collection, and others - by digging into their respective repositories and getting involved!
33+
34+
Before diving in, please be sure to read the [Collaborator Guide](https://github.com/nodejs/community-committee/blob/master/COLLABORATOR_GUIDE.md).
35+
36+
If you're interested in participating in the Community Committee as a committee member, you should read the section below on **Observers and Membership**, and create an issue asking to be an Observer in our next Community Committee meeting. You can find a great example of such an issue [here](https://github.com/nodejs/community-committee/issues/142).
37+
38+
## Observers and Membership
39+
40+
If you're interested in becoming more deeply involved with the Community Committee and its projects, we encourage you to become an active observer, and work toward achieving member status. To become a member you must:
41+
42+
1. Attend the bi-weekly meetings, investigate issues tagged as good first issue, file issues and pull requests, and provide insight via GitHub as a contributor or collaborator.
43+
2. Request to become an Observer by filing an issue. Once added as an Observer to meetings, we will track attendance and participation for 3 months, in accordance with our governance guidelines. You can find a great example of such an issue [here](https://github.com/nodejs/community-committee/issues/142).
44+
3. When you meet the 3 month minimum attendance, and participation expectations, the CommComm will vote to add you as a member.
45+
46+
Membership is for 6 months. The group will ask on a regular basis if the expiring members would like to stay on. A member just needs to reply to renew. There is no fixed size of the CommComm. However, the expected target is between 9 and 12. You can read more about membership, and other administrative details, in our [Governance Guide](https://github.com/nodejs/community-committee/blob/master/GOVERNANCE.md).
47+
48+
Regular CommComm meetings are held bi-monthly in a Zoom video conference, and broadcast live to the public on YouTube. Any community member or contributor can ask that something be added to the next meeting's agenda by logging a GitHub Issue.
49+
50+
Meeting announcements and agendas are posted before the meeting begins in the organization's [GitHub issues](https://github.com/nodejs/community-committee/issues). You can also find the regularly scheduled meetings on the [Node.js Calendar](https://nodejs.org/calendar). To follow Node.js meeting livestreams on YouTube, subscribe to the Node.js Foundation [YouTube channel](https://www.youtube.com/channel/UCQPYJluYC_sn_Qz_XE-YbTQ). Be sure to click the bell to be notified of new videos!
51+
52+
## Consensus Seeking Process
53+
54+
The CommComm follows a [Consensus Seeking](https://en.wikipedia.org/wiki/Consensus-seeking_decision-making) decision making model.
55+
56+
When an agenda item has appeared to reach a consensus, the moderator will ask "Does anyone object?" as a final call for dissent from the consensus. If a consensus cannot be reached that has no objections then a majority wins vote is called. It is expected that the majority of decisions made by the CommComm are via a consensus seeking process and that voting is only used as a last-resort.

locale/fa/about/governance.md

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
---
2+
title: Project Governance
3+
layout: about.hbs
4+
---
5+
# Project Governance
6+
7+
## Technical Steering Committee
8+
9+
The project is jointly governed by a Technical Steering Committee (TSC)
10+
which is responsible for high-level guidance of the project.
11+
12+
The TSC has final authority over this project including:
13+
14+
* Technical direction
15+
* Project governance and process (including this policy)
16+
* Contribution policy
17+
* GitHub repository hosting
18+
* Conduct guidelines
19+
* Maintaining the list of additional Collaborators
20+
21+
Initial membership invitations to the TSC were given to individuals who
22+
had been active contributors, and who have significant
23+
experience with the management of the project. Membership is
24+
expected to evolve over time according to the needs of the project.
25+
26+
For the current list of TSC members, see the project
27+
[README.md](https://github.com/nodejs/node/blob/master/README.md#tsc-technical-steering-committee).
28+
29+
## Collaborators
30+
31+
The [nodejs/node](https://github.com/nodejs/node) GitHub repository is
32+
maintained by the TSC and additional Collaborators who are added by the
33+
TSC on an ongoing basis.
34+
35+
Individuals making significant and valuable contributions are made
36+
Collaborators and given commit-access to the project. These
37+
individuals are identified by the TSC and their addition as
38+
Collaborators is discussed during the weekly TSC meeting.
39+
40+
_Note:_ If you make a significant contribution and are not considered
41+
for commit-access, log an issue or contact a TSC member directly and it
42+
will be brought up in the next TSC meeting.
43+
44+
Modifications of the contents of the nodejs/node repository are made on
45+
a collaborative basis. Anybody with a GitHub account may propose a
46+
modification via pull request and it will be considered by the project
47+
Collaborators. All pull requests must be reviewed and accepted by a
48+
Collaborator with sufficient expertise who is able to take full
49+
responsibility for the change. In the case of pull requests proposed
50+
by an existing Collaborator, an additional Collaborator is required
51+
for sign-off. Consensus should be sought if additional Collaborators
52+
participate and there is disagreement around a particular
53+
modification. See _Consensus Seeking Process_ below for further detail
54+
on the consensus model used for governance.
55+
56+
Collaborators may opt to elevate significant or controversial
57+
modifications, or modifications that have not found consensus to the
58+
TSC for discussion by assigning the ***tsc-agenda*** tag to a pull
59+
request or issue. The TSC should serve as the final arbiter where
60+
required.
61+
62+
For the current list of Collaborators, see the project
63+
[README.md](https://github.com/nodejs/node/blob/master/README.md#current-project-team-members).
64+
65+
A guide for Collaborators is maintained in
66+
[COLLABORATOR_GUIDE.md](https://github.com/nodejs/node/blob/master/COLLABORATOR_GUIDE.md).
67+
68+
## TSC Membership
69+
70+
TSC seats are not time-limited. There is no fixed size of the TSC.
71+
However, the expected target is between 6 and 12, to ensure adequate
72+
coverage of important areas of expertise, balanced with the ability to
73+
make decisions efficiently.
74+
75+
There is no specific set of requirements or qualifications for TSC
76+
membership beyond these rules.
77+
78+
The TSC may add additional members to the TSC by a standard TSC motion.
79+
80+
A TSC member may be removed from the TSC by voluntary resignation, or by
81+
a standard TSC motion.
82+
83+
Changes to TSC membership should be posted in the agenda, and may be
84+
suggested as any other agenda item (see "TSC Meetings" below).
85+
86+
No more than 1/3 of the TSC members may be affiliated with the same
87+
employer. If removal or resignation of a TSC member, or a change of
88+
employment by a TSC member, creates a situation where more than 1/3 of
89+
the TSC membership shares an employer, then the situation must be
90+
immediately remedied by the resignation or removal of one or more TSC
91+
members affiliated with the over-represented employer(s).
92+
93+
## TSC Meetings
94+
95+
The TSC meets weekly on a Google Hangout On Air. The meeting is run by
96+
a designated moderator approved by the TSC. Each meeting should be
97+
published to YouTube.
98+
99+
Items are added to the TSC agenda which are considered contentious or
100+
are modifications of governance, contribution policy, TSC membership,
101+
or release process.
102+
103+
The intention of the agenda is not to approve or review all patches.
104+
That should happen continuously on GitHub and be handled by the larger
105+
group of Collaborators.
106+
107+
Any community member or contributor can ask that something be added to
108+
the next meeting's agenda by logging a GitHub Issue. Any Collaborator,
109+
TSC member or the moderator can add the item to the agenda by adding
110+
the ***tsc-agenda*** tag to the issue.
111+
112+
Prior to each TSC meeting, the moderator will share the Agenda with
113+
members of the TSC. TSC members can add any items they like to the
114+
agenda at the beginning of each meeting. The moderator and the TSC
115+
cannot veto or remove items.
116+
117+
The TSC may invite persons or representatives from certain projects to
118+
participate in a non-voting capacity. These invitees currently are:
119+
120+
* A representative from [build](https://github.com/node-forward/build)
121+
chosen by that project.
122+
123+
The moderator is responsible for summarizing the discussion of each
124+
agenda item and sending it as a pull request after the meeting.
125+
126+
## Consensus Seeking Process
127+
128+
The TSC follows a
129+
[Consensus Seeking](http://en.wikipedia.org/wiki/Consensus-seeking_decision-making)
130+
decision making model.
131+
132+
When an agenda item has appeared to reach a consensus, the moderator
133+
will ask "Does anyone object?" as a final call for dissent from the
134+
consensus.
135+
136+
If an agenda item cannot reach a consensus, a TSC member can call for
137+
either a closing vote or a vote to table the issue to the next
138+
meeting. The call for a vote must be approved by a majority of the TSC
139+
or else the discussion will continue. Simple majority wins.

locale/fa/about/index.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
layout: about.hbs
3+
title: About
4+
trademark: Trademark
5+
---
6+
# About Node.js®
7+
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.
12+
13+
```javascript
14+
const http = require('http');
15+
16+
const hostname = '127.0.0.1';
17+
const port = 3000;
18+
19+
const server = http.createServer((req, res) => {
20+
res.statusCode = 200;
21+
res.setHeader('Content-Type', 'text/plain');
22+
res.end('Hello World\n');
23+
});
24+
25+
server.listen(port, hostname, () => {
26+
console.log(`Server running at http://${hostname}:${port}/`);
27+
});
28+
```
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
38+
[Blocking vs Non-Blocking][].
39+
40+
---
41+
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+
64+
[Blocking vs Non-Blocking]: https://nodejs.org/en/docs/guides/blocking-vs-non-blocking/
65+
[`child_process.fork()`]: https://nodejs.org/api/child_process.html#child_process_child_process_fork_modulepath_args_options
66+
[`cluster`]: https://nodejs.org/api/cluster.html
67+
[event loop]: https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/
68+
[Event Machine]: https://github.com/eventmachine/eventmachine
69+
[Twisted]: http://twistedmatrix.com/

0 commit comments

Comments
 (0)