浏览代码

chapter06: Auto-translate eudev.xml

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

+ 11 - 11
chapter06/eudev.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">
@@ -38,7 +38,7 @@
   </sect2>
   </sect2>
 
 
   <sect2 role="installation">
   <sect2 role="installation">
-    <title>Installation of Eudev</title>
+    <title>安装Eudev</title>
 
 
     <para>First, fix a test script:</para>
     <para>First, fix a test script:</para>
 
 
@@ -57,7 +57,7 @@ BLKID_LIBS="-lblkid"
 BLKID_CFLAGS="-I/tools/include"
 BLKID_CFLAGS="-I/tools/include"
 EOF</userinput></screen>
 EOF</userinput></screen>
 
 
-<para>Prepare Eudev for compilation:</para>
+<para>准备安装 Eudev:</para>
 
 
 <screen><userinput remap="configure">./configure --prefix=/usr           \
 <screen><userinput remap="configure">./configure --prefix=/usr           \
             --bindir=/sbin          \
             --bindir=/sbin          \
@@ -71,7 +71,7 @@ EOF</userinput></screen>
             --disable-static        \
             --disable-static        \
             --config-cache</userinput></screen>
             --config-cache</userinput></screen>
 
 
-<para>Compile the package:</para>
+<para>编译该软件包:</para>
 
 
 <screen><userinput remap="make">LIBRARY_PATH=/tools/lib make</userinput></screen>
 <screen><userinput remap="make">LIBRARY_PATH=/tools/lib make</userinput></screen>
 
 
@@ -87,11 +87,11 @@ will also be used as a part of installation:</para>
 <screen><userinput remap="test">mkdir -pv /lib/udev/rules.d
 <screen><userinput remap="test">mkdir -pv /lib/udev/rules.d
 mkdir -pv /etc/udev/rules.d</userinput></screen>
 mkdir -pv /etc/udev/rules.d</userinput></screen>
 
 
-<para>To test the results, issue:</para>
+<para>运行下列命令以测试编译结果:</para>
 
 
 <screen><userinput remap="test">make LD_LIBRARY_PATH=/tools/lib check</userinput></screen>
 <screen><userinput remap="test">make LD_LIBRARY_PATH=/tools/lib check</userinput></screen>
 
 
-    <para>Install the package:</para>
+    <para>安装该软件包:</para>
 
 
 <screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen>
 <screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen>
 
 
@@ -130,12 +130,12 @@ make -f &udev-lfs-version;/Makefile.lfs install</userinput></screen>
   </sect2>
   </sect2>
 
 
   <sect2 id="contents-eudev" role="content">
   <sect2 id="contents-eudev" role="content">
-    <title>Contents of Eudev</title>
+    <title>Eudev 的内容</title>
 
 
     <segmentedlist>
     <segmentedlist>
-      <segtitle>Installed programs</segtitle>
-      <segtitle>Installed libraries</segtitle>
-      <segtitle>Installed directories</segtitle>
+      <segtitle>安装的程序</segtitle>
+      <segtitle>安装的库</segtitle>
+      <segtitle>安装的目录</segtitle>
 
 
       <seglistitem>
       <seglistitem>
         <seg><!-- These are in /lib/udev and not to be called by the user:
         <seg><!-- These are in /lib/udev and not to be called by the user:
@@ -149,7 +149,7 @@ make -f &udev-lfs-version;/Makefile.lfs install</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"?>
       <varlistentry id="udevadm" revision="sysv">
       <varlistentry id="udevadm" revision="sysv">