Browse Source

chapter06: Auto-translate sed.xml

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

+ 9 - 9
chapter06/sed.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">
@@ -38,14 +38,14 @@
   </sect2>
 
   <sect2 role="installation">
-    <title>Installation of Sed</title>
+    <title>安装Sed</title>
 
     <para>First fix an issue in the LFS environment and remove a failing test:</para>
 
 <screen><userinput remap="pre">sed -i 's/usr/tools/'                 build-aux/help2man
 sed -i 's/testsuite.panic-tests.sh//' Makefile.in</userinput></screen>
 
-    <para>Prepare Sed for compilation:</para>
+    <para>准备安装 Sed:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin</userinput></screen>
 <!--
@@ -60,12 +60,12 @@ sed -i 's/testsuite.panic-tests.sh//' Makefile.in</userinput></screen>
       </varlistentry>
     </variablelist>
 -->
-    <para>Compile the package and generate the HTML documentation:</para>
+    <para>编译该软件包,并生成 HTML 文档:</para>
 
 <screen><userinput remap="make">make
 make html</userinput></screen>
 
-    <para>To test the results, issue:</para>
+    <para>运行下列命令以测试编译结果:</para>
 
 <screen><userinput remap="test">make check</userinput></screen>
 
@@ -78,11 +78,11 @@ install -m644 doc/sed.html /usr/share/doc/sed-&sed-version;</userinput></screen>
   </sect2>
 
   <sect2 id="contents-sed" role="content">
-    <title>Contents of Sed</title>
+    <title>Sed 的内容</title>
 
     <segmentedlist>
-      <segtitle>Installed program</segtitle>
-      <segtitle>Installed directory</segtitle>
+      <segtitle>安装的程序</segtitle>
+      <segtitle>安装的目录</segtitle>
 
       <seglistitem>
         <seg>sed</seg>
@@ -91,7 +91,7 @@ install -m644 doc/sed.html /usr/share/doc/sed-&sed-version;</userinput></screen>
     </segmentedlist>
 
     <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <bridgehead renderas="sect3">简要描述</bridgehead>
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>