Forráskód Böngészése

Translate Chapter 5 Python-3 page

Xi Ruoyao 6 éve
szülő
commit
b8a313f5f3
1 módosított fájl, 9 hozzáadás és 9 törlés
  1. 9 9
      chapter05/python.xml

+ 9 - 9
chapter05/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">
@@ -41,21 +41,21 @@
   </sect2>
 
   <sect2 role="installation">
-    <title>Installation of Python</title>
+    <title>安装 Python</title>
 
-    <para>Prepare Python for compilation:</para>
+    <para>准备编译 Python:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/tools --with-ensurepip=no</userinput></screen>
 
-    <para>Compile the package:</para>
+    <para>编译该软件包:</para>
 
 <screen><userinput remap="make">make</userinput></screen>
 
-    <para>Compilation is now complete. The test suite requires TK and 
-    and X Windows and cannot be run at this time.
+    <para>现在编译已经完成,但测试套件需要 Tk 和 
+    X 窗口系统,现在不能运行。
     </para>
 
-    <para>Install the package:</para>
+    <para>安装该软件包:</para>
 
 <screen><userinput remap="install">make install</userinput></screen>
 
@@ -64,8 +64,8 @@
   <sect2 role="content">
     <title/>
 
-    <para>Details on this package are located in
-    <xref linkend="contents-python" role="."/></para>
+    <para>关于该软件包的详细信息可以在
+    <xref linkend="contents-python"/> 中找到。</para>
 
   </sect2>