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

wuzhouhui at users.sourceforge.net wuzhouhui at users.sourceforge.net
Thu Nov 29 00:52:27 CST 2018


Revision: 5836
          http://sourceforge.net/p/svnbook/source/5836
Author:   wuzhouhui
Date:     2018-11-29 06:52:26 +0000 (Thu, 29 Nov 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-11-29 06:51:44 UTC (rev 5835)
+++ branches/1.8/zh/book/ch07-customizing-svn.xml	2018-11-29 06:52:26 UTC (rev 5836)
@@ -1,8 +1,12 @@
 <!-- -*- sgml -*- -->
 
 <chapter id="svn.customization">
+      <!--
   <title>Customizing Your Subversion Experience</title>
+      -->
+  <title>定制你自己的 Subversion 体验</title>
 
+      <!--
   <para>Version control can be a complex subject, as much art as
     science, that offers myriad ways of getting stuff done.
     Throughout this book, you've read of the various Subversion
@@ -12,6 +16,11 @@
     Subversion runtime configuration, using external helper
     applications, Subversion's interaction with the operating system's
     configured locale, and so on.</para>
+      -->
+  <para>版本控制是一个很复杂的主题, 它提供了完成任务的无数种方法. 本书已经
+    介绍了 Subversion 命令行客户端的各个子命令, 以及它们各自的子项, 本章将
+    介绍更多的定制 Subversion 的方法, 包括 Subversion 运行时配置, 外部程序,
+    Subversion 与操作系统本地化的交互等.</para>
 
   <!-- TODO(cmpilato): Gut the runtime config stuff like I did the
        property stuff, making larger topical sections to which the
@@ -23,8 +32,12 @@
   <!-- ================================================================= -->
   <!-- ================================================================= -->
   <sect1 id="svn.advanced.confarea">
+      <!--
     <title>Runtime Configuration Area</title>
+      -->
+    <title>运行时配置区域</title>
     
+      <!--
     <para>Subversion provides many optional behaviors that the user can
       control.  Many of these options are of the kind
       that a user would wish to apply to all Subversion operations.
@@ -32,11 +45,25 @@
       for specifying these options and to use them for every
       operation they perform, Subversion uses configuration files,
       segregated into a Subversion configuration area.</para>
+      -->
+    <para>Subversion 为用户提供了许多可配置的行为, 有很多选项, 用户希望它们
+      能被应用到所有的 Subversion 操作中. 为了方便用户, Subversion 提供了配置
+      文件, 这些配置文件被单独地放在了 Subversion 配置区域, 这就避免了用户每
+      次都要在命令行上指定参数.</para>
 
     <para>
       <indexterm>
         <primary>runtime configuration</primary>
-      </indexterm>The Subversion <firstterm>runtime configuration
+        </indexterm>
+        Subversion <firstterm>运行时配置区域</firstterm> (
+        <firstterm>runtime configuration area</firstterm>) 是一个由选项名和
+        选项值组成的双层体系, 第一层是一个目录, 目录里包含了许多配置文件,每
+        个配置文件是 INI 格式的文本文件, 文件里的 <quote>节</quote> 是双层
+        体系的第二层. 用户可以使用任意一个文本编辑器 (例如 Emacs 或 vi) 编辑
+        这些配置文件, 文件里的配置指令将被客户端命令行工具读取, 用来指定客户
+        端命令行工具的行为.</para>
+      <!--
+        The Subversion <firstterm>runtime configuration
       area</firstterm> is a two-tiered hierarchy of option names and
       their values.  Usually, this boils down to a special directory
       that contains configuration files (the first tier), which are
@@ -46,16 +73,36 @@
       Emacs or vi), and they contain directives read by the client to
       determine which of several optional behaviors the user
       prefers.</para>
+      -->
 
     <!-- =============================================================== -->
     <sect2 id="svn.advanced.confarea.layout">
+      <!--
       <title>Configuration Area Layout</title>
+      -->
+      <title>配置区域的布局</title>
 
       <para>
         <indexterm>
           <primary>runtime configuration</primary>
           <secondary>per-user</secondary>
-        </indexterm>The first time the <command>svn</command> command-line
+        </indexterm>
+        客户端命令行工具 <command>svn</command> 第一次运行时, 它将创建一个
+        每用户配置区域. 在类 Unix 系统上, 每用户配置区域是一个在用户家目录下
+        的 <filename>.subversion</filename> 目录. 在 Win32 系统上, 配置区域是
+        一个名为 <filename>Subversion</filename> 的文件夹, 通常放在用户配置
+        文件目录 (通常是一个隐藏目录) 的 <filename>Application Data</filename>
+        区域内, 而 <filename>Application Data</filename> 的确切位置在每
+        个 Win32 系统上都不太一样, 它的确切位置由系统注册表 (Windows
+        Registry) 决定 <footnote><para>环境变量 <literal>APPDATA</literal> 的
+            值指出了 <filename>Application Data</filename> 区域的路径, 所以说
+            用户总是可以用 <filename>%APPDATA%\Subversion</filename> 引用
+            Subversion 每用户配置区域的路径.</para></footnote> 在后面的内容里,
+        我们将用 <filename>.subversion</filename> 指代 Subversion 的每用户
+        配置区域.</para>
+      <!--
+        ### TODO
+        The first time the <command>svn</command> command-line
         client is executed, it creates a per-user configuration area.
         On Unix-like systems, this area appears as a directory
         named <filename>.subversion</filename> in the user's home
@@ -71,6 +118,7 @@
         as <filename>%APPDATA%\Subversion</filename>.</para></footnote>
         We will refer to the per-user configuration area using its
         Unix name, <filename>.subversion</filename>.</para>
+      -->
 
       <para>
         <indexterm>




More information about the svnbook-dev mailing list