浏览代码

chapter06: Auto-translate db.xml

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

+ 9 - 9
chapter06/db.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">
@@ -59,14 +59,14 @@
   </sect2>
 
   <sect2 role="installation">
-    <title>Installation of Berkeley DB</title>
+    <title>安装Berkeley DB</title>
 
     <para>Apply an upstream patch so that replication clients can open a
     sequence:</para>
 
 <screen><userinput remap="pre">patch -Np1 -i ../&db-fixes-patch;</userinput></screen>
 
-    <para>Prepare Berkeley DB for compilation:</para>
+    <para>准备安装 Berkeley DB:</para>
 
 <screen><userinput remap="configure">cd build_unix
 ../dist/configure --prefix=/usr --enable-compat185 --enable-cxx</userinput></screen>
@@ -91,7 +91,7 @@
 
     </variablelist>
 
-    <para>Compile the package:</para>
+    <para>编译该软件包:</para>
 
 <screen><userinput remap="make">make</userinput></screen>
 
@@ -101,7 +101,7 @@
     <filename class="directory">/tools</filename>, not against Glibc in
     <filename class="directory">/usr</filename>.</para>
 
-    <para>Install the package:</para>
+    <para>安装该软件包:</para>
 
 <screen><userinput remap="install">make docdir=/usr/share/doc/db-&db-version; install</userinput></screen>
 
@@ -125,11 +125,11 @@
   </sect2>
 
   <sect2 id="contents-db" role="content">
-    <title>Contents of Berkeley DB</title>
+    <title>Berkeley DB 的内容</title>
 
     <segmentedlist>
-      <segtitle>Installed programs</segtitle>
-      <segtitle>Installed libraries</segtitle>
+      <segtitle>安装的程序</segtitle>
+      <segtitle>安装的库</segtitle>
 
       <seglistitem>
         <seg>db_archive, db_checkpoint, db_codegen, db_deadlock, db_dump,
@@ -140,7 +140,7 @@
     </segmentedlist>
 
     <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <bridgehead renderas="sect3">简要描述</bridgehead>
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>