aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorvifly <hellovifly@outlook.com>2019-11-20 18:11:46 +0800
committervifly <hellovifly@outlook.com>2019-11-20 18:11:46 +0800
commit2ae60a3f8df28887cc3bfbf49251c2a47020f716 (patch)
tree42592df3a3dde5427f13ebf10b94bc67141281ad /chinese
parent0fb557ebac982b2189f4b34fa3cc91da0c2814f8 (diff)
fix spaces
Diffstat (limited to 'chinese')
-rw-r--r--chinese/devel/website/using_git.wml28
1 files changed, 14 insertions, 14 deletions
diff --git a/chinese/devel/website/using_git.wml b/chinese/devel/website/using_git.wml
index d9b5f41f737..3609b15df6f 100644
--- a/chinese/devel/website/using_git.wml
+++ b/chinese/devel/website/using_git.wml
@@ -15,12 +15,12 @@
<h3><a name="write-access">Git 存储库写入权限</a></h3>
-<p>整个 Debian 网站源代码都使用 Git 管理。它位于<url https://salsa.debian.org/webmaster-team/webwml/>。\
+<p>整个 Debian 网站源代码都使用 Git 管理。它位于 <url https://salsa.debian.org/webmaster-team/webwml/>。\
默认情况下,不允许访客推送自己的提交到源代码存储库中。您需要一些许可才能获得对存储库的写入权。</p>
<h4><a name="write-access-unlimited">不受限制的写入权限</a></h4>
-<p>如果您需要对存储库的不受限制的写入权限(例如,您打算成为频繁提交的贡献者),请考虑通过\
+<p>如果您需要对存储库的不受限制的写入权限(例如,您打算成为频繁提交的贡献者),请考虑通过 \
<url https://salsa.debian.org/webmaster-team/webwml/>网页登录到 Debian Salsa 平台后请求写入\
权限。</p>
@@ -36,7 +36,7 @@ debian-www@lists.debian.org</a>。请考虑在自我介绍中提供一些有用
合并请求。</p>
<p>并不是所有的网站开发人员都随时查看合并请求,因此他们不一定总是及时处理。如果您不确定所作的\
-贡献是否会被接受,请发送电子邮件至<a href="https://lists.debian.org/debian-www/">debian-www</a>\
+贡献是否会被接受,请发送电子邮件至<a href="https://lists.debian.org/debian-www/"> debian-www </a>\
邮件列表请求核查。</p>
<h2><a name="work-on-repository">使用存储库开展工作</a></h2>
@@ -49,7 +49,7 @@ debian-www@lists.debian.org</a>。请考虑在自我介绍中提供一些有用
<p>建议使用 webwml 的方法是先在 salsa.debian.org 上注册一个帐户,并通过将 SSH 公钥上传到您的 salsa 帐户\
来启用 git SSH 访问。有关如何执行此操作的更多详细信息,请参见<a
-href="https://salsa.debian.org/help/ssh/README.md">salsa 帮助页面</a>。然后,您可以使用以下命令\
+href="https://salsa.debian.org/help/ssh/README.md"> salsa 帮助页面</a>。然后,您可以使用以下命令\
克隆 webwml 存储库:</p>
<pre>
@@ -110,7 +110,7 @@ href="https://salsa.debian.org/help/ssh/README.md">salsa 帮助页面</a>。然
<p>以从存储库中获取已被更改的文件。</p>
<p>强烈建议在执行“git pull”和进行编辑工作之前保持本地 git 工作目录的干净。如果您有\
-未提交的更改或当前分支的远程存储库中不存在的本地提交,则执行“ git pull”将会自动\
+未提交的更改或当前分支的远程存储库中不存在的本地提交,则执行“git pull”将会自动\
创建合并提交,甚至会由于冲突而导致拉取失败。请考虑将未完成的工作保存在另一个分支\
中,或使用“git stash”之类的命令。</p>
@@ -148,13 +148,13 @@ href="https://salsa.debian.org/help/ssh/README.md">salsa 帮助页面</a>。然
### FIXME: Is the following still true? holgerw
### FIXME: Seems not true anymore. Needs fixup. -- byang
-<h4><a name="closing-debian-bug-in-git-commits">在git 提交中关闭Debian的错误</a></h4>
+<h4><a name="closing-debian-bug-in-git-commits">在 git 提交中关闭 Debian 的错误</a></h4>
<p>如果您的提交日志条目中包含<code>Closes: #</code><var>nnnnnn</var>,那么在您推送\
您的更改后,错误编号<code>#</code><var>nnnnnn</var>将会被自动关闭。精确的形式与
<a href="$(DOC)/debian-policy/ch-source.html#id24">Debian 政策</a>相同。</p>
-<h4><a name="links-using-http-https">使用HTTP/HTTPS链接</a></h4>
+<h4><a name="links-using-http-https">使用 HTTP/HTTPS 链接</a></h4>
<p>许多 Debian 网站都支持 SSL/TLS,因此请尽可能使用 HTTPS 链接。<strong>但是</strong>,\
某些 Debian/DebConf/SPI 等网站要么不具有 HTTPS 支持,要么仅使用 SPI 数字证书认证机构\
@@ -167,7 +167,7 @@ href="https://salsa.debian.org/help/ssh/README.md">salsa 帮助页面</a>。然
<h3><a name="translation-work">翻译工作</a></h3>
<p>翻译应始终与相对应的英文文件一样保持最新。翻译文件中的“translation-check”头用于\
-跟踪当前翻译所基于的英语文件版本。如果您更改了已翻译的文件,则需要更新\
+跟踪当前翻译所基于的英语文件版本。如果您更改了已翻译的文件,则需要更新 \
translation-check 头以匹配英语文件中相应更改的 git 提交哈希值。您可以使用以下方式找到\
该哈希值</p>
@@ -178,12 +178,12 @@ $ git log path/to/english/file
<p>如果您要对一个文件新建翻译,请使用<q>copypage.pl</q>脚本,它将为您的语言创建一个\
模板,该模板包含了正确的翻译头。</p>
-<h4><a name="translation-smart-change">使用smart_change.pl进行翻译修改</a></h4>
+<h4><a name="translation-smart-change">使用 smart_change.pl 进行翻译修改</a></h4>
-<p><code>smart_change.pl</code>是一个脚本,旨在令一起更新原始文件及其翻译更为容易。\
+<p><code>smart_change.pl </code>是一个脚本,旨在令一起更新原始文件及其翻译更为容易。\
有两种方法供您使用,选择哪种取决于您进行的更改。</p>
-<p>当您在手动更改文件时使用<code>smart_change</code>更新 translation-check 头:</p>
+<p>当您在手动更改文件时使用<code> smart_change </code>更新 translation-check 头:</p>
<ol>
<li>对原始文件进行更改,然后提交</li>
@@ -196,10 +196,10 @@ $ git log path/to/english/file
<p>或者,如果您要使用带有正则表达式的 smart_change 来一次性对文件进行多个更改:</p>
<ol>
- <li>运行<code>smart_change.pl -s s/FOO/BAR/ origfile1 origfile2 ...</code></li>
+ <li>运行<code> smart_change.pl -s s/FOO/BAR/ origfile1 origfile2 ...</code></li>
<li>查看更改(例如,使用<code>git diff</code>)
<li>提交原始文件</li>
- <li>运行<code>smart_change.pl origfile1 origfile2</code>
+ <li>运行<code> smart_change.pl origfile1 origfile2</code>
(即,这次<strong>没有正则表达式</strong>);它现在只会更新已翻译文件的头</li>
<li>最后,提交翻译更改</li>
</ol>
@@ -219,7 +219,7 @@ $ git log path/to/english/file
<ul>
<li>打开网页浏览器并访问 <url https://tracker.debian.org/pkg/www.debian.org></li>
- <li>订阅<q>www.debian.org</q>伪软件包。(如果您尚未在其它情况下使用过 tracker.debian.org\
+ <li>订阅<q>www.debian.org</q>伪软件包。(如果您尚未在其它情况下使用过 tracker.debian.org\
,则可以使用 SSO 通过验证或设置电子邮件和密码以进行注册)。</li>
<li>跳转到<url https://tracker.debian.org/accounts/subscriptions/>,然后<q>修改关键字</q>\
, 选中 <q>vcs</q>(如果其未被选中)并保存。</li>

© 2014-2024 Faster IT GmbH | imprint | privacy policy