Browse Source

chapter06: Auto-translate openssl.xml

Xi Ruoyao 7 years ago
parent
commit
99446b60d5
1 changed files with 11 additions and 11 deletions
  1. 11 11
      chapter06/openssl.xml

+ 11 - 11
chapter06/openssl.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,9 +41,9 @@
   </sect2>
 
   <sect2 role="installation">
-    <title>Installation of OpenSSL</title>
+    <title>安装OpenSSL</title>
 
-    <para>Prepare OpenSSL for compilation:</para>
+    <para>准备安装 OpenSSL:</para>
 
 <screen><userinput remap="configure">./config --prefix=/usr         \
          --openssldir=/etc/ssl \
@@ -51,18 +51,18 @@
          shared                \
          zlib-dynamic</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 test</userinput></screen>
 
     <para>One subtest in the test 40-test_rehash.t fails in the lfs chroot 
     environment, but passes when run as a regular user.</para>
 
-    <para>Install the package:</para>
+    <para>安装该软件包:</para>
 
 <screen><userinput remap="install">sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile
 make MANSUFFIX=ssl install</userinput></screen>
@@ -75,12 +75,12 @@ cp -vfr doc/* /usr/share/doc/openssl-&openssl-version;</userinput></screen>
   </sect2>
 
   <sect2 id="contents-openssl" role="content">
-    <title>Contents of OpenSSL</title>
+    <title>OpenSSL 的内容</title>
 
     <segmentedlist>
-      <segtitle>Installed programs</segtitle>
-      <segtitle>Installed libraries</segtitle>
-      <segtitle>Installed directories</segtitle>
+      <segtitle>安装的程序</segtitle>
+      <segtitle>安装的库</segtitle>
+      <segtitle>安装的目录</segtitle>
 
       <seglistitem>
         <seg>
@@ -99,7 +99,7 @@ cp -vfr doc/* /usr/share/doc/openssl-&openssl-version;</userinput></screen>
     </segmentedlist>
 
     <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <bridgehead renderas="sect3">简要描述</bridgehead>
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>