Skip to content

Translate 04-git-server gitweb #116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 8, 2015
Merged

Conversation

sanddudu
Copy link
Contributor

No description provided.

@networm networm changed the title Translated 04-gitweb Translated 04-git-server gitweb Jun 18, 2015
@networm networm changed the title Translated 04-git-server gitweb Translate 04-git-server gitweb Jun 18, 2015
@networm
Copy link
Member

networm commented Jul 11, 2015

注意一个问题,提交的 Pull Request 右上角显示的增加删除行数应是一致的。
需要保证英文原文是几行,中文就是几行,不可以随意多行或少行,要保证英文一行中对应的中文翻译都在一行。

@networm networm mentioned this pull request Jul 29, 2015
95 tasks
@networm networm modified the milestone: v1.0.0 Jul 29, 2015
Some Linux distributions have a `gitweb` package that you may be able to install via `apt` or `yum`, so you may want to try that first.
We'll walk though installing GitWeb manually very quickly.
First, you need to get the Git source code, which GitWeb comes with, and generate the custom CGI script:
如果你现在想为你的团队或你托管的开源项目持续的运行这个页面,你需要通过普通的网络服务器来架设 CGI 脚本。
Copy link
Member

Choose a reason for hiding this comment

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

架设 CGI 脚本。

设置 CGI 脚本。

@networm
Copy link
Member

networm commented Jul 29, 2015

@sanddudu 已审校。

@sanddudu
Copy link
Contributor Author

已修改

@@ -1,17 +1,17 @@
=== GitWeb

(((serving repositories, GitWeb)))(((GitWeb)))
Now that you have basic read/write and read-only access to your project, you may want to set up a simple web-based visualizer.
Git comes with a CGI script called GitWeb that is sometimes used for this.
如果你对项目有读写权限或只读权限,你可能需要建立起一个简易的基于网页的查看器。
Copy link
Contributor

Choose a reason for hiding this comment

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

简易的基于网页的查看器=》基于网页的简易查看器

Copy link
Contributor

Choose a reason for hiding this comment

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

如果不准确吧? Now that既然的意思,或者翻译成 现在 之前很多人都是这么翻译的。我个人比较倾向与 既然

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@archersmind 如果用既然,这个句子就读不通了

@IceNature
Copy link
Contributor

@sanddudu 已完成

If you're running a Mac, Leopard comes preinstalled with Ruby, so `webrick` may be your best bet.
To start `instaweb` with a non-lighttpd handler, you can run it with the `--httpd` option.(((git commands, instaweb)))
如果你想要查看 GitWeb 如何展示你的项目,并且在服务器上安装了轻量级网络服务器比如 `lighttpd` 或 `webrick`, Git 提供了一个命令来让你启动一个临时的服务器。
在 Linux 系统的电脑上, `lighttpd` 通常已经安装了,所以你只需要在项目目录里执行 `git instaweb` 命令即可。
Copy link
Contributor

Choose a reason for hiding this comment

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

系统的电脑上, lighttpd 通常已

lighttpd 前面是不是多了一个空格? 标点符号后面接英文的话应该不需要空格吧?

下面摘之Translation note

如果英文前、后是标点,则不需再添加空格

Again, GitWeb can be served with any CGI or Perl capable web server; if you prefer to use something else, it shouldn't be difficult to set up.
At this point, you should be able to visit `http://gitserver/` to view your repositories online.
再次提醒,GitWeb 可以通过任何一个支持 CGI Perl 的网络服务器架设;如果你需要的话,架设起来应该不会很困难。
现在,你可以访问 `http://gitserver/` 来在线查看你的版本库。
Copy link
Contributor

Choose a reason for hiding this comment

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

建议:
去掉

现在,你可以访问 http://gitserver/ 在线查看你的版本库。

Copy link
Contributor

Choose a reason for hiding this comment

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

@networm review 完了 @sanddudu 请在检查一下,谢谢。

@networm
Copy link
Member

networm commented Aug 7, 2015

@sanddudu 请尽快修正本节。

@sanddudu
Copy link
Contributor Author

sanddudu commented Aug 8, 2015

已修正

@networm
Copy link
Member

networm commented Aug 8, 2015

@sanddudu 请在有异议的评论上留言,解释一下原因。

@networm
Copy link
Member

networm commented Aug 8, 2015

@sanddudu 解释完之后请 @ 我,然后合并入主干。

networm added a commit that referenced this pull request Aug 8, 2015
@networm networm merged commit a4035d7 into progit:master Aug 8, 2015
@networm
Copy link
Member

networm commented Aug 8, 2015

@sanddudu 已合并入主干。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants