Browse Source

chapter06: Auto-translate kbd.xml

Xi Ruoyao 7 years ago
parent
commit
39393d766b
1 changed files with 10 additions and 10 deletions
  1. 10 10
      chapter06/kbd.xml

+ 10 - 10
chapter06/kbd.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"
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
   <!ENTITY % general-entities SYSTEM "../general.ent">
@@ -39,7 +39,7 @@
   </sect2>
   </sect2>
 
 
   <sect2 role="installation">
   <sect2 role="installation">
-    <title>Installation of Kbd</title>
+    <title>安装Kbd</title>
 
 
     <para>The behaviour of the Backspace and Delete keys is not consistent
     <para>The behaviour of the Backspace and Delete keys is not consistent
     across the keymaps in the Kbd package. The following patch fixes this
     across the keymaps in the Kbd package. The following patch fixes this
@@ -58,7 +58,7 @@
 <screen><userinput remap="pre">sed -i 's/\(RESIZECONS_PROGS=\)yes/\1no/g' configure
 <screen><userinput remap="pre">sed -i 's/\(RESIZECONS_PROGS=\)yes/\1no/g' configure
 sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in</userinput></screen>
 sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in</userinput></screen>
 
 
-    <para>Prepare Kbd for compilation:</para>
+    <para>准备安装 Kbd:</para>
 
 
 <screen><userinput remap="configure">PKG_CONFIG_PATH=/tools/lib/pkgconfig ./configure --prefix=/usr --disable-vlock</userinput></screen>
 <screen><userinput remap="configure">PKG_CONFIG_PATH=/tools/lib/pkgconfig ./configure --prefix=/usr --disable-vlock</userinput></screen>
 
 
@@ -85,15 +85,15 @@ sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in</userinput></screen>
 
 
     </variablelist>
     </variablelist>
 
 
-    <para>Compile the package:</para>
+    <para>编译该软件包:</para>
 
 
 <screen><userinput remap="make">make</userinput></screen>
 <screen><userinput remap="make">make</userinput></screen>
 
 
-    <para>To test the results, issue:</para>
+    <para>运行下列命令以测试编译结果:</para>
 
 
 <screen><userinput remap="test">make check</userinput></screen>
 <screen><userinput remap="test">make check</userinput></screen>
 
 
-    <para>Install the package:</para>
+    <para>安装该软件包:</para>
 
 
 <screen><userinput remap="install">make install</userinput></screen>
 <screen><userinput remap="install">make install</userinput></screen>
 
 
@@ -122,11 +122,11 @@ cp -R -v docs/doc/* /usr/share/doc/kbd-&kbd-version;</userinput></screen>
   </sect2>
   </sect2>
 
 
   <sect2 id="contents-kbd" role="content">
   <sect2 id="contents-kbd" role="content">
-    <title>Contents of Kbd</title>
+    <title>Kbd 的内容</title>
 
 
     <segmentedlist>
     <segmentedlist>
-      <segtitle>Installed programs</segtitle>
-      <segtitle>Installed directories</segtitle>
+      <segtitle>安装的程序</segtitle>
+      <segtitle>安装的目录</segtitle>
 
 
       <seglistitem>
       <seglistitem>
         <seg>chvt, deallocvt, dumpkeys, fgconsole, getkeycodes, kbdinfo,
         <seg>chvt, deallocvt, dumpkeys, fgconsole, getkeycodes, kbdinfo,
@@ -141,7 +141,7 @@ cp -R -v docs/doc/* /usr/share/doc/kbd-&kbd-version;</userinput></screen>
     </segmentedlist>
     </segmentedlist>
 
 
     <variablelist>
     <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <bridgehead renderas="sect3">简要描述</bridgehead>
       <?dbfo list-presentation="list"?>
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>
       <?dbhtml list-presentation="table"?>