Ver código fonte

chapter06: Auto-translate findutils.xml

Xi Ruoyao 7 anos atrás
pai
commit
6eebeb9934
1 arquivos alterados com 9 adições e 9 exclusões
  1. 9 9
      chapter06/findutils.xml

+ 9 - 9
chapter06/findutils.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">
@@ -41,7 +41,7 @@
   </sect2>
 
   <sect2 role="installation">
-    <title>Installation of Findutils</title>
+    <title>安装Findutils</title>
 
    <!-- this has been fixed in upstream gnulib, when a new version of
    findutils is released, please check #4055 to see if the change has been
@@ -50,7 +50,7 @@
 
 <screen><userinput remap="pre">sed -i 's/test-lock..EXEEXT.//' tests/Makefile.in</userinput></screen>
 
-    <para>Prepare Findutils for compilation:</para>
+    <para>准备安装 Findutils:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr --localstatedir=/var/lib/locate</userinput></screen>
 
@@ -68,15 +68,15 @@
 
     </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,10 +97,10 @@ sed -i 's|find:=${BINDIR}|find:=/bin|' /usr/bin/updatedb</userinput></screen>
   </sect2>
 
   <sect2 id="contents-findutils" role="content">
-    <title>Contents of Findutils</title>
+    <title>Findutils 的内容</title>
 
     <segmentedlist>
-      <segtitle>Installed programs</segtitle>
+      <segtitle>安装的程序</segtitle>
 
       <seglistitem>
         <seg>code, find, locate, oldfind, updatedb, and xargs</seg>
@@ -108,7 +108,7 @@ sed -i 's|find:=${BINDIR}|find:=/bin|' /usr/bin/updatedb</userinput></screen>
     </segmentedlist>
 
     <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <bridgehead renderas="sect3">简要描述</bridgehead>
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>