浏览代码

chapter05: auto-translate patch.xml

Xi Ruoyao 7 年之前
父节点
当前提交
864b1ad85a
共有 1 个文件被更改,包括 12 次插入9 次删除
  1. 12 9
      chapter05/patch.xml

+ 12 - 9
chapter05/patch.xml

@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
   <!ENTITY % general-entities SYSTEM "../general.ent">
@@ -41,23 +41,26 @@
   </sect2>
   </sect2>
 
 
   <sect2 role="installation">
   <sect2 role="installation">
-    <title>Installation of Patch</title>
+    <title>安装 Patch</title>
 
 
-    <para>Prepare Patch for compilation:</para>
+    <para>准备编译 Patch:</para>
 
 
 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
 
 
-    <para>Compile the package:</para>
+    <para>编译该软件包:</para>
 
 
 <screen><userinput remap="make">make</userinput></screen>
 <screen><userinput remap="make">make</userinput></screen>
 
 
-    <para>Compilation is now complete. As discussed earlier, running the test
+    <!--para>Compilation is now complete. As discussed earlier, running the test
     suite is not mandatory for the temporary tools here in this chapter. To run
     suite is not mandatory for the temporary tools here in this chapter. To run
-    the Patch test suite anyway, issue the following command:</para>
+    the Patch test suite anyway, issue the following command:</para-->
+<para>现在编译已经完成,正如前文所述,
+没有必要在本章中运行临时工具的测试套件。如果一定要运行 ???
+的测试套件,执行下列命令:</para>
 
 
 <screen><userinput remap="test">make check</userinput></screen>
 <screen><userinput remap="test">make check</userinput></screen>
 
 
-    <para>Install the package:</para>
+    <para>安装该软件包:</para>
 
 
 <screen><userinput remap="install">make install</userinput></screen>
 <screen><userinput remap="install">make install</userinput></screen>
 
 
@@ -66,8 +69,8 @@
   <sect2 role="content">
   <sect2 role="content">
     <title/>
     <title/>
 
 
-    <para>Details on this package are located in
-    <xref linkend="contents-patch" role="."/></para>
+    <para>该软件包的详细信息可以在
+    <xref linkend="contents-patch"/> 中找到。</para>
 
 
   </sect2>
   </sect2>