Browse Source

chapter05: auto-translate file.xml

Xi Ruoyao 7 years ago
parent
commit
67d026712f
1 changed files with 12 additions and 9 deletions
  1. 12 9
      chapter05/file.xml

+ 12 - 9
chapter05/file.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 File</title>
+    <title>安装 File</title>
 
 
-    <para>Prepare File for compilation:</para>
+    <para>准备编译 File:</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 File test suite anyway, issue the following command:</para>
+    the File 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-file" role="."/></para>
+    <para>该软件包的详细信息可以在
+    <xref linkend="contents-file"/> 中找到。</para>
 
 
   </sect2>
   </sect2>