Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

[iojs-de] German translation of index and faq (partial) #171

Closed
wants to merge 30 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
5e4a909
[iojs-de] German translation of index and faq (partial)
fhemberger Feb 12, 2015
7f1c1eb
Add french translation of FAQ page
yrezgui Feb 9, 2015
73a74dc
Add note about in progress V8 features
Feb 9, 2015
399b7b0
make a copy from en
cfsghost Feb 10, 2015
1298857
Update index.md
cfsghost Feb 10, 2015
47e9076
Add french translation for template.json
bentranter Feb 10, 2015
82ca56f
Update faq.md
cfsghost Feb 10, 2015
ce60682
translate iojs to chinese in markdown
Feb 10, 2015
89c3657
Update es6.md
cfsghost Feb 10, 2015
cbb7b63
Update template.json
cfsghost Feb 10, 2015
5a0232d
Translate template links to pt-BR
Feb 10, 2015
3c1d862
Translate home page to pt-BR
Feb 10, 2015
96f6def
Add french translation of INDEX page
bcabanes Feb 10, 2015
66ceb70
Translate ES6 to pt-BR
Feb 10, 2015
4dc396a
Translate FAQ to pt-BR
danilovaz Feb 10, 2015
67d2faa
es6: Add individual flags for staged V8 features
Feb 9, 2015
6fb6a20
Update french translation of template.json
bentranter Feb 11, 2015
91ab00e
update io.js version to 1.2.0
Fishrock123 Feb 11, 2015
80ca87a
rebuild
Fishrock123 Feb 11, 2015
6b0a04f
fix faq link.
appleboy Feb 11, 2015
a2782d3
Change the link of CHANGELOG
popomore Feb 11, 2015
f115c40
Updated all es6.md & generated es6.html files
Feb 11, 2015
4f07fd8
[el-translation 1.2.0]
AntouanK Feb 11, 2015
dfe2e1d
[el-translation 1.2.0]
AntouanK Feb 11, 2015
d84bd9f
[el-translation 1.2.0]
AntouanK Feb 11, 2015
c8e3fda
Fix some exact words
Feb 10, 2015
019dbdf
fix readme git clone instruction
Fishrock123 Feb 11, 2015
76450fb
Content updates: cn, fr, zh_TW
therebelrobot Feb 12, 2015
107a309
i18n: el translatioon for es6 page
AvraamMavridis Feb 11, 2015
6cdd7cc
Disable ligatures
silverwind Feb 12, 2015
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

### Dependencies
```
git pull https://github.com/iojs/website.git
git clone https://github.com/iojs/website.git
npm install -g gulp
npm install
```
Expand Down
36 changes: 19 additions & 17 deletions content/cn/es6.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# ES6 on io.js
# io.js 运行 ES6

io.js is built against modern versions of [V8](https://code.google.com/p/v8/). By keeping up-to-date with the latest releases of this engine we ensure new features from the [JavaScript ECMA-262 specification](http://www.ecma-international.org/publications/standards/Ecma-262.htm) are brought to io.js developers in a timely manner, as well as continued performance and stability improvements.
io.js 是基于 [V8](https://code.google.com/p/v8/) 引擎的现代版本构建的。通过持续更进最新版的 V8 引擎,我们确保可以及时为开发者带来最新的 [JavaScript ECMA-262 规范](http://www.ecma-international.org/publications/standards/Ecma-262.htm) 语言特性,同时也会有性能和稳定性的提升。

Version 1.1.0 of io.js ships with V8 4.1.0.14, which includes ES6 features well beyond version 3.26.33 that will be shipped with joyent/[email protected].
io.js 1.2.0 集成了 V8 4.1.0.14 版本,其中包含的 ES6 特性远超出 joyent/[email protected] 集成的 3.26.33 版本。

## No more --harmony flag
## 干掉 --harmony

On joyent/[email protected] (V8 3.26), the `--harmony` runtime flag enabled all **completed**, **staged** and **in progress** ES6 features together, in bulk (with the exception of nonstandard/non-harmonious semantics for `typeof` which were hidden under `--harmony-typeof`). This meant that some really buggy or even broken features like [proxies](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) were just as readily available for developers as [generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*), which had very little or even no known-issues. As such, it was best practice to either enable only certain features by using specific runtime harmony feature flags (e.g. `--harmony-generators`), or simply enable all of them and then use a restricted subset.
joyent/[email protected] (V8 3.26) 版本中,`--harmony` 运行时参数会一并开启所有 **已完成**,**待完成** **修订中** ES6 的一大堆特性 (除了 `typeof` 的非标准/不确定的特性需要通过 `--harmony-typeof` 开启之外)。这就意味着一些真正鸡肋甚至废弃的特性譬如 [proxies](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) 都会像 [generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*) 那样开放给开发者,它们很偏门甚至缺少相关资料。因此,最好的做法要么通过加特定参数(例如 `--harmony-generators`) 开启稳定的特性,要么直接开启全部但严格地使用特定部分特性。

With [email protected] (V8 4.1+), all that complexity goes away. All harmony features are now logically split into three groups for **shipping**, **staged** and **in progress** features:
使用 [email protected] (V8 4.1+),这些烦恼就通通没有了。所有的特性在逻辑上被分为 **已完成**,**待完成** **修订中** 三部分:

* All **shipping** features, the ones that V8 has considered stable, like [generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*), [templates](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/template_strings), [new string methods](https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/ECMAScript_6_support_in_Mozilla#Additions_to_the_String_object) and many others are turned **on by default on io.js** and do **NOT** require any kind of runtime flag.
* Then there are **staged** features which are almost-completed features that haven't been completely tested or updated to the latest spec yet and therefore are not considered stable by the V8 team (e.g. there might be some edge cases left to discover). This is probably the equivalent of the state of [generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*) on 3.26. These are the "use at your own risk" type of features that now require a runtime flag: `--es_staging` (or its synonym, `--harmony`).
* Finally, all **in progress** features can be activated individually by their respective harmony flag (e.g. `--harmony_arrow_functions`), although this is highly discouraged unless for testing purposes.
* 所有 **已完成** 的特性,都是在 V8 中确信已经稳定的,例如 [generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*),[模板](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/template_strings),[新增的字符串方法](https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/ECMAScript_6_support_in_Mozilla#Additions_to_the_String_object)等都会在 **io.js 中默认开启** 并且**不需要**加任何运行时参数。
* 再就是 **待完成** 的特性都是基本完成但是却没有经过充分测试或者更新为最新的标准,因此 V8 团队认为这些是不稳定的 (可能有些坑没被覆盖到)。相当于 [generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*) 3.26版本中的状态。我们提供了类似 "自己承担使用风险" 的功能,需要加入运行时参数:`--es_staging` (或者它的别名,`--harmony`)
* 最后,所有 **修订中** 的特性可以通过特有的参数开启 (例如 `--harmony_arrow_functions`),当然不建议这么做除非你是用于测试。

## Which ES6 features ship with io.js by default (no runtime flag required)?
## io.js 默认开启了哪些 ES6 特性(不加任何参数)?


* Block scoping
Expand All @@ -35,7 +35,9 @@ With [email protected] (V8 4.1+), all that complexity goes away. All harmony features ar

* [Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set)

* [WeakSet](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet)* [Generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*)
* [WeakSet](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet)

* [Generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*)

* [Binary and Octal literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Numeric_literals)

Expand All @@ -47,22 +49,22 @@ With [email protected] (V8 4.1+), all that complexity goes away. All harmony features ar

* [Template strings](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/template_strings)

You can view a more detailed list, including a comparison with other engines, on the [compat-table](https://kangax.github.io/compat-table/es6/) project page.
在 [兼容列表](https://kangax.github.io/compat-table/es6/) 里可以看到更多详细内容和与其他引擎的对比。

## Which ES6 features are behind the --es_staging flag?
## 通过 --es_staging 参数开启的特性有哪些?

* [Classes](https://github.com/lukehoban/es6features#classes) (strict mode only)
* [Object literal extensions](https://github.com/lukehoban/es6features#enhanced-object-literals)

* [`Symbol.toStringTag`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol) (user-definable results for `Object.prototype.toString`)

## I have my infrastructure set up to leverage the --harmony flag. Should I remove it?
## 我已经用了 --harmony 需要删除吗?

The current behaviour of the `--harmony` flag on io.js is to enable **staged** features only. After all, it is now a synonym of `--es_staging`. As mentioned above, these are completed features that have not been considered stable yet. If you want to play safe, especially on production environments, consider removing this runtime flag until it ships by default on V8 and, consequently, on io.js. If you keep this enabled, you should be prepared for further io.js upgrades to break your code if V8 changes their semantics to more closely follow the standard.
当前 `--harmony` 参数在 io.js 中的行为是开启 **待完成** 特性。别忘了,它还有个别名 `--es_staging`。如上面提到的,这些待完成的特性还不稳定。如果想安全地使用,尤其是在生产环境中,最好删除此运行参数,直到特性被默认开启。因此,在 io.js 中。如果你现在保留了这个启用,也应该为以后进一步升级 io.js 做好准备,以备 V8 改为更加符合标准的语意。

## How do I find which version of V8 ships with a particular version of io.js?
## 如何找到某一版本的 io.js 所集成的 V8 的版本?

io.js provides a simple way to list all dependencies and respective versions that ship with a specific binary through the `process` global object. In case of the V8 engine, type the following in your terminal to retrieve its version:
io.js 提供了简单的方式列出所有依赖关系和各自的版本集成情况(基于 `process` 全局对象的特殊二进制文件)。例如要查看 V8 引擎版本,可以在你的终端里面输入以下命令获得:

```sh
iojs -p process.versions.v8
Expand Down
35 changes: 16 additions & 19 deletions content/cn/faq.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,31 @@
# FAQ
# 常见问题

## What is io.js?
## io.js 是什么?

[io.js](https://github.com/iojs/io.js) is a JavaScript platform built on [Chrome's V8 runtime](http://code.google.com/p/v8/). This project began as a fork of [Joyent's Node.js™](https://nodejs.org/) and is compatible with the [npm](https://www.npmjs.org/) ecosystem.
[io.js](https://github.com/iojs/io.js) 是基于 [Chrome's V8 运行环境](http://code.google.com/p/v8/) 的 JavaScript 平台。本项目是在原 [Joyent's Node.js™](https://nodejs.org/) 项目基础上继续开发,且兼容 [npm](https://www.npmjs.org/) 生态系统。

Why? io.js aims to provide faster and predictable release cycles. It currently merges in the latest language, API and performance improvements to V8 while also updating libuv and other base libraries.
想知道原因?io.js 旨在提供更快和可预测的发布周期。目前它融合了最新的语言特性,APIV8 引擎的性能改进并且会持续更新 libuv 和其他底层库。

This project aims to continue development of io.js under an "[open governance model](https://github.com/iojs/io.js/blob/v1.x/GOVERNANCE.md#readme)" as opposed to corporate stewardship.
本项目旨在让大家在 "[开放的管理模式](https://github.com/iojs/io.js/blob/v1.x/GOVERNANCE.md#readme)" 下持续开发和维护 io.js 从而避免受制于公司或小团体。

## Version 1.0.x?
## 1.0.x 版本?

io.js has moved to [Semver](http://semver.org/) and the changes between Node.js™ 0.10 and io.js 1.0.0 were significant enough
to warrant a major version increment.
io.js 已经转移到 [Semver](http://semver.org/) 而且 io.js 1.0.0 相对于 Node.js™ 0.10 版本的改进和差异已经足够升一个 major。

Our [CHANGELOG](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md) for v1.x provides a [summary of changes from Node.js v0.10.35 to io.js v1.0.x](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md#summary-of-changes-from-nodejs-v01035-to-iojs-v100).
我们的 v1.x [发布日志](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md) 列出了 [相对于 Node.js v0.10.35 版本的所有改进](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md#summary-of-changes-from-nodejs-v01035-to-iojs-v100)

## How can I contribute?
## 如何贡献?

Everyone can help. io.js adheres to a [code of conduct](https://github.com/iojs/io.js/blob/v1.x/CONTRIBUTING.md#code-of-conduct), and contributions, releases, and contributorship are under an [open governance](https://github.com/iojs/io.js/blob/v1.x/GOVERNANCE.md#readme) model.
每个人都可以提供帮助。io.js 的 [代码合并](https://github.com/iojs/io.js/blob/v1.x/CONTRIBUTING.md#code-of-conduct),贡献,发布都会在 [开放的管理模式](https://github.com/iojs/io.js/blob/v1.x/GOVERNANCE.md#readme) 下完成。

To get started, there are open [ discussions on GitHub](https://github.com/iojs/io.js/issues), and we'd love to hear your feedback.
Becoming involved in discussions is a good way to get a feel of where you can help out further. If there is
something there you feel you can tackle, please [make a pull request](https://github.com/iojs/io.js/blob/v1.x/CONTRIBUTING.md#code-contributions).
开始使用前不妨看一下我们在 [GitHub 上的讨论](https://github.com/iojs/io.js/issues),我们很乐意听到你的反馈. 亲身参与讨论会让你更加感同身受,以后更是可以提供更多帮助。如果你有想法参与贡献的话,敬请 [提交 pull request](https://github.com/iojs/io.js/blob/v1.x/CONTRIBUTING.md#code-contributions)。

In addition, using [Nodebug.me](http://nodebug.me/) is a good way to help Triage the issues in the backlog.
此外,最好通过 [Nodebug.me](http://nodebug.me/) 帮助分担积压的问题。

## Where do discussions take place?
## 哪里讨论?

There is an #io.js channel on Freenode IRC. We keep logs of the channel [here](http://logs.libuv.org/io.js/latest).
在 Freenode IRC 上有一个 #io.js 频道。历史记录在 [这里](http://logs.libuv.org/io.js/latest)

## What is open source governance?
## 什么是开源管理?

Open source governance advocates the application of the philosophies of the open source and open content movements in order to enable any interested party to add to the creation of the end product, as with a wiki document. Legislation is democratically opened to the general citizenry, employing their collective wisdom to benefit the decision-making process and improve democracy. [[source]](https://en.wikipedia.org/wiki/Open-source_governance)
开源项目管理提倡共同维护开源且开放的内容,以便所有想贡献的人都可以参与进来,譬如一个wiki文档。开放的规则对每一位开发者都是公平的,集体的智慧更有利于决策项目和共建一个更加民主的氛围。[[来自 wikipedia]](https://en.wikipedia.org/wiki/Open-source_governance)
23 changes: 11 additions & 12 deletions content/cn/index.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
# JavaScript I/O

Bringing [ES6](es6.html) to the Node Community!
为 Node 社区带来 [ES6](es6.html)

[io.js](https://github.com/iojs/io.js) is an [npm](https://www.npmjs.org/) compatible platform originally based on [node.js](https://nodejs.org/)™.
[io.js](https://github.com/iojs/io.js) 是衍生于 [node.js](https://nodejs.org/)™ 并兼容 [npm](https://www.npmjs.org/) 的开发平台。

[![io.js](../images/1.0.0.png)](https://iojs.org/dist/v1.1.0/)
[![io.js](../images/1.0.0.png)](https://iojs.org/dist/v1.2.0/)

[Version 1.1.0](https://iojs.org/dist/v1.1.0/)
[1.2.0 版本](https://iojs.org/dist/v1.2.0/)

Download for
[Linux](https://iojs.org/dist/v1.1.0/iojs-v1.1.0-linux-x64.tar.xz),
[Win32](https://iojs.org/dist/v1.1.0/iojs-v1.1.0-x86.msi), [Win64](https://iojs.org/dist/v1.1.0/iojs-v1.1.0-x64.msi),
or
[Mac](https://iojs.org/dist/v1.1.0/iojs-v1.1.0.pkg).
下载
[Linux](https://iojs.org/dist/v1.2.0/iojs-v1.2.0-linux-x64.tar.xz),
[Win32](https://iojs.org/dist/v1.2.0/iojs-v1.2.0-x86.msi), [Win64](https://iojs.org/dist/v1.2.0/iojs-v1.2.0-x64.msi),
[Mac](https://iojs.org/dist/v1.2.0/iojs-v1.2.0.pkg), 或 [其他](https://iojs.org/dist/v1.2.0/) 版本。


[Changelog](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md)
[更新日志](https://github.com/iojs/iojs-cn/blob/master/CHANGELOG.md)

[Nightly releases](https://iojs.org/download/nightly/) are available for testing.
[每日构建版本](https://iojs.org/download/nightly/) 可用于测试。

[Frequently Asked Questions](/faq.html)
[常见问题](faq.html)
6 changes: 3 additions & 3 deletions content/cn/template.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"browser-title":"io.js - JavaScript I/O",
"logo-text":"io.js",
"faq-link":"FAQ",
"faq-link":"常见问题",
"es6-link":"ES6",
"api-link":"API Docs",
"api-link":"API 文档",
"issues-link":"GitHub Issues",
"org-link":"GitHub Org",
"irc-link":"IRC Chat",
"irc-logs-link":"Logs",
"gov-link":"Governance"
"gov-link":"项目管理"
}
6 changes: 4 additions & 2 deletions content/cs/es6.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

io.js is built against modern versions of [V8](https://code.google.com/p/v8/). By keeping up-to-date with the latest releases of this engine we ensure new features from the [JavaScript ECMA-262 specification](http://www.ecma-international.org/publications/standards/Ecma-262.htm) are brought to io.js developers in a timely manner, as well as continued performance and stability improvements.

Version 1.1.0 of io.js ships with V8 4.1.0.14, which includes ES6 features well beyond version 3.26.33 that will be shipped with joyent/[email protected].
Version 1.2.0 of io.js ships with V8 4.1.0.14, which includes ES6 features well beyond version 3.26.33 that will be shipped with joyent/[email protected].

## No more --harmony flag

Expand Down Expand Up @@ -35,7 +35,9 @@ With [email protected] (V8 4.1+), all that complexity goes away. All harmony features ar

* [Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set)

* [WeakSet](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet)* [Generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*)
* [WeakSet](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet)

* [Generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*)

* [Binary and Octal literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Numeric_literals)

Expand Down
10 changes: 5 additions & 5 deletions content/cs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ Bringing [ES6](es6.html) to the Node Community!

[io.js](https://github.com/iojs/io.js) is an [npm](https://www.npmjs.org/) compatible platform originally based on [node.js](https://nodejs.org/)™.

[![io.js](../images/1.0.0.png)](https://iojs.org/dist/v1.1.0/)
[![io.js](../images/1.0.0.png)](https://iojs.org/dist/v1.2.0/)

[Version 1.1.0](https://iojs.org/dist/v1.1.0/)
[Version 1.2.0](https://iojs.org/dist/v1.2.0/)

Download for
[Linux](https://iojs.org/dist/v1.1.0/iojs-v1.1.0-linux-x64.tar.xz),
[Win32](https://iojs.org/dist/v1.1.0/iojs-v1.1.0-x86.msi), [Win64](https://iojs.org/dist/v1.1.0/iojs-v1.1.0-x64.msi),
[Linux](https://iojs.org/dist/v1.2.0/iojs-v1.2.0-linux-x64.tar.xz),
[Win32](https://iojs.org/dist/v1.2.0/iojs-v1.2.0-x86.msi), [Win64](https://iojs.org/dist/v1.2.0/iojs-v1.2.0-x64.msi),
or
[Mac](https://iojs.org/dist/v1.1.0/iojs-v1.1.0.pkg).
[Mac](https://iojs.org/dist/v1.2.0/iojs-v1.2.0.pkg).


[Changelog](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md)
Expand Down
Loading