Pārlūkot izejas kodu

chapter06: Auto-translate pcre.xml

Xi Ruoyao 7 gadi atpakaļ
vecāks
revīzija
4afb9de8f6
1 mainītis faili ar 11 papildinājumiem un 11 dzēšanām
  1. 11 11
      chapter06/pcre.xml

+ 11 - 11
chapter06/pcre.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">
@@ -40,9 +40,9 @@
   </sect2>
 
   <sect2 role="installation">
-    <title>Installation of PCRE</title>
+    <title>安装PCRE</title>
 
-    <para>Prepare PCRE for compilation:</para>
+    <para>准备安装 PCRE:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr \
             --docdir=/usr/share/doc/pcre-&pcre-version; \
@@ -76,15 +76,15 @@
       </varlistentry>
     </variablelist>
 
-    <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>
 
@@ -97,12 +97,12 @@ ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</userinput></screen>
   </sect2>
 
   <sect2 id="contents-pcre" role="content">
-    <title>Contents of PCRE</title>
+    <title>PCRE 的内容</title>
 
     <segmentedlist>
-      <segtitle>Installed programs</segtitle>
-      <segtitle>Installed libraries</segtitle>
-      <segtitle>Installed directories</segtitle>
+      <segtitle>安装的程序</segtitle>
+      <segtitle>安装的库</segtitle>
+      <segtitle>安装的目录</segtitle>
 
       <seglistitem>
         <seg>pcregrep, pcretest, and pcre-config</seg>
@@ -112,7 +112,7 @@ ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</userinput></screen>
     </segmentedlist>
 
     <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <bridgehead renderas="sect3">简要描述</bridgehead>
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>