ソースを参照

chapter06: Auto-translate attr.xml

Xi Ruoyao 7 年 前
コミット
e65503a10d
1 ファイル変更11 行追加11 行削除
  1. 11 11
      chapter06/attr.xml

+ 11 - 11
chapter06/attr.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">
@@ -39,7 +39,7 @@
   </sect2>
 
   <sect2 role="installation">
-    <title>Installation of Attr</title>
+    <title>安装Attr</title>
 
     <para>Modify the documentation directory so that it is a versioned
     directory:</para>
@@ -55,7 +55,7 @@
 
 <screen><userinput remap="pre">sed -i 's:{(:\\{(:' test/run</userinput></screen>
 
-    <para>Prepare Attr for compilation:</para>
+    <para>准备安装 Attr:</para>
 
 <screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr \
             --bindir=/bin \
@@ -64,18 +64,18 @@
 <screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr \
             --disable-static</userinput></screen>
 
-    <para>Compile the package:</para>
+    <para>编译该软件包:</para>
 
 <screen><userinput remap="make">make</userinput></screen>
 
     <para>The tests need to be run on a filesystem that supports extended
     attributes such as the ext2, ext3, or ext4 filesystems. The tests are also
     known to fail if running multiple simultaneous tests (-j option greater than
-    1).  To test the results, issue:</para>
+    1).  运行下列命令以测试编译结果:</para>
 
 <screen><userinput remap="test">make -j1 tests root-tests</userinput></screen>
 
-    <para>Install the package:</para>
+    <para>安装该软件包:</para>
 
 <screen><userinput remap="install">make install install-dev install-lib
 chmod -v 755 /usr/lib/libattr.so</userinput></screen>
@@ -91,12 +91,12 @@ ln -sfv ../../lib/$(readlink /usr/lib/libattr.so) /usr/lib/libattr.so</userinput
   </sect2>
 
   <sect2 id="contents-attr" role="content">
-    <title>Contents of Attr</title>
+    <title>Attr 的内容</title>
 
     <segmentedlist>
-      <segtitle>Installed programs</segtitle>
-      <segtitle>Installed library</segtitle>
-      <segtitle>Installed directories</segtitle>
+      <segtitle>安装的程序</segtitle>
+      <segtitle>安装的库</segtitle>
+      <segtitle>安装的目录</segtitle>
 
       <seglistitem>
         <seg>attr, getfattr, and setattr</seg>
@@ -106,7 +106,7 @@ ln -sfv ../../lib/$(readlink /usr/lib/libattr.so) /usr/lib/libattr.so</userinput
     </segmentedlist>
 
     <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <bridgehead renderas="sect3">简要描述</bridgehead>
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>