From 81df392f053221f2f7626d3cee6bcbab0907b955 Mon Sep 17 00:00:00 2001 From: Dolphin Su Date: Sat, 12 Nov 2016 15:14:43 +0800 Subject: [PATCH 01/12] add a Chinese Readme file --- .gitignore | 1 + README-Chinese-zh.md | 75 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 README-Chinese-zh.md diff --git a/.gitignore b/.gitignore index fc487214..e7aad410 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /.couscous .sass-cache +.DS_Store diff --git a/README-Chinese-zh.md b/README-Chinese-zh.md new file mode 100644 index 00000000..b52070e4 --- /dev/null +++ b/README-Chinese-zh.md @@ -0,0 +1,75 @@ +# Vapor Documentation + +[![Stack Overflow](https://img.shields.io/stackexchange/stackoverflow/t/vapor.svg)](http://stackoverflow.com/questions/tagged/vapor) + +這是 Vapor 的說明文件, Vapor 是一個可以在 iOS, macOS 及 Ubuntu 上執行的 Web framework; 以及其他由 Vapor 所提供的套件。 + +Vapor 是一個在 Swift 上很受歡迎的 Web framework。它提供了清楚的 API 及許多方便的基礎功能,您可以用它建立網站或是後台。 + +您可以在 [Vapor's GitHub](https://github.com/vapor/vapor) 查看原始碼及說明文件。 + +## How To Read + +You can read this guide by clicking through the folders and markdown files on [GitHub](https://github.com/vapor/documentation) or through the rendered [GitHub Pages](https://vapor.github.io/documentation/). + +## Packages + +Here are a list of all the packages and modules included with Vapor (also useable individually). + +- [Vapor](https://github.com/vapor/vapor): Swift's most used web framework. + - Auth: User authentication and persistance. + - Sessions: Secure, ephemeral cookie based data storage. + - Cookies: HTTP cookies. + - Routing: Advanced router with type-safe parameterization. +- [Fluent](https://github.com/vapor/fluent): Models, relationships, and querying for NoSQL and SQL databases. +- [Engine](https://github.com/vapor/engine): Core transport layers. + - HTTP: Pure Swift HTTP client and server. + - URI: Pure Swift URI parsing and serializing. + - WebSockets: Full-duplex communication channels over a single TCP connection. + - SMTP: Send email using Sendgrid and Gmail. +- [Leaf](https://github.com/vapor/leaf): An extensible templating language. +- [JSON](https://github.com/vapor/json): Maps Jay JSON to Vapor types. +- [Console](https://github.com/vapor/console): Swift wrapper for console IO and commands. +- [TLS](https://github.com/vapor/tls): Swift wrapper for CLibreSSL's new TLS. +- [Crypto](https://github.com/vapor/crypto): Cryptography from LibreSSL and Swift. + - Digests: Hashing with and without authentication. + - Ciphers: Encryption and decryption + - Random: Psuedo and cryptographically secure randomness. + - BCrypt: Pure Swift implementation. +- [Node](https://github.com/vapor/node): Data structure for easy type conversions. + - [Polymorphic](https://github.com/vapor/polymorphic): Syntax for easily accessing values from common types like JSON. + - [Path Indexable](https://github.com/vapor/path-indexable): A protocol for powerful subscript access of common types like JSON. +- [Core](https://github.com/vapor/core): Core extensions, type-aliases, and functions that facilitate common tasks. +- [Socks](https://github.com/vapor/socks): Swift C Socket API wrapper. + +## Providers & Other + +Here are a list of providers and third party packages that work great with Vapor. + +- [MySQL](https://github.com/vapor/mysql): Robust MySQL interface for Swift. + - [MySQL Driver](https://github.com/vapor/mysql-driver): MySQL driver for Fluent. + - [MySQL Provider](https://github.com/vapor/mysql-provider): MySQL provider for Vapor. +- [SQLite](https://github.com/vapor/sqlite): SQLite 3 wrapper for Swift + - [SQLite Driver](https://github.com/vapor/sqlite-driver): SQLite driver for Fluent. + - [SQLite Provider](https://github.com/vapor/sqlite-provider): SQLite provider for Vapor. +- [PostgreSQL](https://github.com/vapor/postgresql): Robust PostgreSQL interface for Swift. + - [PostgreSQL Driver](https://github.com/vapor/postgresql-driver): PostgreSQL driver for Fluent. + - [PostgreSQL Provider](https://github.com/vapor/postgresql-provider): PostgreSQL provider for Vapor. +- [MongoKitten*](https://github.com/OpenKitten/MongoKitten): Native MongoDB driver for Swift, written in Swift + - [Mongo Driver](https://github.com/vapor/mongo-driver): MongoKitten driver for Fluent. + - [Mongo Provider](https://github.com/vapor/mongo-provider): MongoKitten provider for Vapor. + - [MainecoonVapor](https://github.com/OpenKitten/MainecoonVapor): MongoKitten ORM for Vapor. +- [Redbird](https://github.com/vapor/redbird): Pure-Swift Redis client implemented from the original protocol spec.. + - [Redis Provider](https://github.com/vapor/redis-provider): Redis cache provider for Vapor. +- [Kitura Provider](https://github.com/vapor/kitura-provider): Use IBM's Kitura HTTP server in Vapor. +- [SwiftyBeaver](https://github.com/SwiftyBeaver/SwiftyBeaver-Vapor): Adds the powerful logging of SwiftyBeaver to Vapor. +- [APNS](https://github.com/matthijs2704/vapor-apns): Simple APNS Library for Vapor (Swift). +- [JWT](https://github.com/siemensikkema/vapor-jwt): JWT implementation for Vapor. +- [VaporS3Signer](https://github.com/JustinM1/VaporS3Signer): Generate V4 Auth Header/Pre-Signed URL for AWS S3 REST API +- [Flock](https://github.com/jakeheis/Flock): Automated deployment of Swift projects to servers + - [VaporFlock](https://github.com/jakeheis/VaporFlock): Use Flock to deploy Vapor applications + + +## Authors + +[Tanner Nelson](mailto:tanner@qutheory.io), [Logan Wright](mailto:logan@qutheory.io), and the hundreds of members of Vapor. From fc80bce3f5d7f29a10ffec6b9a0b9bed47e65039 Mon Sep 17 00:00:00 2001 From: Dolphin Su Date: Sat, 12 Nov 2016 15:49:50 +0800 Subject: [PATCH 02/12] translating.... --- README-Chinese-zh.md | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/README-Chinese-zh.md b/README-Chinese-zh.md index b52070e4..7e94e825 100644 --- a/README-Chinese-zh.md +++ b/README-Chinese-zh.md @@ -8,23 +8,22 @@ Vapor 是一個在 Swift 上很受歡迎的 Web framework。它提供了清楚 您可以在 [Vapor's GitHub](https://github.com/vapor/vapor) 查看原始碼及說明文件。 -## How To Read +## 如何閱讀說明文件 -You can read this guide by clicking through the folders and markdown files on [GitHub](https://github.com/vapor/documentation) or through the rendered [GitHub Pages](https://vapor.github.io/documentation/). +在 [GitHub](https://github.com/vapor/documentation) 上瀏覽每個資料夾,特別是 markdown 檔(副檔名為 .md 的檔案)。或是看 [GitHub Pages](https://vapor.github.io/documentation/)。 -## Packages +## 套件 +以下是 Vapor 提供的套件及模組(您也可以不透過 Vapor 而直接使用它們) -Here are a list of all the packages and modules included with Vapor (also useable individually). - -- [Vapor](https://github.com/vapor/vapor): Swift's most used web framework. - - Auth: User authentication and persistance. - - Sessions: Secure, ephemeral cookie based data storage. +- [Vapor](https://github.com/vapor/vapor): Swift 上最常被使用到的 web framework。 + - Auth: 使用者的認證及存續控制(persistance)。 + - Sessions: 建立在 cookie 上的安全、短暫的資料儲存。 - Cookies: HTTP cookies. - - Routing: Advanced router with type-safe parameterization. -- [Fluent](https://github.com/vapor/fluent): Models, relationships, and querying for NoSQL and SQL databases. -- [Engine](https://github.com/vapor/engine): Core transport layers. - - HTTP: Pure Swift HTTP client and server. - - URI: Pure Swift URI parsing and serializing. + - Routing: 可透過變數類型確定(type-safe)的參數來設定路徑。 +- [Fluent](https://github.com/vapor/fluent): 用來操作 SQL 或 NoSQL 資料庫。 +- [Engine](https://github.com/vapor/engine): 傳輸的核心層。 + - HTTP: HTTP 用戶端及主機端。 + - URI: URI 的分解及組成。 - WebSockets: Full-duplex communication channels over a single TCP connection. - SMTP: Send email using Sendgrid and Gmail. - [Leaf](https://github.com/vapor/leaf): An extensible templating language. From 8df1a57c9d98b7df89ef897d55b1e5f0564f5b75 Mon Sep 17 00:00:00 2001 From: Dolphin Su Date: Sat, 12 Nov 2016 16:05:58 +0800 Subject: [PATCH 03/12] translating --- README-Chinese-zh.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README-Chinese-zh.md b/README-Chinese-zh.md index 7e94e825..634b9dd7 100644 --- a/README-Chinese-zh.md +++ b/README-Chinese-zh.md @@ -24,10 +24,10 @@ Vapor 是一個在 Swift 上很受歡迎的 Web framework。它提供了清楚 - [Engine](https://github.com/vapor/engine): 傳輸的核心層。 - HTTP: HTTP 用戶端及主機端。 - URI: URI 的分解及組成。 - - WebSockets: Full-duplex communication channels over a single TCP connection. - - SMTP: Send email using Sendgrid and Gmail. -- [Leaf](https://github.com/vapor/leaf): An extensible templating language. -- [JSON](https://github.com/vapor/json): Maps Jay JSON to Vapor types. + - WebSockets: 在一個 TCB 連線中進行雙向的溝通管道。 + - SMTP: 透過 Sendgrid 及 Gmail 發送郵件。 +- [Leaf](https://github.com/vapor/leaf): 一種可擴張的樣本語言(extensible templating language)。(譯註: 這可以用來建立使用者介面。) +- [JSON](https://github.com/vapor/json): 將 [Jay](https://github.com/dantoml/jay) JSON 物件生成對應的 Vapor types 的工具。 - [Console](https://github.com/vapor/console): Swift wrapper for console IO and commands. - [TLS](https://github.com/vapor/tls): Swift wrapper for CLibreSSL's new TLS. - [Crypto](https://github.com/vapor/crypto): Cryptography from LibreSSL and Swift. From 001d0a5c3b73799fd946a0f036e15d3d377e54f6 Mon Sep 17 00:00:00 2001 From: Dolphin Su Date: Sat, 12 Nov 2016 17:33:15 +0800 Subject: [PATCH 04/12] translation completed. --- README-Chinese-zh.md | 76 ++++++++++++++++++++++---------------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/README-Chinese-zh.md b/README-Chinese-zh.md index 634b9dd7..6add0bd2 100644 --- a/README-Chinese-zh.md +++ b/README-Chinese-zh.md @@ -28,47 +28,47 @@ Vapor 是一個在 Swift 上很受歡迎的 Web framework。它提供了清楚 - SMTP: 透過 Sendgrid 及 Gmail 發送郵件。 - [Leaf](https://github.com/vapor/leaf): 一種可擴張的樣本語言(extensible templating language)。(譯註: 這可以用來建立使用者介面。) - [JSON](https://github.com/vapor/json): 將 [Jay](https://github.com/dantoml/jay) JSON 物件生成對應的 Vapor types 的工具。 -- [Console](https://github.com/vapor/console): Swift wrapper for console IO and commands. -- [TLS](https://github.com/vapor/tls): Swift wrapper for CLibreSSL's new TLS. -- [Crypto](https://github.com/vapor/crypto): Cryptography from LibreSSL and Swift. - - Digests: Hashing with and without authentication. - - Ciphers: Encryption and decryption - - Random: Psuedo and cryptographically secure randomness. - - BCrypt: Pure Swift implementation. -- [Node](https://github.com/vapor/node): Data structure for easy type conversions. - - [Polymorphic](https://github.com/vapor/polymorphic): Syntax for easily accessing values from common types like JSON. - - [Path Indexable](https://github.com/vapor/path-indexable): A protocol for powerful subscript access of common types like JSON. -- [Core](https://github.com/vapor/core): Core extensions, type-aliases, and functions that facilitate common tasks. -- [Socks](https://github.com/vapor/socks): Swift C Socket API wrapper. +- [Console](https://github.com/vapor/console): 用來處理 console 的輸入、輸出及指令的 Swift 工具。 +- [TLS](https://github.com/vapor/tls): 用來處理 CLibreSSL 的新型 TLS 的 Swift 工具。 +- [Crypto](https://github.com/vapor/crypto): 在 LibreSSL 及 Swift 上進行加密的工具。 + - Digests: 無論有沒有認證(authentication)都可以進行雜湊(hash)。 + - Ciphers: 編碼及解碼。 + - Random: 安全的隨機性。 + - BCrypt: 完全用 Swift 實作。 +- [Node](https://github.com/vapor/node): 可以輕易地進行類型轉換的資料結構。 + - [Polymorphic](https://github.com/vapor/polymorphic): 如同 JSON 一般可以輕易取用資料的語法。 + - [Path Indexable](https://github.com/vapor/path-indexable): 如同 JSON 一樣可以用來處理複雜的資料結構。 +- [Core](https://github.com/vapor/core): 主要的 extension 群,例如: 變數類型的重新命名、在許多地方都會被使用的 function 等。 +- [Socks](https://github.com/vapor/socks): 將 C 語言的 Socket API 包裝成 Swift 語言。 -## Providers & Other +## 可合併使用的套件及提供者 -Here are a list of providers and third party packages that work great with Vapor. +以下是可以和 Vapor 合併運用的套件列表。 -- [MySQL](https://github.com/vapor/mysql): Robust MySQL interface for Swift. - - [MySQL Driver](https://github.com/vapor/mysql-driver): MySQL driver for Fluent. - - [MySQL Provider](https://github.com/vapor/mysql-provider): MySQL provider for Vapor. -- [SQLite](https://github.com/vapor/sqlite): SQLite 3 wrapper for Swift - - [SQLite Driver](https://github.com/vapor/sqlite-driver): SQLite driver for Fluent. - - [SQLite Provider](https://github.com/vapor/sqlite-provider): SQLite provider for Vapor. -- [PostgreSQL](https://github.com/vapor/postgresql): Robust PostgreSQL interface for Swift. - - [PostgreSQL Driver](https://github.com/vapor/postgresql-driver): PostgreSQL driver for Fluent. - - [PostgreSQL Provider](https://github.com/vapor/postgresql-provider): PostgreSQL provider for Vapor. -- [MongoKitten*](https://github.com/OpenKitten/MongoKitten): Native MongoDB driver for Swift, written in Swift - - [Mongo Driver](https://github.com/vapor/mongo-driver): MongoKitten driver for Fluent. - - [Mongo Provider](https://github.com/vapor/mongo-provider): MongoKitten provider for Vapor. - - [MainecoonVapor](https://github.com/OpenKitten/MainecoonVapor): MongoKitten ORM for Vapor. -- [Redbird](https://github.com/vapor/redbird): Pure-Swift Redis client implemented from the original protocol spec.. - - [Redis Provider](https://github.com/vapor/redis-provider): Redis cache provider for Vapor. -- [Kitura Provider](https://github.com/vapor/kitura-provider): Use IBM's Kitura HTTP server in Vapor. -- [SwiftyBeaver](https://github.com/SwiftyBeaver/SwiftyBeaver-Vapor): Adds the powerful logging of SwiftyBeaver to Vapor. -- [APNS](https://github.com/matthijs2704/vapor-apns): Simple APNS Library for Vapor (Swift). -- [JWT](https://github.com/siemensikkema/vapor-jwt): JWT implementation for Vapor. -- [VaporS3Signer](https://github.com/JustinM1/VaporS3Signer): Generate V4 Auth Header/Pre-Signed URL for AWS S3 REST API -- [Flock](https://github.com/jakeheis/Flock): Automated deployment of Swift projects to servers - - [VaporFlock](https://github.com/jakeheis/VaporFlock): Use Flock to deploy Vapor applications +- [MySQL](https://github.com/vapor/mysql): 可透過 Swift 操作 MySQL 的套件。 + - [MySQL Driver](https://github.com/vapor/mysql-driver): 透過 Fluent 操作 MySQL 的套件。 + - [MySQL Provider](https://github.com/vapor/mysql-provider): 讓 MySQL 可以在 Vapor 上運作的 provider。 +- [SQLite](https://github.com/vapor/sqlite): 可透過 Swift 操作 SQLite 3 的套件。 + - [SQLite Driver](https://github.com/vapor/sqlite-driver): 透迥 Fluent 操作 SQLite 的工具。 + - [SQLite Provider](https://github.com/vapor/sqlite-provider): 讓 SQLite 可以在 Vapor 上運作的 provider。 +- [PostgreSQL](https://github.com/vapor/postgresql): 用 Swift 操作 PostgreSQL 的工具。 + - [PostgreSQL Driver](https://github.com/vapor/postgresql-driver): 用 Fluent 操作 PostgreSQL 的套件。 + - [PostgreSQL Provider](https://github.com/vapor/postgresql-provider): 讓 PostgreSQL 可以運作在 Vapor 上的 provider。 +- [MongoKitten*](https://github.com/OpenKitten/MongoKitten): 用 Swift 寫的 MongoDB driver。 + - [Mongo Driver](https://github.com/vapor/mongo-driver): Fluent 用的 MongoKitten driver。 + - [Mongo Provider](https://github.com/vapor/mongo-provider): Vapor 用的 MongoKitten provider. + - [MainecoonVapor](https://github.com/OpenKitten/MainecoonVapor): Vapor 的 MongoKitten 物件關聯管理。 +- [Redbird](https://github.com/vapor/redbird): 遵循原原協定的規格實作出來的 Swift Redis client 端。 + - [Redis Provider](https://github.com/vapor/redis-provider): Vapor 的 Redis cache provider。 +- [Kitura Provider](https://github.com/vapor/kitura-provider): 在 Vapor 中使用 IBM 的 Kitura HTTP Server。 +- [SwiftyBeaver](https://github.com/SwiftyBeaver/SwiftyBeaver-Vapor): 在 Vapor 中使用 SwiftBeaver 的套件。(譯註: 就像強化版的 NSLog() 或 print()) +- [APNS](https://github.com/matthijs2704/vapor-apns): 用來操作 Apple 推播的工具。 +- [JWT](https://github.com/siemensikkema/vapor-jwt): 讓我們可以設定一些規則以取得特定資源的工具。 +- [VaporS3Signer](https://github.com/JustinM1/VaporS3Signer): 用來產生 HTTP request 的 headers 及已經簽證過的 URL,用來 request AWS S3 的 REST API。 +- [Flock](https://github.com/jakeheis/Flock): 自動將 Swift 專案發佈上主機。 + - [VaporFlock](https://github.com/jakeheis/VaporFlock): 利用 Flock 發佈 Vapor applications。 -## Authors +## 作者大大 -[Tanner Nelson](mailto:tanner@qutheory.io), [Logan Wright](mailto:logan@qutheory.io), and the hundreds of members of Vapor. +[Tanner Nelson](mailto:tanner@qutheory.io), [Logan Wright](mailto:logan@qutheory.io),以及其他上百位 Vapor 的貢獻者們。 From 345f818c8bdcc875676b4cc10ae9b329e90282f2 Mon Sep 17 00:00:00 2001 From: Dolphin Su Date: Sat, 12 Nov 2016 18:03:05 +0800 Subject: [PATCH 05/12] Add link to traditional Chinese read me page. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 7ad73d0b..03228a0b 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ Vapor is the most used web framework for Swift. It provides a beautifully expres To view the framework's source code and code documentation, visit [Vapor's GitHub](https://github.com/vapor/vapor). +Read this in [正體中文](https://github.com/vapor/documentation/blob/master/README-Chinese-zh.md) + ## How To Read You can read this guide by clicking through the folders and markdown files on [GitHub](https://github.com/vapor/documentation) or through the rendered [GitHub Pages](https://vapor.github.io/documentation/). From 055368c72cce59c2b83f50e937266b4b93a40508 Mon Sep 17 00:00:00 2001 From: Dolphin Su Date: Sat, 12 Nov 2016 18:33:34 +0800 Subject: [PATCH 06/12] fix some wordings. --- README-Chinese-zh.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README-Chinese-zh.md b/README-Chinese-zh.md index 6add0bd2..1f14560e 100644 --- a/README-Chinese-zh.md +++ b/README-Chinese-zh.md @@ -2,24 +2,24 @@ [![Stack Overflow](https://img.shields.io/stackexchange/stackoverflow/t/vapor.svg)](http://stackoverflow.com/questions/tagged/vapor) -這是 Vapor 的說明文件, Vapor 是一個可以在 iOS, macOS 及 Ubuntu 上執行的 Web framework; 以及其他由 Vapor 所提供的套件。 +這是 Vapor 的說明文件, Vapor 是一個可以在 iOS, macOS 及 Ubuntu 上執行的 Web framework,以及其他相關的套件。 -Vapor 是一個在 Swift 上很受歡迎的 Web framework。它提供了清楚的 API 及許多方便的基礎功能,您可以用它建立網站或是後台。 +Vapor 是一個在 Swift 上很受歡迎的 Web framework。它提供了清楚易用的 API 及許多方便的基礎功能,方便我們用它建立網站或是後台。 -您可以在 [Vapor's GitHub](https://github.com/vapor/vapor) 查看原始碼及說明文件。 +我們可以在 [Vapor's GitHub](https://github.com/vapor/vapor) 查看原始碼及說明文件。 ## 如何閱讀說明文件 -在 [GitHub](https://github.com/vapor/documentation) 上瀏覽每個資料夾,特別是 markdown 檔(副檔名為 .md 的檔案)。或是看 [GitHub Pages](https://vapor.github.io/documentation/)。 +在 [GitHub](https://github.com/vapor/documentation) 上瀏覽每個資料夾,特別是 markdown 檔(副檔名為 .md 的檔案)。或是看 [GitHub Pages](https://vapor.github.io/documentation/) 上的文件。 ## 套件 -以下是 Vapor 提供的套件及模組(您也可以不透過 Vapor 而直接使用它們) +以下是 Vapor 提供的套件及模組(您也可以直接使用它們,不透過 Vapor。) - [Vapor](https://github.com/vapor/vapor): Swift 上最常被使用到的 web framework。 - Auth: 使用者的認證及存續控制(persistance)。 - - Sessions: 建立在 cookie 上的安全、短暫的資料儲存。 + - Sessions: 建立在 cookie 機制上安全、短暫的資料儲存。 - Cookies: HTTP cookies. - - Routing: 可透過變數類型確定(type-safe)的參數來設定路徑。 + - Routing: 可透過變數類型確定(type-safe)的參數設定來設定路徑。 - [Fluent](https://github.com/vapor/fluent): 用來操作 SQL 或 NoSQL 資料庫。 - [Engine](https://github.com/vapor/engine): 傳輸的核心層。 - HTTP: HTTP 用戶端及主機端。 @@ -27,7 +27,7 @@ Vapor 是一個在 Swift 上很受歡迎的 Web framework。它提供了清楚 - WebSockets: 在一個 TCB 連線中進行雙向的溝通管道。 - SMTP: 透過 Sendgrid 及 Gmail 發送郵件。 - [Leaf](https://github.com/vapor/leaf): 一種可擴張的樣本語言(extensible templating language)。(譯註: 這可以用來建立使用者介面。) -- [JSON](https://github.com/vapor/json): 將 [Jay](https://github.com/dantoml/jay) JSON 物件生成對應的 Vapor types 的工具。 +- [JSON](https://github.com/vapor/json): 將 [Jay](https://github.com/dantoml/jay) 將 JSON 物件生成對應的 Vapor types 的工具。 - [Console](https://github.com/vapor/console): 用來處理 console 的輸入、輸出及指令的 Swift 工具。 - [TLS](https://github.com/vapor/tls): 用來處理 CLibreSSL 的新型 TLS 的 Swift 工具。 - [Crypto](https://github.com/vapor/crypto): 在 LibreSSL 及 Swift 上進行加密的工具。 From dc054daf7a8d7e462fce1dfabe6091a58188062e Mon Sep 17 00:00:00 2001 From: Dolphin Su Date: Sat, 12 Nov 2016 18:34:34 +0800 Subject: [PATCH 07/12] fix wording. --- README-Chinese-zh.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README-Chinese-zh.md b/README-Chinese-zh.md index 1f14560e..d132cdeb 100644 --- a/README-Chinese-zh.md +++ b/README-Chinese-zh.md @@ -13,7 +13,7 @@ Vapor 是一個在 Swift 上很受歡迎的 Web framework。它提供了清楚 在 [GitHub](https://github.com/vapor/documentation) 上瀏覽每個資料夾,特別是 markdown 檔(副檔名為 .md 的檔案)。或是看 [GitHub Pages](https://vapor.github.io/documentation/) 上的文件。 ## 套件 -以下是 Vapor 提供的套件及模組(您也可以直接使用它們,不透過 Vapor。) +以下是 Vapor 提供的套件及模組(我們也可以直接使用它們,不透過 Vapor。) - [Vapor](https://github.com/vapor/vapor): Swift 上最常被使用到的 web framework。 - Auth: 使用者的認證及存續控制(persistance)。 From 9bc5410b542d1465a99d5b28401969e1b796915d Mon Sep 17 00:00:00 2001 From: Dolphin Su Date: Sun, 13 Nov 2016 06:18:15 +0800 Subject: [PATCH 08/12] update for Provider infomation. --- README-Chinese-zh.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README-Chinese-zh.md b/README-Chinese-zh.md index d132cdeb..3084d752 100644 --- a/README-Chinese-zh.md +++ b/README-Chinese-zh.md @@ -41,9 +41,9 @@ Vapor 是一個在 Swift 上很受歡迎的 Web framework。它提供了清楚 - [Core](https://github.com/vapor/core): 主要的 extension 群,例如: 變數類型的重新命名、在許多地方都會被使用的 function 等。 - [Socks](https://github.com/vapor/socks): 將 C 語言的 Socket API 包裝成 Swift 語言。 -## 可合併使用的套件及提供者 +## 可合併使用的套件 -以下是可以和 Vapor 合併運用的套件列表。 +以下是可以和 Vapor 合併運用的套件列表。(譯註:原文裡這裡還有個東西叫 Provider,那是一種 protocol,讓我們可以掛到 Vapor 中如同第三方元件一樣使用。) - [MySQL](https://github.com/vapor/mysql): 可透過 Swift 操作 MySQL 的套件。 - [MySQL Driver](https://github.com/vapor/mysql-driver): 透過 Fluent 操作 MySQL 的套件。 From 1df829e6fe610aa1b945eec9f5e32b6698bbf2d1 Mon Sep 17 00:00:00 2001 From: dolphinsue319 Date: Wed, 16 Nov 2016 09:13:14 +0800 Subject: [PATCH 09/12] Fix some wordings. --- README-Chinese-zh.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README-Chinese-zh.md b/README-Chinese-zh.md index 3084d752..cf974183 100644 --- a/README-Chinese-zh.md +++ b/README-Chinese-zh.md @@ -58,7 +58,7 @@ Vapor 是一個在 Swift 上很受歡迎的 Web framework。它提供了清楚 - [Mongo Driver](https://github.com/vapor/mongo-driver): Fluent 用的 MongoKitten driver。 - [Mongo Provider](https://github.com/vapor/mongo-provider): Vapor 用的 MongoKitten provider. - [MainecoonVapor](https://github.com/OpenKitten/MainecoonVapor): Vapor 的 MongoKitten 物件關聯管理。 -- [Redbird](https://github.com/vapor/redbird): 遵循原原協定的規格實作出來的 Swift Redis client 端。 +- [Redbird](https://github.com/vapor/redbird): 遵循原始協定的規格實作出來的 Swift Redis client 端。 - [Redis Provider](https://github.com/vapor/redis-provider): Vapor 的 Redis cache provider。 - [Kitura Provider](https://github.com/vapor/kitura-provider): 在 Vapor 中使用 IBM 的 Kitura HTTP Server。 - [SwiftyBeaver](https://github.com/SwiftyBeaver/SwiftyBeaver-Vapor): 在 Vapor 中使用 SwiftBeaver 的套件。(譯註: 就像強化版的 NSLog() 或 print()) @@ -69,6 +69,6 @@ Vapor 是一個在 Swift 上很受歡迎的 Web framework。它提供了清楚 - [VaporFlock](https://github.com/jakeheis/VaporFlock): 利用 Flock 發佈 Vapor applications。 -## 作者大大 +## 作者們 [Tanner Nelson](mailto:tanner@qutheory.io), [Logan Wright](mailto:logan@qutheory.io),以及其他上百位 Vapor 的貢獻者們。 From d0c1f6a6c9a06da2be42220a40cd1803b4c8becc Mon Sep 17 00:00:00 2001 From: dolphinsue319 Date: Wed, 16 Nov 2016 09:18:09 +0800 Subject: [PATCH 10/12] Update Jay's description. --- README-Chinese-zh.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README-Chinese-zh.md b/README-Chinese-zh.md index cf974183..3a4a702e 100644 --- a/README-Chinese-zh.md +++ b/README-Chinese-zh.md @@ -27,7 +27,7 @@ Vapor 是一個在 Swift 上很受歡迎的 Web framework。它提供了清楚 - WebSockets: 在一個 TCB 連線中進行雙向的溝通管道。 - SMTP: 透過 Sendgrid 及 Gmail 發送郵件。 - [Leaf](https://github.com/vapor/leaf): 一種可擴張的樣本語言(extensible templating language)。(譯註: 這可以用來建立使用者介面。) -- [JSON](https://github.com/vapor/json): 將 [Jay](https://github.com/dantoml/jay) 將 JSON 物件生成對應的 Vapor types 的工具。 +- [JSON](https://github.com/vapor/json): 用 [Jay JSON]((https://github.com/dantoml/jay)) 解析工具產生Vapor物件。 - [Console](https://github.com/vapor/console): 用來處理 console 的輸入、輸出及指令的 Swift 工具。 - [TLS](https://github.com/vapor/tls): 用來處理 CLibreSSL 的新型 TLS 的 Swift 工具。 - [Crypto](https://github.com/vapor/crypto): 在 LibreSSL 及 Swift 上進行加密的工具。 From 31d49e02a2f5dfb105d7ee9f622e78a692f51e34 Mon Sep 17 00:00:00 2001 From: dolphinsue319 Date: Thu, 17 Nov 2016 09:22:28 +0800 Subject: [PATCH 11/12] Change .md file suffix name. --- README-Chinese-zh.md => README.zh-hant.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename README-Chinese-zh.md => README.zh-hant.md (100%) diff --git a/README-Chinese-zh.md b/README.zh-hant.md similarity index 100% rename from README-Chinese-zh.md rename to README.zh-hant.md From b3b3b45c46ee1f9f2726ce7277fbf72e69e557a2 Mon Sep 17 00:00:00 2001 From: dolphinsue319 Date: Sat, 19 Nov 2016 09:20:17 +0800 Subject: [PATCH 12/12] Update the url for the updated Chinese README. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 03228a0b..ed52e8a2 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Vapor is the most used web framework for Swift. It provides a beautifully expres To view the framework's source code and code documentation, visit [Vapor's GitHub](https://github.com/vapor/vapor). -Read this in [正體中文](https://github.com/vapor/documentation/blob/master/README-Chinese-zh.md) +Read this in [正體中文](https://github.com/vapor/documentation/blob/master/README.zh-hant.md) ## How To Read