Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.36 KB

translation-guide.md

File metadata and controls

56 lines (36 loc) · 1.36 KB

文档翻译指南

如何翻译

  • Fork 主仓库的代码
  • 翻译完成后自己 Review 两遍
  • 然后提交 PR

注意事项:

贡献签名

这是必须的。所有参与翻译者都必须进行这一步的操作。

设置你的提交信息的用户名和电子邮件地址。如:

$ git config --global user.name "John Doe"
$ git config --global user.email "johndoe@example.com"

一旦完成,你只需要在你的分支的提交上使用 --signoff。

$ git commit --signoff

或简写

$ git commit -s

这个命令会根据你 git 的配置信息在你的提交中添加签名,例如:

Signed-off-by: John Doe johndoe@example.com

更多的说明参考

http://codeigniter.org.cn/user_guide/contributing/index.html

https://bcit-ci.github.io/CodeIgniter4/contributing/signing.html

术语表

  1. 使用,而不使用
  2. 使用如果,而不使用譬如假如等。
  3. Helper 原则上不翻译,或者翻译成辅助方法
  4. PHP 语法相关的英文,比如类名,一律不翻译,例如 Request 类,不要翻译成请求类

(未完待续,欢迎补充)