...
b) 打开 git bash,粘贴复制的内容
git clone git@github.com:自己的/fabric-docs-i18n.git
cd fabriccd fabric-docs-cni18ngit status
c) 切换 branch(从master到1.4.0_zh-CN branch(从master到 release-2.2 或者其他需要翻译的分支)
git branch –a
git checkout -b release-b 1.4.0_zh-CN2.2
2、认领任务
1.查看 issue 列表,根据当前任务的进度选择你要认领的任务。目前任务进度分为五个阶段:
- untranslated:尚未翻译
- transting:正在翻译
- unreviewed:尚未校对
- reviewing:正在校对
- completed:完成翻译并已校对,该标签的issue会被关闭
github中显示的标签如下:
,根据当前任务的进度选择你要认领的任务。
2.添加评论表明你要领取该翻译任务,然后等待管理员将任务分配给你。如下图:
...
3) 打开Github:Pull request – New pull request,比较上传,申请合并(填写描述)
4、查看翻译文档
...
Fabric Documents Translate Workflow
...
4) Clone the documents repository to your local use commond “git clone repo-url“, and checkout branch you want to use, like “git checkout -b release-2.02” it will change to branch release-2.0 2 which is Chinese translation branch.
2. Claim Tasks
1) Check the issue list https://github.com/hyperledger-labs/fabric-docs-cni18n/issues,an issue have five phases now:
...
b) translating:The document is translating by someon
c) unreviewed:The translation is not reviewe
d) reviewing:The document is reviewing by someon
e) completed:The documets is translated and the translation is reviewed ,and the issue will be closed
2) Add a comment under the issue you want to claim, then wait for assigning by administrator. Like this:
...
3) Create a new Pull Reques in repository https://github.com/hyperledger-labs/fabric-docs-cni18n/issues,you can find it by chose “Pull request – New pull request”, then compare changes and create a PR with a message for want you have done.Like this:
4) Waiting for merge by administrator
4. Check Your Trnaslations
1) After your PR merged, check the readthedocs (https://hyperledger-fabric.readthedocs.io/zh_CN/release-2.0/ops_guide.html) for your translations, if it is not updated, connect with the administrator