浏览代码

chapter06: Auto-translate systemd.xml

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

+ 10 - 10
chapter06/systemd.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">
@@ -38,7 +38,7 @@
   </sect2>
 
   <sect2 role="installation">
-    <title>Installation of systemd</title>
+    <title>安装systemd</title>
 
     <para>Create a symlink to work around missing xsltproc:</para>
 
@@ -58,7 +58,7 @@
 
 <screen><userinput remap="pre">sed -i 's/GROUP="render", //' rules/50-udev-default.rules.in</userinput></screen>
 
-    <para>Prepare systemd for compilation:</para>
+    <para>准备安装 systemd:</para>
 
     <screen><userinput remap="configure">mkdir -p build
 cd       build
@@ -163,7 +163,7 @@ meson --prefix=/usr                \
 
     </variablelist>
 
-    <para>Compile the package:</para>
+    <para>编译该软件包:</para>
 
 <screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
 <!--
@@ -171,7 +171,7 @@ meson --prefix=/usr                \
 
 <screen><userinput remap="test">LANG=en_US.UTF-8 ninja test</userinput></screen>
 -->
-    <para>Install the package:</para>
+    <para>安装该软件包:</para>
 
 <screen><userinput remap="install">LANG=en_US.UTF-8 ninja install</userinput></screen>
 
@@ -209,12 +209,12 @@ chmod 755 /lib/systemd/systemd-user-sessions</userinput></screen>
   </sect2>
 
   <sect2 id="contents-systemd" role="content">
-    <title>Contents of systemd</title>
+    <title>systemd 的内容</title>
 
     <segmentedlist>
-      <segtitle>Installed programs</segtitle>
-      <segtitle>Installed libraries</segtitle>
-      <segtitle>Installed directories</segtitle>
+      <segtitle>安装的程序</segtitle>
+      <segtitle>安装的库</segtitle>
+      <segtitle>安装的目录</segtitle>
 
       <seglistitem>
         <seg>bootctl, busctl, coredumpctl, halt, hostnamectl, init, journalctl,
@@ -242,7 +242,7 @@ chmod 755 /lib/systemd/systemd-user-sessions</userinput></screen>
     </segmentedlist>
 
     <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <bridgehead renderas="sect3">简要描述</bridgehead>
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>