From 49f91ef533245416cb77a30be71406c96bd613bd Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Thu, 29 Dec 2016 22:27:53 +0800 Subject: [PATCH 1/2] translate upgrade guide for zh-tw Signed-off-by: Bo-Yi Wu --- content/doc/upgrade.zh-tw.md | 13 +++++++++++++ content/doc/upgrade/from-gogs.zh-tw.md | 26 ++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 content/doc/upgrade.zh-tw.md create mode 100644 content/doc/upgrade/from-gogs.zh-tw.md diff --git a/content/doc/upgrade.zh-tw.md b/content/doc/upgrade.zh-tw.md new file mode 100644 index 0000000..b57fccb --- /dev/null +++ b/content/doc/upgrade.zh-tw.md @@ -0,0 +1,13 @@ +--- +date: "2016-12-01T16:00:00+02:00" +title: "升級" +slug: "upgrade" +weight: 10 +toc: false +draft: false +menu: + sidebar: + name: "升級" + weight: 20 + identifier: "upgrade" +--- diff --git a/content/doc/upgrade/from-gogs.zh-tw.md b/content/doc/upgrade/from-gogs.zh-tw.md new file mode 100644 index 0000000..33420e7 --- /dev/null +++ b/content/doc/upgrade/from-gogs.zh-tw.md @@ -0,0 +1,26 @@ +--- +date: "2016-12-01T16:00:00+02:00" +title: "從 Gogs 升級" +slug: "upgrade-from-gogs" +weight: 10 +toc: true +draft: false +menu: + sidebar: + parent: "upgrade" + name: "從 Gogs 升級" + weight: 10 + identifier: "upgrade-from-gogs" +--- + +# 從 Gogs 升級 + +假如您正在運行 Gogs 0.9.99 以下版本,你可以很平順的升級到 Gitea,請參考底下升級步驟: + +* 停止 Gogs 服務。 +* 複製 Gogs 設定檔 `custom/conf/app.ini` 到 Gitea 相對應位置。 +* 複製 Gogs `conf/` 目錄到 Gitea `options/` 目錄。 +* 假如您還有更多自訂的檔案在 `custom/` 目錄,像是多國語系檔案或模板,你應該手動將設定轉移到 Gitea 上,因為這些檔案在 Gitea 上有些不同。 +* 複製 `data/` 目錄到 Gitea 相對應目錄,此目錄包含 issue 附件檔及頭像。 +* 啟動 Gitea 服務 +* 進入 Gitea 管理介面,執行 `重新產生 '.ssh/authorized_keys' 檔案` (警告: 非 Gitea 金鑰將被刪除) 和 `重新產生全部倉庫 update hook` (當自訂設定檔已經被修改,則需要此步驟)。 From 2bf32933269ce55b4a58f9f83eac9f567aa9593a Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Fri, 30 Dec 2016 14:57:36 +0800 Subject: [PATCH 2/2] translate features. Signed-off-by: Bo-Yi Wu --- content/doc/features.zh-tw.md | 13 +++++++++++++ content/doc/features/authentication.zh-tw.md | 18 ++++++++++++++++++ content/doc/features/localization.zh-tw.md | 18 ++++++++++++++++++ content/doc/features/webhooks.zh-tw.md | 18 ++++++++++++++++++ 4 files changed, 67 insertions(+) create mode 100644 content/doc/features.zh-tw.md create mode 100644 content/doc/features/authentication.zh-tw.md create mode 100644 content/doc/features/localization.zh-tw.md create mode 100644 content/doc/features/webhooks.zh-tw.md diff --git a/content/doc/features.zh-tw.md b/content/doc/features.zh-tw.md new file mode 100644 index 0000000..889e0df --- /dev/null +++ b/content/doc/features.zh-tw.md @@ -0,0 +1,13 @@ +--- +date: "2016-12-01T16:00:00+02:00" +title: "功能" +slug: "features" +weight: 20 +toc: false +draft: false +menu: + sidebar: + name: "功能" + weight: 30 + identifier: "features" +--- diff --git a/content/doc/features/authentication.zh-tw.md b/content/doc/features/authentication.zh-tw.md new file mode 100644 index 0000000..4dd0248 --- /dev/null +++ b/content/doc/features/authentication.zh-tw.md @@ -0,0 +1,18 @@ +--- +date: "2016-12-01T16:00:00+02:00" +title: "認證" +slug: "authentication" +weight: 10 +toc: true +draft: false +menu: + sidebar: + parent: "features" + name: "認證" + weight: 10 + identifier: "authentication" +--- + +# 認證 + +## TBD diff --git a/content/doc/features/localization.zh-tw.md b/content/doc/features/localization.zh-tw.md new file mode 100644 index 0000000..534ff89 --- /dev/null +++ b/content/doc/features/localization.zh-tw.md @@ -0,0 +1,18 @@ +--- +date: "2016-12-01T16:00:00+02:00" +title: "在地化" +slug: "localization" +weight: 10 +toc: true +draft: false +menu: + sidebar: + parent: "features" + name: "在地化" + weight: 20 + identifier: "localization" +--- + +# Localization + +## TBD diff --git a/content/doc/features/webhooks.zh-tw.md b/content/doc/features/webhooks.zh-tw.md new file mode 100644 index 0000000..d3bb479 --- /dev/null +++ b/content/doc/features/webhooks.zh-tw.md @@ -0,0 +1,18 @@ +--- +date: "2016-12-01T16:00:00+02:00" +title: "Webhooks" +slug: "webhooks" +weight: 10 +toc: true +draft: false +menu: + sidebar: + parent: "features" + name: "Webhooks" + weight: 30 + identifier: "webhooks" +--- + +# Webhooks + +## TBD