wuchong commented on a change in pull request #7799:
[FLINK-11613][chinese-translation,Documentation]Translate the "Project Template
for Scala" page into Chinese
URL: https://github.com/apache/flink/pull/7799#discussion_r277659377
##########
File path: docs/dev/projectsetup/scala_api_quickstart.zh.md
##########
@@ -27,54 +27,54 @@ under the License.
{:toc}
-## Build Tools
+## 构建工具
-Flink projects can be built with different build tools.
-In order to get started quickly, Flink provides project templates for the
following build tools:
+可以使用不同的构建工具来构建Flink项目。
+为了快速入门,Flink为以下构建工具提供了项目模板:
- [SBT](#sbt)
- [Maven](#maven)
-These templates help you to set up the project structure and to create the
initial build files.
+这些模板将帮助你建立项目的框架并创建初始化的构建文件。
## SBT
-### Create Project
+### 创建项目
-You can scaffold a new project via either of the following two methods:
+你可以通过以下两种方法之一构建新项目:
<ul class="nav nav-tabs" style="border-bottom: none;">
- <li class="active"><a href="#sbt_template" data-toggle="tab">Use the
<strong>sbt template</strong></a></li>
- <li><a href="#quickstart-script-sbt" data-toggle="tab">Run the
<strong>quickstart script</strong></a></li>
+ <li class="active"><a href="#sbt_template" data-toggle="tab">使用
<strong>sbt 模版</strong></a></li>
+ <li><a href="#quickstart-script-sbt" data-toggle="tab">运行
<strong>快速开始脚本</strong></a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="sbt_template">
{% highlight bash %}
$ sbt new tillrohrmann/flink-project.g8
{% endhighlight %}
- This will prompt you for a couple of parameters (project name, flink
version...) and then create a Flink project from the <a
href="https://github.com/tillrohrmann/flink-project.g8">flink-project
template</a>.
- You need sbt >= 0.13.13 to execute this command. You can follow this <a
href="http://www.scala-sbt.org/download.html">installation guide</a> to obtain
it if necessary.
+ 这里将提示你输入几个参数 (项目名称,Flink版本...) 然后从 <a
href="https://github.com/tillrohrmann/flink-project.g8">Flink项目模版</a>创建一个Flink项目。
+ 你的sbt版本需要不小于0.13.13才能执行这个命令。如有必要,你可以参考这个<a
href="http://www.scala-sbt.org/download.html">安装指南</a>获取合适版本的sbt。
</div>
<div class="tab-pane" id="quickstart-script-sbt">
{% highlight bash %}
$ bash <(curl https://flink.apache.org/q/sbt-quickstart.sh)
- {% endhighlight %}
- This will create a Flink project in the <strong>specified</strong> project
directory.
+ {% endhighlight %}·
Review comment:
```suggestion
{% endhighlight %}
```
remove `.`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services