Browse Source

chapter06: Auto-translate vim.xml

Xi Ruoyao 7 years ago
parent
commit
e3c597ca01
1 changed files with 10 additions and 10 deletions
  1. 10 10
      chapter06/vim.xml

+ 10 - 10
chapter06/vim.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">
@@ -47,7 +47,7 @@
   </sect2>
 
   <sect2 role="installation">
-    <title>Installation of Vim</title>
+    <title>安装Vim</title>
 
     <para>First, change the default location of the <filename>vimrc</filename>
     configuration file to <filename class="directory">/etc</filename>:</para>
@@ -58,15 +58,15 @@
 
 <screen><userinput remap="pre">sed -i '/call/{s/split/xsplit/;s/303/492/}' src/testdir/test_recover.vim</userinput></screen>
 
-    <para>Prepare Vim for compilation:</para>
+    <para>准备安装 Vim:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
 
-    <para>Compile the package:</para>
+    <para>编译该软件包:</para>
 
 <screen><userinput remap="make">make</userinput></screen>
 
-    <para>To test the results, issue:</para>
+    <para>运行下列命令以测试编译结果:</para>
 
 <screen><userinput remap="test">make -j1 test &amp;&gt; vim-test.log</userinput></screen>
 
@@ -76,7 +76,7 @@
     successful test will result in the words "ALL DONE" in the log file
     at completion.</para>
 
-    <para>Install the package:</para>
+    <para>安装该软件包:</para>
 
 <screen><userinput remap="install">make install</userinput></screen>
 
@@ -187,11 +187,11 @@ set spell</literal></screen>
   </sect2>
 
   <sect2 id="contents-vim" role="content">
-    <title>Contents of Vim</title>
+    <title>Vim 的内容</title>
 
     <segmentedlist>
-      <segtitle>Installed programs</segtitle>
-      <segtitle>Installed directory</segtitle>
+      <segtitle>安装的程序</segtitle>
+      <segtitle>安装的目录</segtitle>
 
       <seglistitem>
        <seg> ex (link to vim), rview (link to vim), rvim (link to vim), vi
@@ -202,7 +202,7 @@ set spell</literal></screen>
     </segmentedlist>
 
     <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <bridgehead renderas="sect3">简要描述</bridgehead>
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>