Browse Source

chapter06: Auto-translate popt.xml

Xi Ruoyao 7 years ago
parent
commit
ed602b8f99
1 changed files with 9 additions and 9 deletions
  1. 9 9
      chapter06/popt.xml

+ 9 - 9
chapter06/popt.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,21 +39,21 @@
   </sect2>
 
   <sect2 role="installation">
-    <title>Installation of Popt</title>
+    <title>安装Popt</title>
 
-    <para>Prepare Popt4 for compilation:</para>
+    <para>准备安装 Popt4:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr</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>
 
@@ -61,10 +61,10 @@
 
 
   <sect2 id="contents-popt" role="content">
-    <title>Contents of Popt</title>
+    <title>Popt 的内容</title>
 
     <segmentedlist>
-      <segtitle>Installed libraries:</segtitle>
+      <segtitle>安装的库:</segtitle>
 
       <seglistitem>
         <seg>libpopt.{a,so}</seg>
@@ -72,7 +72,7 @@
     </segmentedlist>
 
     <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <bridgehead renderas="sect3">简要描述</bridgehead>
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>