Browse Source

chapter05: auto-translate gettext.xml

Xi Ruoyao 7 years ago
parent
commit
aeafeb7ecf
1 changed files with 6 additions and 6 deletions
  1. 6 6
      chapter05/gettext.xml

+ 6 - 6
chapter05/gettext.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,12 +41,12 @@
   </sect2>
 
   <sect2 role="installation">
-    <title>Installation of Gettext</title>
+    <title>安装 Gettext</title>
 
     <para>For our temporary set of tools, we only need to build and install
     three programs from Gettext.</para>
 
-    <para>Prepare Gettext for compilation:</para>
+    <para>准备编译 Gettext:</para>
 
 <screen><userinput remap="configure">cd gettext-tools
 EMACS="no" ./configure --prefix=/tools --disable-shared</userinput></screen>
@@ -73,7 +73,7 @@ EMACS="no" ./configure --prefix=/tools --disable-shared</userinput></screen>
 
     </variablelist>
 
-    <para>Compile the package:</para>
+    <para>编译该软件包:</para>
 
 <screen><userinput remap="make">make -C gnulib-lib
 make -C intl pluralx.c
@@ -96,8 +96,8 @@ make -C src xgettext</userinput></screen>
   <sect2 role="content">
     <title/>
 
-    <para>Details on this package are located in
-    <xref linkend="contents-gettext" role="."/></para>
+    <para>该软件包的详细信息可以在
+    <xref linkend="contents-gettext"/> 中找到。</para>
 
   </sect2>