]> khamidou — GitHub mirrors - electron.git/commitdiff
translate zh-TW tutorial mac-app-store-submission-guide.md
authorfbukevin <fbukevin@gmail.com>
Thu, 28 Jan 2016 13:16:59 +0000 (21:16 +0800)
committerfbukevin <fbukevin@gmail.com>
Thu, 28 Jan 2016 13:16:59 +0000 (21:16 +0800)
docs-translations/zh-TW/tutorial/mac-app-store-submission-guide.md

index 036676fe853a90434ccba5ea4d94cd080eeac82a..6deaa8295efd7983c4ad87c15a5ace1e02979503 100644 (file)
@@ -1,32 +1,23 @@
-# Mac App Store Submission Guide
+# Mac App Store 提交指引
 
-Since v0.34.0, Electron allows submitting packaged apps to the Mac App Store
-(MAS). This guide provides information on: how to submit your app and the
-limitations of the MAS build.
+自從版本 v0.34.0 開始,Electron 允許提交打包好的應用程式到 Mac App Store(MAS),這個指引提供了以下資訊:如何提交你的應用程式和 MAS 的建置限制。
 
-__Note:__ Submitting an app to Mac App Store requires enrolling [Apple Developer
-Program][developer-program], which costs money.
+__Note:__ 提交一個應用程式到 Mac App Store 需要註冊要付費的 [Apple Developer
+Program][developer-program].
 
-## How to Submit Your App
+## 如何提交你的應用程式
 
-The following steps introduce a simple way to submit your app to Mac App Store.
-However, these steps do not ensure your app will be approved by Apple; you
-still need to read Apple's [Submitting Your App][submitting-your-app] guide on
-how to meet the Mac App Store requirements.
+以下步驟介紹了一個簡單的方法提交你的應用程式到 Mac App Store,然而這些步驟不保證你的應用程式會被 Apple 批准,你仍然需要閱讀 Apple 的 [Submitting Your App][submitting-your-app] 指引來達到 Mac App Store 的要求。
 
-### Get Certificate
+### 取得認證
 
-To submit your app to the Mac App Store, you first must get a certificate from
-Apple. You can follow these [existing guides][nwjs-guide] on web.
+要提交你的應用程式到 Mac App Store,你首先必須取得 Apple 的認證,你可以遵循這些網路上的 [existing guides][nwjs-guide]。
 
-### Sign Your App
+### 簽署你的應用程式
 
-After getting the certificate from Apple, you can package your app by following
-[Application Distribution](application-distribution.md), and then proceed to
-signing your app. This step is basically the same with other programs, but the
-key is to sign every dependency of Electron one by one.
+取得了 Apple 的認證以後,你可以遵照 [Application Distribution](application-distribution.md) 來打包你的應用程式,然後進行你應用程式的簽署,這個步驟基本上與其他程式相同,但重點在於你要一一為每個 Electron 的相依套件做簽署。
 
-First, you need to prepare two entitlements files.
+首先,你需要準備兩個管理權限用的檔案。
 
 `child.plist`:
 
@@ -56,7 +47,7 @@ First, you need to prepare two entitlements files.
 </plist>
 ```
 
-And then sign your app with the following script:
+接著遵照下面的腳本簽署你的應用程式:
 
 ```bash
 #!/bin/bash
@@ -83,33 +74,26 @@ codesign  -fs "$APP_KEY" --entitlements parent.plist "$APP_PATH"
 productbuild --component "$APP_PATH" /Applications --sign "$INSTALLER_KEY" "$RESULT_PATH"
 ```
 
-If you are new to app sandboxing under OS X, you should also read through
-Apple's [Enabling App Sandbox][enable-app-sandbox] to have a basic idea, then
-add keys for the permissions needed by your app to the entitlements files.
+如果你是第一次使用 OS X 下的應用程式沙盒(app sandboxing),你應該也要閱讀 Apple 的 [Enabling App Sandbox][enable-app-sandbox] 以舉被基本概念,然後把你的應用程式會用到的 key 的權限都加入管理權現的檔案中。
 
-### Upload Your App and Submit for Review
+### 上傳你的應用程式和提交檢視
 
-After signing your app, you can use Application Loader to upload it to iTunes
-Connect for processing, making sure you have [created a record][create-record]
-before uploading. Then you can [submit your app for review][submit-for-review].
+當你簽署好你的應用程式後,你可以使用應用程式載入器(Application Loader)把他上傳到 iTunes,處理中請保持連線順暢,在上傳以前請確保你已經 [建立一個紀錄][create-record],機著你就可以提交你的應用程式去檢視了。
 
-## Limitations of MAS Build
+## MAS 建置的限制
 
-In order to satisfy all requirements for app sandboxing, the following modules
-have been disabled in the MAS build:
+為了滿足應用程式沙盒的所有的要求,以下模組需要在 MAS 建置過程中被停用:
 
 * `crash-reporter`
 * `auto-updater`
 
-and the following behaviors have been changed:
+然後以下的動作已經被變更:
 
-* Video capture may not work for some machines.
-* Certain accessibility features may not work.
-* Apps will not be aware of DNS changes.
+* 在某些機器上影像捕捉可能不能運作
+* 特定的存取特性可能無法運作
+* 應用程式將不管 DNS 的改變
 
-Also, due to the usage of app sandboxing, the resources which can be accessed by
- the app are strictly limited; you can read [App Sandboxing][app-sandboxing] for
- more information.
+此外,由於使用了應用程式沙盒,那些可以被應用程式存取的資源會被嚴格限制,你可以閱讀 [App Sandboxing][app-sandboxing] 以取得更多資訊。
 
 [developer-program]: https://developer.apple.com/support/compare-memberships/
 [submitting-your-app]: https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/AppDistributionGuide/SubmittingYourApp/SubmittingYourApp.html
@@ -117,4 +101,4 @@ Also, due to the usage of app sandboxing, the resources which can be accessed by
 [enable-app-sandbox]: https://developer.apple.com/library/ios/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/EnablingAppSandbox.html
 [create-record]: https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/CreatingiTunesConnectRecord.html
 [submit-for-review]: https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/SubmittingTheApp.html
-[app-sandboxing]: https://developer.apple.com/app-sandboxing/
+[app-sandboxing]: https://developer.apple.com/app-sandboxing/
\ No newline at end of file