浏览代码

chapter06: Auto-translate python.xml

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

+ 7 - 7
chapter06/python.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 Python 3</title>
+    <title>安装Python 3</title>
 
-    <para>Prepare Python for compilation:</para>
+    <para>准备安装 Python:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr       \
             --enable-shared     \
@@ -79,14 +79,14 @@
 
     </variablelist>
 
-    <para>Compile the package:</para>
+    <para>编译该软件包:</para>
 
 <screen><userinput remap="make">make</userinput></screen>
 
     <para>The test suite requires TK and and X Windows session and cannot
     be run until Python 3 is reinstalled in BLFS.</para>
 
-    <para>Install the package:</para>
+    <para>安装该软件包:</para>
 
 <screen><userinput remap="install">make install
 chmod -v 755 /usr/lib/libpython3.6m.so
@@ -133,7 +133,7 @@ tar --strip-components=1  \
   </sect2>
 
   <sect2 id="contents-python" role="content">
-    <title>Contents of Python 3</title>
+    <title>Python 3 的内容</title>
 
     <segmentedlist>
       <segtitle>Installed Programs</segtitle>
@@ -155,7 +155,7 @@ tar --strip-components=1  \
     </segmentedlist>
 
     <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <bridgehead renderas="sect3">简要描述</bridgehead>
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>