Skip to content

Add README.cn.md#957

Merged
morozov merged 8 commits into
phpbrew:masterfrom
wi1dcard:master
Mar 16, 2018
Merged

Add README.cn.md#957
morozov merged 8 commits into
phpbrew:masterfrom
wi1dcard:master

Conversation

@wi1dcard

Copy link
Copy Markdown
Contributor

Purpose

To add chinese readme file.

Changes

  • Modified some sections of README.md
  • Add README.cn.md
  • Add .DS_Store into .gitignore
  • No code was changed.

Effect

Users from china will be easier to get started.

Tests

Nothing.

Usage

Nothing.

@coveralls

coveralls commented Mar 14, 2018

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 52.298% when pulling 8c18d84 on wi1dcard:master into 581eb9c on phpbrew:master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.2%) to 52.14% when pulling 3f18f52 on wi1dcard:master into 581eb9c on phpbrew:master.

@morozov morozov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wi1dcard thank you for your contribution. Unfortunately, I can't read Chinese. @jhdxr maybe you could review this?

Comment thread .gitignore Outdated
tags
/build/logs
*.phar
.DS_Store No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this. It doesn't belong to the project.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed :D

Comment thread README.cn.md Outdated

## 开始使用

接下来,我们假定你有充足的时间来学习,这将会是一个循序前进的教程——教你如何配置 phpbrew。

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

循序前进 => 循序渐进

Comment thread README.cn.md Outdated
phpbrew 能做什么?

- 配置选项简化为「Variants」,无需担心路径问题。
- 支持使用 PDO,Mysql,sqlite,debug 等不同「Variants」编译 PHP。

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MySQL,或者按照原来的全部保持小写mysql

Comment thread README.cn.md
$ phpbrew known --more
```

刷新 PHP 发布信息:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

刷新=>更新

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

此处再三考虑,担心译为「更新」,是否会导致部分用户理解为「升级」?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好吧,能够理解。
我之前考虑的原因是刷新一般对应的是 refresh,但用更新的确有可能造成这样的误解

Comment thread README.cn.md
$ phpbrew update
```

刷新旧版本(低于5.4):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

获取旧版本

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

此处同上。

Comment thread README.cn.md Outdated
$ phpbrew install -j $(nproc) 5.4.0 +default
```

测试环境:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个不是测试环境,而是编译完成后执行测试用例

Comment thread README.cn.md Outdated

## 拓展配置选项

更多拓展配置变量,你可以执行如下命令:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果想要传递更多拓展配置变量,你可以这么做:

Comment thread README.cn.md Outdated
$ phpbrew switch 5.4.18
```

停止服务:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

翻译为关闭更好?
毕竟服务可以算是一个术语

Comment thread README.cn.md Outdated

而 PHP 扩展的配置文件位于:

Extension configuration files should be put in:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这一行可以删去(包含它上/下面的一个空行)

Comment thread README.cn.md Outdated

## 安装拓展应用

phpbrew 内置了部分应用命令。

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

phpbrew 内置了用来获取部分 PHP 应用的 app 命令。

Comment thread README.cn.md Outdated

### 库路径设置

其次,请设置用于查找库文件的默认前缀,可选值:`macports`,`homebrew`,`debian`,`ubuntu` 或是自定义路径。

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

冒号可以改为

@morozov morozov merged commit af402a8 into phpbrew:master Mar 16, 2018
kevinnio pushed a commit to kevinnio/phpbrew that referenced this pull request Oct 26, 2018
@morozov morozov added this to the Release 1.24 milestone Nov 27, 2019
@morozov morozov self-assigned this Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants