Merge pull request #3141 from jhen0409/patch-2

Sync recently updated docs to zh-TW docs-translations
This commit is contained in:
Cheng Zhao 2015-10-19 22:09:06 +08:00
commit 0afefe13f6
2 changed files with 6 additions and 4 deletions

View file

@ -1,7 +1,9 @@
## 導引 ## 導引
* [支援平台](tutorial/supported-platforms.md)
* [應用程式發布](tutorial/application-distribution.md) * [應用程式發布](tutorial/application-distribution.md)
* [應用程式打包](tutorial/application-packaging.md) * [應用程式打包](tutorial/application-packaging.md)
* [Mac App Store 上架指引](tutorial/mac-app-store-submission-guide.md)
* [使用原生 node 模組](tutorial/using-native-node-modules.md) * [使用原生 node 模組](tutorial/using-native-node-modules.md)
* [主行程 Debug](tutorial/debugging-main-process.md) * [主行程 Debug](tutorial/debugging-main-process.md)
* [使用 Selenium 和 WebDriver](tutorial/using-selenium-and-webdriver.md) * [使用 Selenium 和 WebDriver](tutorial/using-selenium-and-webdriver.md)
@ -64,7 +66,7 @@
* [源碼目錄結構](development/source-code-directory-structure.md) * [源碼目錄結構](development/source-code-directory-structure.md)
* [與 NW.js (原名node-webkit) 在技術上的差異](development/atom-shell-vs-node-webkit.md) * [與 NW.js (原名node-webkit) 在技術上的差異](development/atom-shell-vs-node-webkit.md)
* [構建系統概況](development/build-system-overview.md) * [構建系統概況](development/build-system-overview.md)
* [構建步驟 (Mac)](development/build-instructions-mac.md) * [構建步驟 (OS X)](development/build-instructions-osx.md)
* [構建步驟 (Windows)](development/build-instructions-windows.md) * [構建步驟 (Windows)](development/build-instructions-windows.md)
* [構建步驟 (Linux)](development/build-instructions-linux.md) * [構建步驟 (Linux)](development/build-instructions-linux.md)
* [在 debugger 中使用 symbol server](development/setting-up-symbol-server.md) * [在 debugger 中使用 symbol server](development/setting-up-symbol-server.md)

View file

@ -3,7 +3,7 @@
## 簡介 ## 簡介
Electron 可以讓你使用純 JavaScript 提供豐富的原生的 APIs 來創造桌面應用程式。 Electron 可以讓你使用純 JavaScript 提供豐富的原生的 APIs 來創造桌面應用程式。
你可以把它視為一個 io.js 的變體,專注於桌面應用程式而不是 web 伺服器。 你可以把它視為一個 Node.js 的變體,專注於桌面應用程式而不是 web 伺服器。
這不表示 Electron 是一個用 JavaScript 去綁定 GUI 函式庫。取而代之的Electron 是使用網頁介面來作為它的 GUI 這不表示 Electron 是一個用 JavaScript 去綁定 GUI 函式庫。取而代之的Electron 是使用網頁介面來作為它的 GUI
所以你可以把它看作是一個被 JavaScript 所控制且精簡化的 Chromium 瀏覽器。 所以你可以把它看作是一個被 JavaScript 所控制且精簡化的 Chromium 瀏覽器。
@ -19,7 +19,7 @@ Electron 可以讓你使用純 JavaScript 提供豐富的原生的 APIs 來創
每一個網頁在 Electron 裏執行各自的行程,被稱為 __渲染行程__ 每一個網頁在 Electron 裏執行各自的行程,被稱為 __渲染行程__
在一般瀏覽器中,網頁通常會在沙盒環境下運行,並且不允許存取原生資源。然而, 在一般瀏覽器中,網頁通常會在沙盒環境下運行,並且不允許存取原生資源。然而,
Electron 的用戶擁有在網頁中呼叫 io.js APIs 的能力,允許低級別操作與作業系統的交互作用。 Electron 的用戶擁有在網頁中呼叫 Node.js APIs 的能力,允許低級別操作與作業系統的交互作用。
## 主行程與渲染行程的區別 ## 主行程與渲染行程的區別
@ -110,7 +110,7 @@ app.on('ready', function() {
  </head>   </head>
  <body>   <body>
    <h1>Hello World!</h1>     <h1>Hello World!</h1>
    We are using io.js <script>document.write(process.version)</script>     We are using Node.js <script>document.write(process.version)</script>
    and Electron <script>document.write(process.versions['electron'])</script>.     and Electron <script>document.write(process.versions['electron'])</script>.
  </body>   </body>
</html> </html>