1
0
Эх сурвалжийг харах

chapter06: Auto-translate expat.xml

Xi Ruoyao 7 жил өмнө
parent
commit
76a0463181
1 өөрчлөгдсөн 11 нэмэгдсэн , 11 устгасан
  1. 11 11
      chapter06/expat.xml

+ 11 - 11
chapter06/expat.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"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
@@ -39,25 +39,25 @@
   </sect2>
 
   <sect2 role="installation">
-    <title>Installation of Expat</title>
+    <title>安装Expat</title>
 
     <para>First fix a problem with the regession tests in the LFS environment:</para>
 
 <screen><userinput remap="pre">sed -i 's|usr/bin/env |bin/|' run.sh.in</userinput></screen>
 
-    <para>Prepare Expat for compilation:</para>
+    <para>准备安装 Expat:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr --disable-static</userinput></screen>
 
-    <para>Compile the package:</para>
+    <para>编译该软件包:</para>
 
 <screen><userinput remap="make">make</userinput></screen>
 
-    <para>To test the results, issue:</para>
+    <para>运行下列命令以测试编译结果:</para>
 
 <screen><userinput remap="test">make check</userinput></screen>
 
-    <para>Install the package:</para>
+    <para>安装该软件包:</para>
 
 <screen><userinput remap="install">make install</userinput></screen>
 
@@ -69,12 +69,12 @@ install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-&expat-version;</user
   </sect2>
 
   <sect2 id="contents-expat" role="content">
-    <title>Contents of Expat</title>
+    <title>Expat 的内容</title>
 
     <segmentedlist>
-      <segtitle>Installed program</segtitle>
-      <segtitle>Installed libraries</segtitle>
-      <segtitle>Installed directory</segtitle>
+      <segtitle>安装的程序</segtitle>
+      <segtitle>安装的库</segtitle>
+      <segtitle>安装的目录</segtitle>
 
       <seglistitem>
         <seg>xmlwf</seg>
@@ -84,7 +84,7 @@ install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-&expat-version;</user
     </segmentedlist>
 
     <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <bridgehead renderas="sect3">简要描述</bridgehead>
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>