Sfoglia il codice sorgente

chapter06: Translate patch instruction

Xi Ruoyao 7 anni fa
parent
commit
d7ad791c72
1 ha cambiato i file con 7 aggiunte e 8 eliminazioni
  1. 7 8
      chapter06/patch.xml

+ 7 - 8
chapter06/patch.xml

@@ -23,9 +23,8 @@
   <sect2 role="package">
     <title/>
 
-    <para>The Patch package contains a program for modifying or creating files
-    by applying a <quote>patch</quote> file typically created by the
-    <command>diff</command> program.</para>
+	<para>Patch 软件包包含通过应用一个通常由 <command>diff</command>
+		程序创建的 <quote>补丁</quote> 文件,修改或创建文件的程序。</para>
 
     <segmentedlist>
       <segtitle>&buildtime;</segtitle>
@@ -40,7 +39,7 @@
   </sect2>
 
   <sect2 role="installation">
-    <title>安装Patch</title>
+    <title>安装 Patch</title>
 
     <para>准备安装 Patch:</para>
 
@@ -79,10 +78,10 @@
       <varlistentry id="patch">
         <term><command>patch</command></term>
         <listitem>
-          <para>Modifies files according to a patch file [A patch file is
-          normally a difference listing created with the <command>diff</command>
-          program. By applying these differences to the original files,
-          <command>patch</command> creates the patched versions.]</para>
+          <para>根据补丁文件修改文件 [补丁文件一般是
+          使用 <command>diff</command> 程序创建的差异列表。
+          通过将这些差异应用到原始文件,
+          <command>patch</command> 即可创建应用补丁的文件版本。]</para>
           <indexterm zone="ch-system-patch patch">
             <primary sortas="b-patch">patch</primary>
           </indexterm>