Shawn-Hx commented on a change in pull request #13279:
URL: https://github.com/apache/flink/pull/13279#discussion_r482961610



##########
File path: docs/ops/deployment/local.zh.md
##########
@@ -122,38 +121,38 @@ INFO ... - Recovering all persisted jobs.
 INFO ... - Registering TaskManager ... at ResourceManager
 {% endhighlight %}
 
-#### Windows Cygwin Users
+#### Windows Cygwin 用户
 
-If you are installing Flink from the git repository and you are using the 
Windows git shell, Cygwin can produce a failure similar to this one:
+如果你使用 Windows 的 git shell 从 git 仓库安装 Flink,Cygwin 可能会产生类似如下的错误:
 
 {% highlight bash %}
 c:/flink/bin/start-cluster.sh: line 30: $'\r': command not found
 {% endhighlight %}
 
-This error occurs because git is automatically transforming UNIX line endings 
to Windows style line endings when running in Windows. The problem is that 
Cygwin can only deal with UNIX style line endings. The solution is to adjust 
the Cygwin settings to deal with the correct line endings by following these 
three steps:
+这个错误是因为当 git 运行在 Windows 上时,它会自动地将 UNIX 的行结束符转换成 Windows 风格的行结束符,但是 Cygwin 
只能处理 Unix 风格的行结束符。解决方案是通过以下三步调整 Cygwin 的配置,使其能够正确处理行结束符:
 
-1. Start a Cygwin shell.
+1. 启动 Cygwin shell。
 
-2. Determine your home directory by entering
+2. 输入以下命令进入你的家目录

Review comment:
       Thanks for your advice! I have seen someone translated `home directory` 
to `家目录` before, but `用户目录` sounds better.
   I have appended a commit to improve it.




----------------------------------------------------------------
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]


Reply via email to