[svnbook] r5839 committed - branches/1.8/zh/book/ch07-customizing-svn.xml

wuzhouhui at users.sourceforge.net wuzhouhui at users.sourceforge.net
Sun Dec 2 01:01:37 CST 2018


Revision: 5839
          http://sourceforge.net/p/svnbook/source/5839
Author:   wuzhouhui
Date:     2018-12-02 07:01:34 +0000 (Sun, 02 Dec 2018)
Log Message:
-----------
1.8/zh: translation of chapter 7 in progress

Modified Paths:
--------------
    branches/1.8/zh/book/ch07-customizing-svn.xml

Modified: branches/1.8/zh/book/ch07-customizing-svn.xml
===================================================================
--- branches/1.8/zh/book/ch07-customizing-svn.xml	2018-12-02 02:48:08 UTC (rev 5838)
+++ branches/1.8/zh/book/ch07-customizing-svn.xml	2018-12-02 07:01:34 UTC (rev 5839)
@@ -310,6 +310,7 @@
         </listitem>
       </orderedlist>
 
+      <!--
       <para>Also, the Windows Registry doesn't really support the
         notion of something being <quote>commented out.</quote>
         However, Subversion will ignore any option key whose name
@@ -317,7 +318,13 @@
         allows you to effectively comment out a Subversion option
         without deleting the entire key from the Registry, obviously
         simplifying the process of restoring that option.</para>
+      -->
+      <para>Windows 系统注册表实际上不支持用于注释的记号, 但 Subversion
+        自己会忽略所有名字以井号 (<literal>#</literal>) 开始的键, 在效果上
+        等价于把选项注释掉, 这就避免了用户仅仅为了删除选项而把对应的键从注册
+        表中删除, 也简化了恢复选项的操作.</para>
 
+      <!--
       <para>The <command>svn</command> command-line client never
         attempts to write to the Windows Registry and will not attempt
         to create a default configuration area there.  You can create
@@ -328,9 +335,20 @@
         then double-click on that file's icon in the Explorer shell,
         which will cause the data to be merged into your
         Registry.</para>
+      -->
+      <para>客户端命令行工具 <command>svn</command> 从来不会修改 Windows
+        系统注册表, 也不会在首次运行时在注册表内创建默认配置, 用户需要自己
+        使用 Windows 工具 <command>REGEDIT</command> 创建所需的键. 另外, 用户
+        也可以创建一个 <filename>.reg</filename> 文件 (例如 <xref
+          linkend="svn.advanced.confarea.windows-registry.ex-1" /> 所展示的
+        那样), 然后在文件浏览器内双击该文件的图标, 这将导致文件内的数据被合并
+        到系统注册表内.</para>
 
       <example id="svn.advanced.confarea.windows-registry.ex-1">
+      <!--
         <title>Sample registration entries (.reg) file</title>
+      -->
+        <title>系统注册表项文件 (.reg) 的一个示例</title>
 
         <programlisting>
 REGEDIT4
@@ -387,6 +405,7 @@
 </programlisting>
       </example>
 
+      <!--
       <para><xref linkend="svn.advanced.confarea.windows-registry.ex-1"/>
         shows the contents of a <filename>.reg</filename> file, which
         contains some of the most commonly used configuration options
@@ -397,6 +416,13 @@
         You need only to remove the hash (<literal>#</literal>)
         character from the beginning of the option names and set the
         values as you desire.</para>
+      -->
+      <para><xref linkend="svn.advanced.confarea.windows-registry.ex-1"/>
+        展示了一个 <filename>.reg</filename> 文件, 文件内包含了最常用到的配置
+        选项以及它们的默认值. 注意, 文件同时包含了全局配置 (与网络代理相关的
+        选项) 与每用户配置 (例如编辑器和密码缓存等), 而且所有的选项都被注释了,
+        为了修改配置, 你只需要删除选项名前的井号 (<literal>#</literal>), 然后
+        再修改选项值.</para>
 
     </sect2>
 




More information about the svnbook-dev mailing list