1
0
Prechádzať zdrojové kódy

chapter06: merge and update translation

Xℹ Ruoyao 5 rokov pred
rodič
commit
65c23c443a

+ 44 - 39
zh_CN/chapter06/bash.po

@@ -1,9 +1,3 @@
-# SOME DESCRIPTIVE TITLE
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
@@ -11,147 +5,158 @@ msgstr ""
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
+"Language: zh_CN\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Translate Toolkit 2.2.5\n"
 
 #. type: Content of: <sect1><sect1info><address>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:14
 #, no-wrap
 msgid "&bash-url;"
-msgstr ""
+msgstr "&bash-url;"
 
 #. type: Content of: <sect1><sect1info>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:12
 msgid ""
-"<productname>bash</productname> "
-"<productnumber>&bash-version;</productnumber> <placeholder type=\"address\" "
-"id=\"0\"/>"
+"<productname>bash</productname> <productnumber>&bash-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 msgstr ""
+"<productname>bash</productname> <productnumber>&bash-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 
 #. type: Content of: <sect1><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:17
 msgid "Bash-&bash-version;"
-msgstr ""
+msgstr "Bash-&bash-version;"
 
 #. type: Content of: <sect1><indexterm><primary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:20
 msgid "Bash"
-msgstr ""
+msgstr "Bash"
 
 #. type: Content of: <sect1><indexterm><secondary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:21
 msgid "tools"
-msgstr ""
+msgstr "tools"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:32
 msgid "&buildtime;"
-msgstr ""
+msgstr "&buildtime;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:33
 msgid "&diskspace;"
-msgstr ""
+msgstr "&diskspace;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:36
 msgid "&bash-tmp-sbu;"
-msgstr ""
+msgstr "&bash-tmp-sbu;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:37
 msgid "&bash-tmp-du;"
-msgstr ""
+msgstr "&bash-tmp-du;"
 
 #. type: Content of: <sect1><sect2><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:44
 msgid "Installation of Bash"
-msgstr ""
+msgstr "安装 Bash"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:46
 msgid "Prepare Bash for compilation:"
-msgstr ""
+msgstr "准备编译 Bash:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:48
 #, no-wrap
 msgid ""
-"<userinput remap=\"configure\">./configure --prefix=/usr                   "
-"\\\n"
+"<userinput remap=\"configure\">./configure --prefix=/usr                   \\\n"
 "            --build=$(support/config.guess) \\\n"
 "            --host=$LFS_TGT                 \\\n"
 "            --without-bash-malloc</userinput>"
 msgstr ""
+"<userinput remap=\"configure\">./configure --prefix=/usr                   \\\n"
+"            --build=$(support/config.guess) \\\n"
+"            --host=$LFS_TGT                 \\\n"
+"            --without-bash-malloc</userinput>"
 
 #. type: Content of: <sect1><sect2><variablelist><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:54
 msgid "The meaning of the configure options:"
-msgstr ""
+msgstr "配置选项的含义:"
 
 #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:57
 msgid "<parameter>--without-bash-malloc</parameter>"
-msgstr ""
+msgstr "<parameter>--without-bash-malloc</parameter>"
 
 #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:59
 msgid ""
-"This option turns off the use of Bash's memory allocation "
-"(<function>malloc</function>) function which is known to cause segmentation "
-"faults. By turning this option off, Bash will use the "
-"<function>malloc</function> functions from Glibc which are more stable."
+"This option turns off the use of Bash's memory allocation (<function>malloc</"
+"function>) function which is known to cause segmentation faults. By turning "
+"this option off, Bash will use the <function>malloc</function> functions "
+"from Glibc which are more stable."
 msgstr ""
+"该选项禁用 Bash 自己的内存分配 (<function>malloc</function>) 函数,因为已知"
+"它会导致段错误。这样,Bash 就会使用 Glibc 的更加稳定的 <function>malloc</"
+"function> 函数。"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:69
 msgid "Compile the package:"
-msgstr ""
+msgstr "编译该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:71
 #, no-wrap
 msgid "<userinput remap=\"make\">make</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"make\">make</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:73
 msgid "Install the package:"
-msgstr ""
+msgstr "安装该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:75
 #, no-wrap
 msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:77
 msgid "Move the excutable to where it is expected:"
-msgstr ""
+msgstr "将可执行文件移动到正确位置:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:79
 #, no-wrap
 msgid "<userinput remap=\"install\">mv $LFS/usr/bin/bash $LFS/bin/bash</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">mv $LFS/usr/bin/bash $LFS/bin/bash</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:81
-msgid "Make a link for the programs that use <command>sh</command> for a shell:"
+msgid ""
+"Make a link for the programs that use <command>sh</command> for a shell:"
 msgstr ""
+"为那些使用 <command>sh</command> 命令运行 shell 的程序考虑,创建一个链接:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:84
 #, no-wrap
 msgid "<userinput remap=\"install\">ln -sv bash $LFS/bin/sh</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">ln -sv bash $LFS/bin/sh</userinput>"
 
+# We don't need the additional .
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/bash.xml:91
 msgid ""
-"Details on this package are located in <xref linkend=\"contents-bash\" "
-"role=\".\"/>"
-msgstr ""
+"Details on this package are located in <xref linkend=\"contents-bash\" role="
+"\".\"/>"
+msgstr "该软件包的详细信息可以在<xref linkend=\"contents-bash\"/>中找到。"

+ 42 - 31
zh_CN/chapter06/binutils-pass2.po

@@ -1,79 +1,78 @@
-# SOME DESCRIPTIVE TITLE
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2020-06-17 12:44+0800\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
+"Language: zh_CN\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Translate Toolkit 2.2.5\n"
+"X-Pootle-Path: /zh_CN/lfs/chapter05/binutils-pass2.po\n"
+"X-Pootle-Revision: 1639957\n"
 
 #. type: Content of: <sect1><sect1info><address>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:14
 #, no-wrap
 msgid "&binutils-url;"
-msgstr ""
+msgstr "&binutils-url;"
 
 #. type: Content of: <sect1><sect1info>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:12
 msgid ""
-"<productname>binutils-pass2</productname> "
-"<productnumber>&binutils-version;</productnumber> <placeholder "
-"type=\"address\" id=\"0\"/>"
+"<productname>binutils-pass2</productname> <productnumber>&binutils-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 msgstr ""
+"<productname>binutils-pass2</productname> <productnumber>&binutils-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 
 #. type: Content of: <sect1><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:17
 msgid "Binutils-&binutils-version; - Pass 2"
-msgstr ""
+msgstr "Binutils-&binutils-version; - 第二遍"
 
 #. type: Content of: <sect1><indexterm><primary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:20
 msgid "Binutils"
-msgstr ""
+msgstr "Binutils"
 
 #. type: Content of: <sect1><indexterm><secondary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:21
 msgid "tools, pass 2"
-msgstr ""
+msgstr "tools, pass 2"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:32
 msgid "&buildtime;"
-msgstr ""
+msgstr "&buildtime;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:33
 msgid "&diskspace;"
-msgstr ""
+msgstr "&diskspace;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:36
 msgid "&binutils-tmpp2-sbu;"
-msgstr ""
+msgstr "&binutils-tmpp2-sbu;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:37
 msgid "&binutils-tmpp2-du;"
-msgstr ""
+msgstr "&binutils-tmpp2-du;"
 
 #. type: Content of: <sect1><sect2><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:44
 msgid "Installation of Binutils"
-msgstr ""
+msgstr "安装 Binutils"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:46
 msgid "Create a separate build directory again:"
-msgstr ""
+msgstr "再一次地,创建一个单独的构建目录:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:48
@@ -82,11 +81,13 @@ msgid ""
 "<userinput remap=\"pre\">mkdir -v build\n"
 "cd       build</userinput>"
 msgstr ""
+"<userinput remap=\"pre\">mkdir -v build\n"
+"cd       build</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:51
 msgid "Prepare Binutils for compilation:"
-msgstr ""
+msgstr "准备编译 Binutils:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:53
@@ -101,28 +102,35 @@ msgid ""
 "    --disable-werror           \\\n"
 "    --enable-64-bit-bfd</userinput>"
 msgstr ""
+"<userinput remap=\"configure\">../configure                   \\\n"
+"    --prefix=/usr              \\\n"
+"    --build=$(../config.guess) \\\n"
+"    --host=$LFS_TGT            \\\n"
+"    --disable-nls              \\\n"
+"    --enable-shared            \\\n"
+"    --disable-werror           \\\n"
+"    --enable-64-bit-bfd</userinput>"
 
 #. type: Content of: <sect1><sect2><variablelist><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:63
 msgid "The meaning of the new configure options:"
-msgstr ""
+msgstr "配置选项的含义:"
 
 #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:66
 msgid "<parameter>--enable-shared</parameter>"
-msgstr ""
+msgstr "<parameter>--enable-shared</parameter>"
 
 #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:68
 msgid ""
-"Builds <filename class=\"libraryfile\">libbfd</filename> as a shared "
-"library."
-msgstr ""
+"Builds <filename class=\"libraryfile\">libbfd</filename> as a shared library."
+msgstr "将 <filename class=\"libraryfile\">libbfd</filename> 构建为共享库。"
 
 #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:75
 msgid "<parameter>--enable-64-bit-bfd</parameter>"
-msgstr ""
+msgstr "<parameter>--enable-64-bit-bfd</parameter>"
 
 #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:77
@@ -130,28 +138,30 @@ msgid ""
 "Enables 64-bit support (on hosts with narrower word sizes).  May not be "
 "needed on 64-bit systems, but does no harm."
 msgstr ""
+"启用 64 位支持 (在那些字长较短的平台上)。"
+"在 64 位系统上可能并不需要,但无害。"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:84
 msgid "Compile the package:"
-msgstr ""
+msgstr "编译该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:86
 #, no-wrap
 msgid "<userinput remap=\"make\">make</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"make\">make</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:88
 msgid "Install the package:"
-msgstr ""
+msgstr "安装该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:90
 #, no-wrap
 msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/binutils-pass2.xml:97
@@ -159,3 +169,4 @@ msgid ""
 "Details on this package are located in <xref linkend=\"contents-binutils\" "
 "role=\".\"/>"
 msgstr ""
+"该软件包的更多信息可以在<xref linkend=\"contents-binutils\"/>中找到。"

+ 46 - 36
zh_CN/chapter06/coreutils.po

@@ -1,9 +1,3 @@
-# SOME DESCRIPTIVE TITLE
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
@@ -11,91 +5,97 @@ msgstr ""
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
+"Language: zh_CN\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Translate Toolkit 2.2.5\n"
 
 #. type: Content of: <sect1><sect1info><address>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:14
 #, no-wrap
 msgid "&coreutils-url;"
-msgstr ""
+msgstr "&coreutils-url;"
 
 #. type: Content of: <sect1><sect1info>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:12
 msgid ""
-"<productname>coreutils</productname> "
-"<productnumber>&coreutils-version;</productnumber> <placeholder "
-"type=\"address\" id=\"0\"/>"
+"<productname>coreutils</productname> <productnumber>&coreutils-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 msgstr ""
+"<productname>coreutils</productname> <productnumber>&coreutils-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 
 #. type: Content of: <sect1><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:17
 msgid "Coreutils-&coreutils-version;"
-msgstr ""
+msgstr "Coreutils-&coreutils-version;"
 
 #. type: Content of: <sect1><indexterm><primary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:20
 msgid "Coreutils"
-msgstr ""
+msgstr "Coreutils"
 
 #. type: Content of: <sect1><indexterm><secondary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:21
 msgid "tools"
-msgstr ""
+msgstr "tools"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:32
 msgid "&buildtime;"
-msgstr ""
+msgstr "&buildtime;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:33
 msgid "&diskspace;"
-msgstr ""
+msgstr "&diskspace;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:36
 msgid "&coreutils-tmp-sbu;"
-msgstr ""
+msgstr "&coreutils-tmp-sbu;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:37
 msgid "&coreutils-tmp-du;"
-msgstr ""
+msgstr "&coreutils-tmp-du;"
 
 #. type: Content of: <sect1><sect2><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:44
 msgid "Installation of Coreutils"
-msgstr ""
+msgstr "安装 Coreutils"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:46
 msgid "Prepare Coreutils for compilation:"
-msgstr ""
+msgstr "准备编译 Coreutils:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:48
 #, no-wrap
 msgid ""
-"<userinput remap=\"configure\">./configure --prefix=/usr                     "
-"\\\n"
+"<userinput remap=\"configure\">./configure --prefix=/usr                     \\\n"
 "            --host=$LFS_TGT                   \\\n"
 "            --build=$(build-aux/config.guess) \\\n"
 "            --enable-install-program=hostname \\\n"
 "            --enable-no-install-program=kill,uptime</userinput>"
 msgstr ""
+"<userinput remap=\"configure\">./configure --prefix=/usr                     \\\n"
+"            --host=$LFS_TGT                   \\\n"
+"            --build=$(build-aux/config.guess) \\\n"
+"            --enable-install-program=hostname \\\n"
+"            --enable-no-install-program=kill,uptime</userinput>"
 
 #. type: Content of: <sect1><sect2><variablelist><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:55
 msgid "The meaning of the configure options:"
-msgstr ""
+msgstr "配置选项的含义:"
 
 #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:58
 msgid "<envar>--enable-install-program=hostname</envar>"
-msgstr ""
+msgstr "<envar>--enable-install-program=hostname</envar>"
 
 #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:60
@@ -104,28 +104,30 @@ msgid ""
 "installed &ndash; it is disabled by default but is required by the Perl test "
 "suite."
 msgstr ""
+"该选项表示构建 <command>hostname</command> 程序并安装它 —— 默认情况下它被禁"
+"用,但 Perl 测试套件需要它。"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:67
 msgid "Compile the package:"
-msgstr ""
+msgstr "编译该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:69
 #, no-wrap
 msgid "<userinput remap=\"make\">make</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"make\">make</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:71
 msgid "Install the package:"
-msgstr ""
+msgstr "安装该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:73
 #, no-wrap
 msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:82
@@ -134,24 +136,31 @@ msgid ""
 "necessary in this temporary environment, we must do so because some programs "
 "harcode executable locations:"
 msgstr ""
+"将程序移动到它们最终安装时的正确位置。"
+"尽管在临时环境中这不必要,但我们必须这样做,"
+"因为一些程序会硬编码它们的位置:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:86
 #, no-wrap
 msgid ""
-"<userinput remap=\"install\">mv -v "
-"$LFS/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} $LFS/bin\n"
+"<userinput remap=\"install\">mv -v $LFS/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} $LFS/bin\n"
 "mv -v $LFS/usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm}        $LFS/bin\n"
 "mv -v $LFS/usr/bin/{rmdir,stty,sync,true,uname}               $LFS/bin\n"
 "mv -v $LFS/usr/bin/{head,nice,sleep,touch}                    $LFS/bin\n"
-"mv -v $LFS/usr/bin/chroot                                     "
-"$LFS/usr/sbin\n"
+"mv -v $LFS/usr/bin/chroot                                     $LFS/usr/sbin\n"
 "mkdir -pv $LFS/usr/share/man/man8\n"
-"mv -v $LFS/usr/share/man/man1/chroot.1                        "
-"$LFS/usr/share/man/man8/chroot.8\n"
-"sed -i 's/\"1\"/\"8\"/'                                           "
-"$LFS/usr/share/man/man8/chroot.8</userinput>"
+"mv -v $LFS/usr/share/man/man1/chroot.1                        $LFS/usr/share/man/man8/chroot.8\n"
+"sed -i 's/\"1\"/\"8\"/'                                           $LFS/usr/share/man/man8/chroot.8</userinput>"
 msgstr ""
+"<userinput remap=\"install\">mv -v $LFS/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} $LFS/bin\n"
+"mv -v $LFS/usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm}        $LFS/bin\n"
+"mv -v $LFS/usr/bin/{rmdir,stty,sync,true,uname}               $LFS/bin\n"
+"mv -v $LFS/usr/bin/{head,nice,sleep,touch}                    $LFS/bin\n"
+"mv -v $LFS/usr/bin/chroot                                     $LFS/usr/sbin\n"
+"mkdir -pv $LFS/usr/share/man/man8\n"
+"mv -v $LFS/usr/share/man/man1/chroot.1                        $LFS/usr/share/man/man8/chroot.8\n"
+"sed -i 's/\"1\"/\"8\"/'                                           $LFS/usr/share/man/man8/chroot.8</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/coreutils.xml:100
@@ -159,3 +168,4 @@ msgid ""
 "Details on this package are located in <xref linkend=\"contents-coreutils\" "
 "role=\".\"/>"
 msgstr ""
+"该软件包的详细信息可以在<xref linkend=\"contents-coreutils\"/>中找到。"

+ 23 - 28
zh_CN/chapter06/diffutils.po

@@ -1,9 +1,3 @@
-# SOME DESCRIPTIVE TITLE
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
@@ -11,99 +5,99 @@ msgstr ""
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
+"Language: zh_CN\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Translate Toolkit 2.2.5\n"
 
 #. type: Content of: <sect1><sect1info><address>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/diffutils.xml:14
 #, no-wrap
 msgid "&diffutils-url;"
-msgstr ""
+msgstr "&diffutils-url;"
 
 #. type: Content of: <sect1><sect1info>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/diffutils.xml:12
 msgid ""
-"<productname>diffutils</productname> "
-"<productnumber>&diffutils-version;</productnumber> <placeholder "
-"type=\"address\" id=\"0\"/>"
+"<productname>diffutils</productname> <productnumber>&diffutils-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 msgstr ""
+"<productname>diffutils</productname> <productnumber>&diffutils-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 
 #. type: Content of: <sect1><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/diffutils.xml:17
 msgid "Diffutils-&diffutils-version;"
-msgstr ""
+msgstr "Diffutils-&diffutils-version;"
 
 #. type: Content of: <sect1><indexterm><primary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/diffutils.xml:20
 msgid "Diffutils"
-msgstr ""
+msgstr "Diffutils"
 
 #. type: Content of: <sect1><indexterm><secondary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/diffutils.xml:21
 msgid "tools"
-msgstr ""
+msgstr "tools"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/diffutils.xml:32
 msgid "&buildtime;"
-msgstr ""
+msgstr "&buildtime;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/diffutils.xml:33
 msgid "&diskspace;"
-msgstr ""
+msgstr "&diskspace;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/diffutils.xml:36
 msgid "&diffutils-tmp-sbu;"
-msgstr ""
+msgstr "&diffutils-tmp-sbu;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/diffutils.xml:37
 msgid "&diffutils-tmp-du;"
-msgstr ""
+msgstr "&diffutils-tmp-du;"
 
 #. type: Content of: <sect1><sect2><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/diffutils.xml:44
 msgid "Installation of Diffutils"
-msgstr ""
+msgstr "安装 Diffutils"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/diffutils.xml:46
 msgid "Prepare Diffutils for compilation:"
-msgstr ""
+msgstr "准备编译 Diffutils:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/diffutils.xml:48
 #, no-wrap
-msgid ""
-"<userinput remap=\"configure\">./configure --prefix=/usr "
-"--host=$LFS_TGT</userinput>"
-msgstr ""
+msgid "<userinput remap=\"configure\">./configure --prefix=/usr --host=$LFS_TGT</userinput>"
+msgstr "<userinput remap=\"configure\">./configure --prefix=/usr --host=$LFS_TGT</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/diffutils.xml:50
 msgid "Compile the package:"
-msgstr ""
+msgstr "编译该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/diffutils.xml:52
 #, no-wrap
 msgid "<userinput remap=\"make\">make</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"make\">make</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/diffutils.xml:54
 msgid "Install the package:"
-msgstr ""
+msgstr "安装该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/diffutils.xml:56
 #, no-wrap
 msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/diffutils.xml:63
@@ -111,3 +105,4 @@ msgid ""
 "Details on this package are located in <xref linkend=\"contents-diffutils\" "
 "role=\".\"/>"
 msgstr ""
+"该软件包的详细信息可以在<xref linkend=\"contents-diffutils\"/>中找到。"

+ 27 - 34
zh_CN/chapter06/file.po

@@ -1,114 +1,107 @@
-# SOME DESCRIPTIVE TITLE
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2020-06-17 12:44+0800\n"
+"POT-Creation-Date: 2020-06-20 00:58+0800\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
+"Language: zh_CN\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Translate Toolkit 2.2.5\n"
 
 #. type: Content of: <sect1><sect1info><address>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/file.xml:14
 #, no-wrap
 msgid "&file-url;"
-msgstr ""
+msgstr "&file-url;"
 
 #. type: Content of: <sect1><sect1info>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/file.xml:12
 msgid ""
-"<productname>file</productname> "
-"<productnumber>&file-version;</productnumber> <placeholder type=\"address\" "
-"id=\"0\"/>"
+"<productname>file</productname> <productnumber>&file-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 msgstr ""
+"<productname>file</productname> <productnumber>&file-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 
 #. type: Content of: <sect1><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/file.xml:17
 msgid "File-&file-version;"
-msgstr ""
+msgstr "File-&file-version;"
 
 #. type: Content of: <sect1><indexterm><primary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/file.xml:20
 msgid "File"
-msgstr ""
+msgstr "File"
 
 #. type: Content of: <sect1><indexterm><secondary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/file.xml:21
 msgid "tools"
-msgstr ""
+msgstr "tools"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/file.xml:32
 msgid "&buildtime;"
-msgstr ""
+msgstr "&buildtime;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/file.xml:33
 msgid "&diskspace;"
-msgstr ""
+msgstr "&diskspace;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/file.xml:36
 msgid "&file-tmp-sbu;"
-msgstr ""
+msgstr "&file-tmp-sbu;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/file.xml:37
 msgid "&file-tmp-du;"
-msgstr ""
+msgstr "&file-tmp-du;"
 
 #. type: Content of: <sect1><sect2><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/file.xml:44
 msgid "Installation of File"
-msgstr ""
+msgstr "安装 File"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/file.xml:46
 msgid "Prepare File for compilation:"
-msgstr ""
+msgstr "准备编译 File:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/file.xml:48
 #, no-wrap
-msgid ""
-"<userinput remap=\"configure\">./configure --prefix=/usr "
-"--host=$LFS_TGT</userinput>"
-msgstr ""
+msgid "<userinput remap=\"configure\">./configure --prefix=/usr --host=$LFS_TGT</userinput>"
+msgstr "<userinput remap=\"configure\">./configure --prefix=/usr --host=$LFS_TGT</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/file.xml:55
 msgid "Compile the package:"
-msgstr ""
+msgstr "编译该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/file.xml:57
 #, no-wrap
 msgid "<userinput remap=\"make\">make</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"make\">make</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/file.xml:59
 msgid "Install the package:"
-msgstr ""
+msgstr "安装该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/file.xml:61
 #, no-wrap
 msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
 
-#.  TODO
-#.     <xref linkend="contents-file" role="."/>
-#.       
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/file.xml:67
-msgid "Details on this package are located in"
-msgstr ""
+msgid ""
+"Details on this package are located in <xref linkend=\"contents-file\" role="
+"\".\"/>"
+msgstr "该软件包的详细信息可以在<xref linkend=\"contents-file\"/>中找到。"

+ 27 - 25
zh_CN/chapter06/findutils.po

@@ -1,9 +1,3 @@
-# SOME DESCRIPTIVE TITLE
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
@@ -11,69 +5,71 @@ msgstr ""
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
+"Language: zh_CN\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Translate Toolkit 2.2.5\n"
 
 #. type: Content of: <sect1><sect1info><address>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:14
 #, no-wrap
 msgid "&findutils-url;"
-msgstr ""
+msgstr "&findutils-url;"
 
 #. type: Content of: <sect1><sect1info>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:12
 msgid ""
-"<productname>findutils</productname> "
-"<productnumber>&findutils-version;</productnumber> <placeholder "
-"type=\"address\" id=\"0\"/>"
+"<productname>findutils</productname> <productnumber>&findutils-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 msgstr ""
+"<productname>findutils</productname> <productnumber>&findutils-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 
 #. type: Content of: <sect1><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:17
 msgid "Findutils-&findutils-version;"
-msgstr ""
+msgstr "Findutils-&findutils-version;"
 
 #. type: Content of: <sect1><indexterm><primary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:20
 msgid "Findutils"
-msgstr ""
+msgstr "Findutils"
 
 #. type: Content of: <sect1><indexterm><secondary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:21
 msgid "tools"
-msgstr ""
+msgstr "tools"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:32
 msgid "&buildtime;"
-msgstr ""
+msgstr "&buildtime;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:33
 msgid "&diskspace;"
-msgstr ""
+msgstr "&diskspace;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:36
 msgid "&findutils-tmp-sbu;"
-msgstr ""
+msgstr "&findutils-tmp-sbu;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:37
 msgid "&findutils-tmp-du;"
-msgstr ""
+msgstr "&findutils-tmp-du;"
 
 #. type: Content of: <sect1><sect2><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:44
 msgid "Installation of Findutils"
-msgstr ""
+msgstr "安装 Findutils"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:46
 msgid "Prepare Findutils for compilation:"
-msgstr ""
+msgstr "准备编译 Findutils:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:48
@@ -83,33 +79,36 @@ msgid ""
 "            --host=$LFS_TGT \\\n"
 "            --build=$(build-aux/config.guess)</userinput>"
 msgstr ""
+"<userinput remap=\"configure\">./configure --prefix=/usr   \\\n"
+"            --host=$LFS_TGT \\\n"
+"            --build=$(build-aux/config.guess)</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:52
 msgid "Compile the package:"
-msgstr ""
+msgstr "编译该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:54
 #, no-wrap
 msgid "<userinput remap=\"make\">make</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"make\">make</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:56
 msgid "Install the package:"
-msgstr ""
+msgstr "安装该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:58
 #, no-wrap
 msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:60
 msgid "Move the excutable to its final expected location:"
-msgstr ""
+msgstr "将可执行文件移动到最终安装时的正确位置:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:62
@@ -118,6 +117,8 @@ msgid ""
 "<userinput remap=\"install\">mv -v $LFS/usr/bin/find $LFS/bin\n"
 "sed -i 's|find:=${BINDIR}|find:=/bin|' $LFS/usr/bin/updatedb</userinput>"
 msgstr ""
+"<userinput remap=\"install\">mv -v $LFS/usr/bin/find $LFS/bin\n"
+"sed -i 's|find:=${BINDIR}|find:=/bin|' $LFS/usr/bin/updatedb</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/findutils.xml:70
@@ -125,3 +126,4 @@ msgid ""
 "Details on this package are located in <xref linkend=\"contents-findutils\" "
 "role=\".\"/>"
 msgstr ""
+"该软件包的详细信息可以在<xref linkend=\"contents-findutils\"/>中找到。"

+ 29 - 29
zh_CN/chapter06/gawk.po

@@ -1,9 +1,3 @@
-# SOME DESCRIPTIVE TITLE
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
@@ -11,80 +5,82 @@ msgstr ""
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
+"Language: zh_CN\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Translate Toolkit 2.2.5\n"
 
 #. type: Content of: <sect1><sect1info><address>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:14
 #, no-wrap
 msgid "&gawk-url;"
-msgstr ""
+msgstr "&gawk-url;"
 
 #. type: Content of: <sect1><sect1info>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:12
 msgid ""
-"<productname>gawk</productname> "
-"<productnumber>&gawk-version;</productnumber> <placeholder type=\"address\" "
-"id=\"0\"/>"
+"<productname>gawk</productname> <productnumber>&gawk-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 msgstr ""
+"<productname>gawk</productname> <productnumber>&gawk-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 
 #. type: Content of: <sect1><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:17
 msgid "Gawk-&gawk-version;"
-msgstr ""
+msgstr "Gawk-&gawk-version;"
 
 #. type: Content of: <sect1><indexterm><primary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:20
 msgid "Gawk"
-msgstr ""
+msgstr "Gawk"
 
 #. type: Content of: <sect1><indexterm><secondary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:21
 msgid "tools"
-msgstr ""
+msgstr "tools"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:32
 msgid "&buildtime;"
-msgstr ""
+msgstr "&buildtime;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:33
 msgid "&diskspace;"
-msgstr ""
+msgstr "&diskspace;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:36
 msgid "&gawk-tmp-sbu;"
-msgstr ""
+msgstr "&gawk-tmp-sbu;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:37
 msgid "&gawk-tmp-du;"
-msgstr ""
+msgstr "&gawk-tmp-du;"
 
 #. type: Content of: <sect1><sect2><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:44
 msgid "Installation of Gawk"
-msgstr ""
+msgstr "安装 Gawk"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:46
 msgid "First, ensure some unneeded files are not installed:"
-msgstr ""
+msgstr "首先,确保不要安装一些没有必要的文件:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:48
 #, no-wrap
 msgid "<userinput remap=\"pre\">sed -i 's/extras//' Makefile.in</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"pre\">sed -i 's/extras//' Makefile.in</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:50
 msgid "Prepare Gawk for compilation:"
-msgstr ""
+msgstr "准备编译 Gawk:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:52
@@ -94,32 +90,36 @@ msgid ""
 "            --host=$LFS_TGT \\\n"
 "            --build=$(./config.guess)</userinput>"
 msgstr ""
+"<userinput remap=\"configure\">./configure --prefix=/usr   \\\n"
+"            --host=$LFS_TGT \\\n"
+"            --build=$(./config.guess)</userinput>"
+
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:56
 msgid "Compile the package:"
-msgstr ""
+msgstr "编译该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:58
 #, no-wrap
 msgid "<userinput remap=\"make\">make</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"make\">make</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:60
 msgid "Install the package:"
-msgstr ""
+msgstr "安装该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:62
 #, no-wrap
 msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gawk.xml:69
 msgid ""
-"Details on this package are located in <xref linkend=\"contents-gawk\" "
-"role=\".\"/>"
-msgstr ""
+"Details on this package are located in <xref linkend=\"contents-gawk\" role="
+"\".\"/>"
+msgstr "该软件包的详细信息可以在<xref linkend=\"contents-gawk\"/>中找到。"

+ 90 - 46
zh_CN/chapter06/gcc-pass2.po

@@ -1,82 +1,82 @@
-# SOME DESCRIPTIVE TITLE
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2020-06-17 12:44+0800\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
+"Language: zh_CN\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Translate Toolkit 2.2.5\n"
+"X-Pootle-Path: /zh_CN/lfs/chapter05/gcc-pass2.po\n"
+"X-Pootle-Revision: 1671906\n"
 
 #. type: Content of: <sect1><sect1info><address>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:14
 #, no-wrap
 msgid "&gcc-url;"
-msgstr ""
+msgstr "&gcc-url;"
 
 #. type: Content of: <sect1><sect1info>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:12
 msgid ""
-"<productname>gcc-pass2</productname> "
-"<productnumber>&gcc-version;</productnumber> <placeholder type=\"address\" "
-"id=\"0\"/>"
+"<productname>gcc-pass2</productname> <productnumber>&gcc-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 msgstr ""
+"<productname>gcc-pass2</productname> <productnumber>&gcc-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 
 #. type: Content of: <sect1><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:17
 msgid "GCC-&gcc-version; - Pass 2"
-msgstr ""
+msgstr "GCC-&gcc-version; - 第二遍"
 
 #. type: Content of: <sect1><indexterm><primary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:20
 msgid "GCC"
-msgstr ""
+msgstr "GCC"
 
 #. type: Content of: <sect1><indexterm><secondary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:21
 msgid "tools, pass 2"
-msgstr ""
+msgstr "tools, pass 2"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:32
 msgid "&buildtime;"
-msgstr ""
+msgstr "&buildtime;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:33
 msgid "&diskspace;"
-msgstr ""
+msgstr "&diskspace;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:36
 msgid "&gcc-tmpp2-sbu;"
-msgstr ""
+msgstr "&gcc-tmpp2-sbu;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:37
 msgid "&gcc-tmpp2-du;"
-msgstr ""
+msgstr "&gcc-tmpp2-du;"
 
 #. type: Content of: <sect1><sect2><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:44
 msgid "Installation of GCC"
-msgstr ""
+msgstr "安装 GCC"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:46
 msgid ""
-"As in the first build of GCC, the GMP, MPFR, and MPC packages are "
-"required. Unpack the tarballs and move them into the required directory "
-"names:"
+"As in the first build of GCC, the GMP, MPFR, and MPC packages are required. "
+"Unpack the tarballs and move them into the required directory names:"
 msgstr ""
+"就像第一次构建 GCC 时一样,它需要 GMP、MPFR 和 MPC 三个包。解压它们的源码"
+"包,并将它们移动到 GCC 要求的目录名:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:50
@@ -89,6 +89,12 @@ msgid ""
 "tar -xf ../mpc-&mpc-version;.tar.gz\n"
 "mv -v mpc-&mpc-version; mpc</userinput>"
 msgstr ""
+"<userinput remap=\"pre\">tar -xf ../mpfr-&mpfr-version;.tar.xz\n"
+"mv -v mpfr-&mpfr-version; mpfr\n"
+"tar -xf ../gmp-&gmp-version;.tar.xz\n"
+"mv -v gmp-&gmp-version; gmp\n"
+"tar -xf ../mpc-&mpc-version;.tar.gz\n"
+"mv -v mpc-&mpc-version; mpc</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:57
@@ -96,6 +102,7 @@ msgid ""
 "If building on x86_64, change the default directory name for 64-bit "
 "libraries to <quote>lib</quote>:"
 msgstr ""
+"如果是在 x86_64 上构建,修改 64 位库文件的默认目录名为 <quote>lib</quote>:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:60
@@ -107,22 +114,27 @@ msgid ""
 "  ;;\n"
 "esac</userinput>"
 msgstr ""
+"<userinput remap=\"pre\">case $(uname -m) in\n"
+"  x86_64)\n"
+"    sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64\n"
+"  ;;\n"
+"esac</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:66
 msgid "Fix an issue with GCC-10.1 when building with a cross compiler:"
-msgstr ""
+msgstr "修复 GCC-10.1 在使用交叉编译器构建时出现的问题:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:69
 #, no-wrap
 msgid "<userinput remap=\"pre\">patch -Np1 -i ../&gcc-cross-patch;</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"pre\">patch -Np1 -i ../&gcc-cross-patch;</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:71
 msgid "Create a separate build directory again:"
-msgstr ""
+msgstr "再次创建一个独立的构建目录:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:73
@@ -131,39 +143,43 @@ msgid ""
 "<userinput remap=\"pre\">mkdir -v build\n"
 "cd       build</userinput>"
 msgstr ""
+"<userinput remap=\"pre\">mkdir -v build\n"
+"cd       build</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:76
-msgid "Create a symlink that allows libgcc to be built with posix threads support:"
+msgid ""
+"Create a symlink that allows libgcc to be built with posix threads support:"
 msgstr ""
+"创建一个符号链接,以允许 libgcc 在构建时启用 POSIX 线程支持:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:79
 #, no-wrap
 msgid ""
 "<userinput remap=\"pre\">mkdir -pv $LFS_TGT/libgcc\n"
-"ln -s ../../../libgcc/gthr-posix.h "
-"$LFS_TGT/libgcc/gthr-default.h</userinput>"
+"ln -s ../../../libgcc/gthr-posix.h $LFS_TGT/libgcc/gthr-default.h</userinput>"
 msgstr ""
+"<userinput remap=\"pre\">mkdir -pv $LFS_TGT/libgcc\n"
+"ln -s ../../../libgcc/gthr-posix.h $LFS_TGT/libgcc/gthr-default.h</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:82
 msgid ""
 "Before starting to build GCC, remember to unset any environment variables "
 "that override the default optimization flags."
-msgstr ""
+msgstr "在开始构建 GCC 前,记得清除所有覆盖默认优化开关的环境变量。"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:85
 msgid "Now prepare GCC for compilation:"
-msgstr ""
+msgstr "现在准备编译 GCC:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:87
 #, no-wrap
 msgid ""
-"<userinput remap=\"configure\">../configure                                       "
-"\\\n"
+"<userinput remap=\"configure\">../configure                                       \\\n"
 "    --build=$(../config.guess)                     \\\n"
 "    --host=$LFS_TGT                                \\\n"
 "    --prefix=/usr                                  \\\n"
@@ -181,16 +197,33 @@ msgid ""
 "    --disable-libstdcxx                            \\\n"
 "    --enable-languages=c,c++</userinput>"
 msgstr ""
+"<userinput remap=\"configure\">../configure                                       \\\n"
+"    --build=$(../config.guess)                     \\\n"
+"    --host=$LFS_TGT                                \\\n"
+"    --prefix=/usr                                  \\\n"
+"    CC_FOR_TARGET=$LFS_TGT-gcc                     \\\n"
+"    --with-build-sysroot=$LFS                      \\\n"
+"    --enable-initfini-array                        \\\n"
+"    --disable-nls                                  \\\n"
+"    --disable-multilib                             \\\n"
+"    --disable-decimal-float                        \\\n"
+"    --disable-libatomic                            \\\n"
+"    --disable-libgomp                              \\\n"
+"    --disable-libquadmath                          \\\n"
+"    --disable-libssp                               \\\n"
+"    --disable-libvtv                               \\\n"
+"    --disable-libstdcxx                            \\\n"
+"    --enable-languages=c,c++</userinput>"
 
 #. type: Content of: <sect1><sect2><variablelist><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:106
 msgid "The meaning of the new configure options:"
-msgstr ""
+msgstr "配置选项的含义:"
 
 #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:109
 msgid "<parameter>-with-build-sysroot=$LFS</parameter>"
-msgstr ""
+msgstr "<parameter>-with-build-sysroot=$LFS</parameter>"
 
 #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:111
@@ -202,11 +235,16 @@ msgid ""
 "location. This switch is needed to have them find the needed files in "
 "<filename class=\"directory\">$LFS</filename>, and not on the host."
 msgstr ""
+"通常,使用 <parameter>--host</parameter> 即可保证使用交叉编译器构建 GCC,"
+"这个交叉编译器知道它应该在 <filename class=\"directory\">$LFS</filename> "
+"中查找头文件和库。但是,GCC 构建系统使用其他一些工具,它们不知道这个位置。"
+"因此需要该选项告诉它们在 <filename class=\"directory\">$LFS</filename> "
+"中查找需要的文件,而不是在宿主系统中查找。"
 
 #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:122
 msgid "<parameter>--enable-initfini-array</parameter>"
-msgstr ""
+msgstr "<parameter>--enable-initfini-array</parameter>"
 
 #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:124
@@ -215,28 +253,30 @@ msgid ""
 "native compiler on x86. But here, we build with a cross compiler, so we need "
 "to explicitely set this option."
 msgstr ""
+"该选项在使用 x86 本地编译器构建另一个本地编译器时自动启用。"
+"然而我们使用交叉编译器进行编译,因此必须显式启用它。"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:132
 msgid "Compile the package:"
-msgstr ""
+msgstr "编译该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:134
 #, no-wrap
 msgid "<userinput remap=\"make\">make</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"make\">make</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:136
 msgid "Install the package:"
-msgstr ""
+msgstr "安装该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:138
 #, no-wrap
 msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:140
@@ -244,20 +284,24 @@ msgid ""
 "As a finishing touch, create a utility symlink. Many programs and scripts "
 "run <command>cc</command> instead of <command>gcc</command>, which is used "
 "to keep programs generic and therefore usable on all kinds of UNIX systems "
-"where the GNU C compiler is not always installed. Running "
-"<command>cc</command> leaves the system administrator free to decide which C "
-"compiler to install:"
+"where the GNU C compiler is not always installed. Running <command>cc</"
+"command> leaves the system administrator free to decide which C compiler to "
+"install:"
 msgstr ""
+"最后,还需要创建一个符号链接。许多程序和脚本运行 <command>cc</command> 而不"
+"是 <command>gcc</command>,因为前者能够保证程序的通用性,使它可以在所有 "
+"UNIX 系统上使用,无论是否安装了 GNU C 编译器。运行 <command>cc</command> 可"
+"以将安装哪种 C 编译器的选择权留给系统管理员:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:147
 #, no-wrap
 msgid "<userinput remap=\"install\">ln -sv gcc $LFS/usr/bin/cc</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">ln -sv gcc $LFS/usr/bin/cc</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gcc-pass2.xml:154
 msgid ""
-"Details on this package are located in <xref linkend=\"contents-gcc\" "
-"role=\".\"/>"
-msgstr ""
+"Details on this package are located in <xref linkend=\"contents-gcc\" role="
+"\".\"/>"
+msgstr "关于本软件包的更多信息可以在<xref linkend=\"contents-gcc\"/>中找到。"

+ 26 - 28
zh_CN/chapter06/grep.po

@@ -1,9 +1,3 @@
-# SOME DESCRIPTIVE TITLE
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
@@ -11,104 +5,108 @@ msgstr ""
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
+"Language: zh_CN\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Translate Toolkit 2.2.5\n"
 
 #. type: Content of: <sect1><sect1info><address>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/grep.xml:14
 #, no-wrap
 msgid "&grep-url;"
-msgstr ""
+msgstr "&grep-url;"
 
 #. type: Content of: <sect1><sect1info>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/grep.xml:12
 msgid ""
-"<productname>grep</productname> "
-"<productnumber>&grep-version;</productnumber> <placeholder type=\"address\" "
-"id=\"0\"/>"
+"<productname>grep</productname> <productnumber>&grep-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 msgstr ""
+"<productname>grep</productname> <productnumber>&grep-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 
 #. type: Content of: <sect1><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/grep.xml:17
 msgid "Grep-&grep-version;"
-msgstr ""
+msgstr "Grep-&grep-version;"
 
 #. type: Content of: <sect1><indexterm><primary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/grep.xml:20
 msgid "Grep"
-msgstr ""
+msgstr "Grep"
 
 #. type: Content of: <sect1><indexterm><secondary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/grep.xml:21
 msgid "tools"
-msgstr ""
+msgstr "tools"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/grep.xml:32
 msgid "&buildtime;"
-msgstr ""
+msgstr "&buildtime;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/grep.xml:33
 msgid "&diskspace;"
-msgstr ""
+msgstr "&diskspace;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/grep.xml:36
 msgid "&grep-tmp-sbu;"
-msgstr ""
+msgstr "&grep-tmp-sbu;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/grep.xml:37
 msgid "&grep-tmp-du;"
-msgstr ""
+msgstr "&grep-tmp-du;"
 
 #. type: Content of: <sect1><sect2><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/grep.xml:44
 msgid "Installation of Grep"
-msgstr ""
+msgstr "安装 Grep"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/grep.xml:46
 msgid "Prepare Grep for compilation:"
-msgstr ""
+msgstr "准备编译 Grep:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/grep.xml:48
-#, no-wrap
 msgid ""
 "<userinput remap=\"configure\">./configure --prefix=/usr   \\\n"
 "            --host=$LFS_TGT \\\n"
 "            --bindir=/bin</userinput>"
 msgstr ""
+"<userinput remap=\"configure\">./configure --prefix=/usr   \\\n"
+"            --host=$LFS_TGT \\\n"
+"            --bindir=/bin</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/grep.xml:52
 msgid "Compile the package:"
-msgstr ""
+msgstr "编译该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/grep.xml:54
 #, no-wrap
 msgid "<userinput remap=\"make\">make</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"make\">make</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/grep.xml:56
 msgid "Install the package:"
-msgstr ""
+msgstr "安装该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/grep.xml:58
 #, no-wrap
 msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/grep.xml:65
 msgid ""
-"Details on this package are located in <xref linkend=\"contents-grep\" "
-"role=\".\"/>"
-msgstr ""
+"Details on this package are located in <xref linkend=\"contents-grep\" role="
+"\".\"/>"
+msgstr "该软件包的详细信息可以在<xref linkend=\"contents-grep\"/>中找到。"

+ 27 - 33
zh_CN/chapter06/gzip.po

@@ -1,9 +1,3 @@
-# SOME DESCRIPTIVE TITLE
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
@@ -11,114 +5,114 @@ msgstr ""
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
+"Language: zh_CN\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Translate Toolkit 2.2.5\n"
 
 #. type: Content of: <sect1><sect1info><address>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:14
 #, no-wrap
 msgid "&gzip-url;"
-msgstr ""
+msgstr "&gzip-url;"
 
 #. type: Content of: <sect1><sect1info>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:12
 msgid ""
-"<productname>gzip</productname> "
-"<productnumber>&gzip-version;</productnumber> <placeholder type=\"address\" "
-"id=\"0\"/>"
+"<productname>gzip</productname> <productnumber>&gzip-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 msgstr ""
+"<productname>gzip</productname> <productnumber>&gzip-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 
 #. type: Content of: <sect1><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:17
 msgid "Gzip-&gzip-version;"
-msgstr ""
+msgstr "Gzip-&gzip-version;"
 
 #. type: Content of: <sect1><indexterm><primary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:20
 msgid "Gzip"
-msgstr ""
+msgstr "Gzip"
 
 #. type: Content of: <sect1><indexterm><secondary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:21
 msgid "tools"
-msgstr ""
+msgstr "tools"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:32
 msgid "&buildtime;"
-msgstr ""
+msgstr "&buildtime;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:33
 msgid "&diskspace;"
-msgstr ""
+msgstr "&diskspace;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:36
 msgid "&gzip-tmp-sbu;"
-msgstr ""
+msgstr "&gzip-tmp-sbu;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:37
 msgid "&gzip-tmp-du;"
-msgstr ""
+msgstr "&gzip-tmp-du;"
 
 #. type: Content of: <sect1><sect2><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:44
 msgid "Installation of Gzip"
-msgstr ""
+msgstr "安装 Gzip"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:46
 msgid "Prepare Gzip for compilation:"
-msgstr ""
+msgstr "准备编译 Gzip:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:48
 #, no-wrap
-msgid ""
-"<userinput remap=\"configure\">./configure --prefix=/usr "
-"--host=$LFS_TGT</userinput>"
-msgstr ""
+msgid "<userinput remap=\"configure\">./configure --prefix=/usr --host=$LFS_TGT</userinput>"
+msgstr "<userinput remap=\"configure\">./configure --prefix=/usr --host=$LFS_TGT</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:50
 msgid "Compile the package:"
-msgstr ""
+msgstr "编译该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:52
 #, no-wrap
 msgid "<userinput remap=\"make\">make</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"make\">make</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:54
 msgid "Install the package:"
-msgstr ""
+msgstr "安装该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:56
 #, no-wrap
 msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:58
 msgid "Move the excutable to its final expected location:"
-msgstr ""
+msgstr "将可执行文件移动到最终安装时的正确位置:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:60
 #, no-wrap
 msgid "<userinput remap=\"install\">mv -v $LFS/usr/bin/gzip $LFS/bin</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">mv -v $LFS/usr/bin/gzip $LFS/bin</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/gzip.xml:67
 msgid ""
-"Details on this package are located in <xref linkend=\"contents-gzip\" "
-"role=\".\"/>"
-msgstr ""
+"Details on this package are located in <xref linkend=\"contents-gzip\" role="
+"\".\"/>"
+msgstr "该软件包的详细信息可以在<xref linkend=\"contents-gzip\"/>中找到。"

+ 31 - 29
zh_CN/chapter06/make.po

@@ -1,9 +1,3 @@
-# SOME DESCRIPTIVE TITLE
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
@@ -11,69 +5,71 @@ msgstr ""
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
+"Language: zh_CN\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Translate Toolkit 2.2.5\n"
 
 #. type: Content of: <sect1><sect1info><address>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:13
 #, no-wrap
 msgid "&make-url;"
-msgstr ""
+msgstr "&make-url;"
 
 #. type: Content of: <sect1><sect1info>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:11
 msgid ""
-"<productname>make</productname> "
-"<productnumber>&make-version;</productnumber> <placeholder type=\"address\" "
-"id=\"0\"/>"
+"<productname>make</productname> <productnumber>&make-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 msgstr ""
+"<productname>make</productname> <productnumber>&make-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 
 #. type: Content of: <sect1><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:16
 msgid "Make-&make-version;"
-msgstr ""
+msgstr "Make-&make-version;"
 
 #. type: Content of: <sect1><indexterm><primary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:19
 msgid "Make"
-msgstr ""
+msgstr "Make"
 
 #. type: Content of: <sect1><indexterm><secondary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:20
 msgid "tools"
-msgstr ""
+msgstr "tools"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:31
 msgid "&buildtime;"
-msgstr ""
+msgstr "&buildtime;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:32
 msgid "&diskspace;"
-msgstr ""
+msgstr "&diskspace;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:35
 msgid "&make-tmp-sbu;"
-msgstr ""
+msgstr "&make-tmp-sbu;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:36
 msgid "&make-tmp-du;"
-msgstr ""
+msgstr "&make-tmp-du;"
 
 #. type: Content of: <sect1><sect2><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:43
 msgid "Installation of Make"
-msgstr ""
+msgstr "安装 Make"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:45
 msgid "Prepare Make for compilation:"
-msgstr ""
+msgstr "准备编译 Make:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:47
@@ -84,16 +80,20 @@ msgid ""
 "            --host=$LFS_TGT \\\n"
 "            --build=$(build-aux/config.guess)</userinput>"
 msgstr ""
+"<userinput remap=\"configure\">./configure --prefix=/usr   \\\n"
+"            --without-guile \\\n"
+"            --host=$LFS_TGT \\\n"
+"            --build=$(build-aux/config.guess)</userinput>"
 
 #. type: Content of: <sect1><sect2><variablelist><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:53
 msgid "The meaning of the new configure option:"
-msgstr ""
+msgstr "新出现的配置选项的含义:"
 
 #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:56
 msgid "<parameter>--without-guile</parameter>"
-msgstr ""
+msgstr "<parameter>--without-guile</parameter>"
 
 #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:58
@@ -102,32 +102,34 @@ msgid ""
 "host if it finds it. This makes compilation fail, so this switch prevents "
 "using it."
 msgstr ""
+"尽管我们在进行交叉编译,配置脚本如果找到宿主系统的 guile,"
+"仍然会试图使用它。这导致编译失败,因此使用该选项防止使用 guile。"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:65
 msgid "Compile the package:"
-msgstr ""
+msgstr "编译该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:67
 #, no-wrap
 msgid "<userinput remap=\"make\">make</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"make\">make</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:69
 msgid "Install the package:"
-msgstr ""
+msgstr "安装该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:71
 #, no-wrap
 msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/make.xml:78
 msgid ""
-"Details on this package are located in <xref linkend=\"contents-make\" "
-"role=\".\"/>"
-msgstr ""
+"Details on this package are located in <xref linkend=\"contents-make\" role="
+"\".\"/>"
+msgstr "该软件包的详细信息可以在<xref linkend=\"contents-make\"/>中找到。"

+ 26 - 27
zh_CN/chapter06/patch.po

@@ -1,9 +1,3 @@
-# SOME DESCRIPTIVE TITLE
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
@@ -11,69 +5,71 @@ msgstr ""
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
+"Language: zh_CN\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Translate Toolkit 2.2.5\n"
 
 #. type: Content of: <sect1><sect1info><address>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/patch.xml:14
 #, no-wrap
 msgid "&patch-url;"
-msgstr ""
+msgstr "&patch-url;"
 
 #. type: Content of: <sect1><sect1info>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/patch.xml:12
 msgid ""
-"<productname>patch</productname> "
-"<productnumber>&patch-version;</productnumber> <placeholder type=\"address\" "
-"id=\"0\"/>"
+"<productname>patch</productname> <productnumber>&patch-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 msgstr ""
+"<productname>patch</productname> <productnumber>&patch-version;</"
+"productnumber> <placeholder type=\"address\" id=\"0\"/>"
 
 #. type: Content of: <sect1><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/patch.xml:17
 msgid "Patch-&patch-version;"
-msgstr ""
+msgstr "Patch-&patch-version;"
 
 #. type: Content of: <sect1><indexterm><primary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/patch.xml:20
 msgid "Patch"
-msgstr ""
+msgstr "Patch"
 
 #. type: Content of: <sect1><indexterm><secondary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/patch.xml:21
 msgid "tools"
-msgstr ""
+msgstr "tools"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/patch.xml:32
 msgid "&buildtime;"
-msgstr ""
+msgstr "&buildtime;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/patch.xml:33
 msgid "&diskspace;"
-msgstr ""
+msgstr "&diskspace;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/patch.xml:36
 msgid "&patch-tmp-sbu;"
-msgstr ""
+msgstr "&patch-tmp-sbu;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/patch.xml:37
 msgid "&patch-tmp-du;"
-msgstr ""
+msgstr "&patch-tmp-du;"
 
 #. type: Content of: <sect1><sect2><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/patch.xml:44
 msgid "Installation of Patch"
-msgstr ""
+msgstr "安装 Patch"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/patch.xml:46
 msgid "Prepare Patch for compilation:"
-msgstr ""
+msgstr "准备编译 Patch:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/patch.xml:48
@@ -83,32 +79,35 @@ msgid ""
 "            --host=$LFS_TGT \\\n"
 "            --build=$(build-aux/config.guess)</userinput>"
 msgstr ""
+"<userinput remap=\"configure\">./configure --prefix=/usr   \\\n"
+"            --host=$LFS_TGT \\\n"
+"            --build=$(build-aux/config.guess)</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/patch.xml:52
 msgid "Compile the package:"
-msgstr ""
+msgstr "编译该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/patch.xml:54
 #, no-wrap
 msgid "<userinput remap=\"make\">make</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"make\">make</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/patch.xml:56
 msgid "Install the package:"
-msgstr ""
+msgstr "安装该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/patch.xml:58
 #, no-wrap
 msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/patch.xml:65
 msgid ""
-"Details on this package are located in <xref linkend=\"contents-patch\" "
-"role=\".\"/>"
-msgstr ""
+"Details on this package are located in <xref linkend=\"contents-patch\" role="
+"\".\"/>"
+msgstr "该软件包的详细信息可以在<xref linkend=\"contents-patch\"/>中找到。"

+ 24 - 24
zh_CN/chapter06/sed.po

@@ -1,9 +1,3 @@
-# SOME DESCRIPTIVE TITLE
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
@@ -11,16 +5,17 @@ msgstr ""
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
+"Language: zh_CN\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Translate Toolkit 2.2.5\n"
 
 #. type: Content of: <sect1><sect1info><address>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/sed.xml:14
 #, no-wrap
 msgid "&sed-url;"
-msgstr ""
+msgstr "&sed-url;"
 
 #. type: Content of: <sect1><sect1info>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/sed.xml:12
@@ -28,51 +23,53 @@ msgid ""
 "<productname>sed</productname> <productnumber>&sed-version;</productnumber> "
 "<placeholder type=\"address\" id=\"0\"/>"
 msgstr ""
+"<productname>sed</productname> <productnumber>&sed-version;</productnumber> "
+"<placeholder type=\"address\" id=\"0\"/>"
 
 #. type: Content of: <sect1><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/sed.xml:17
 msgid "Sed-&sed-version;"
-msgstr ""
+msgstr "Sed-&sed-version;"
 
 #. type: Content of: <sect1><indexterm><primary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/sed.xml:20
 msgid "Sed"
-msgstr ""
+msgstr "Sed"
 
 #. type: Content of: <sect1><indexterm><secondary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/sed.xml:21
 msgid "tools"
-msgstr ""
+msgstr "tools"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/sed.xml:32
 msgid "&buildtime;"
-msgstr ""
+msgstr "&buildtime;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/sed.xml:33
 msgid "&diskspace;"
-msgstr ""
+msgstr "&diskspace;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/sed.xml:36
 msgid "&sed-tmp-sbu;"
-msgstr ""
+msgstr "&sed-tmp-sbu;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/sed.xml:37
 msgid "&sed-tmp-du;"
-msgstr ""
+msgstr "&sed-tmp-du;"
 
 #. type: Content of: <sect1><sect2><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/sed.xml:44
 msgid "Installation of Sed"
-msgstr ""
+msgstr "安装 Sed"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/sed.xml:46
 msgid "Prepare Sed for compilation:"
-msgstr ""
+msgstr "准备编译 Sed:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/sed.xml:48
@@ -82,32 +79,35 @@ msgid ""
 "            --host=$LFS_TGT \\\n"
 "            --bindir=/bin</userinput>"
 msgstr ""
+"<userinput remap=\"configure\">./configure --prefix=/usr   \\\n"
+"            --host=$LFS_TGT \\\n"
+"            --bindir=/bin</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/sed.xml:52
 msgid "Compile the package:"
-msgstr ""
+msgstr "编译该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/sed.xml:54
 #, no-wrap
 msgid "<userinput remap=\"make\">make</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"make\">make</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/sed.xml:56
 msgid "Install the package:"
-msgstr ""
+msgstr "安装该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/sed.xml:58
 #, no-wrap
 msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/sed.xml:65
 msgid ""
-"Details on this package are located in <xref linkend=\"contents-sed\" "
-"role=\".\"/>"
-msgstr ""
+"Details on this package are located in <xref linkend=\"contents-sed\" role="
+"\".\"/>"
+msgstr "该软件包的详细信息可以在<xref linkend=\"contents-sed\"/>中找到。"

+ 26 - 26
zh_CN/chapter06/tar.po

@@ -1,9 +1,3 @@
-# SOME DESCRIPTIVE TITLE
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
@@ -11,16 +5,17 @@ msgstr ""
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
+"Language: zh_CN\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Translate Toolkit 2.2.5\n"
 
 #. type: Content of: <sect1><sect1info><address>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/tar.xml:14
 #, no-wrap
 msgid "&tar-url;"
-msgstr ""
+msgstr "&tar-url;"
 
 #. type: Content of: <sect1><sect1info>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/tar.xml:12
@@ -28,88 +23,93 @@ msgid ""
 "<productname>tar</productname> <productnumber>&tar-version;</productnumber> "
 "<placeholder type=\"address\" id=\"0\"/>"
 msgstr ""
+"<productname>tar</productname> <productnumber>&tar-version;</productnumber> "
+"<placeholder type=\"address\" id=\"0\"/>"
 
 #. type: Content of: <sect1><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/tar.xml:17
 msgid "Tar-&tar-version;"
-msgstr ""
+msgstr "Tar-&tar-version;"
 
 #. type: Content of: <sect1><indexterm><primary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/tar.xml:20
 msgid "Tar"
-msgstr ""
+msgstr "Tar"
 
 #. type: Content of: <sect1><indexterm><secondary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/tar.xml:21
 msgid "tools"
-msgstr ""
+msgstr "tools"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/tar.xml:32
 msgid "&buildtime;"
-msgstr ""
+msgstr "&buildtime;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/tar.xml:33
 msgid "&diskspace;"
-msgstr ""
+msgstr "&diskspace;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/tar.xml:36
 msgid "&tar-tmp-sbu;"
-msgstr ""
+msgstr "&tar-tmp-sbu;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/tar.xml:37
 msgid "&tar-tmp-du;"
-msgstr ""
+msgstr "&tar-tmp-du;"
 
 #. type: Content of: <sect1><sect2><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/tar.xml:44
 msgid "Installation of Tar"
-msgstr ""
+msgstr "安装 Tar"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/tar.xml:46
 msgid "Prepare Tar for compilation:"
-msgstr ""
+msgstr "准备编译 Tar:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/tar.xml:48
 #, no-wrap
 msgid ""
-"<userinput remap=\"configure\">./configure --prefix=/usr                     "
-"\\\n"
+"<userinput remap=\"configure\">./configure --prefix=/usr                     \\\n"
 "            --host=$LFS_TGT                   \\\n"
 "            --build=$(build-aux/config.guess) \\\n"
 "            --bindir=/bin</userinput>"
 msgstr ""
+"<userinput remap=\"configure\">./configure --prefix=/usr                     \\\n"
+"            --host=$LFS_TGT                   \\\n"
+"            --build=$(build-aux/config.guess) \\\n"
+"            --bindir=/bin</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/tar.xml:53
 msgid "Compile the package:"
-msgstr ""
+msgstr "编译该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/tar.xml:55
 #, no-wrap
 msgid "<userinput remap=\"make\">make</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"make\">make</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/tar.xml:57
 msgid "Install the package:"
-msgstr ""
+msgstr "安装该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/tar.xml:59
 #, no-wrap
 msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/tar.xml:66
 msgid ""
-"Details on this package are located in <xref linkend=\"contents-tar\" "
-"role=\".\"/>"
-msgstr ""
+"Details on this package are located in <xref linkend=\"contents-tar\" role="
+"\".\"/>"
+msgstr "该软件包的详细信息可以在<xref linkend=\"contents-tar\"/>中找到。"

+ 33 - 31
zh_CN/chapter06/xz.po

@@ -1,9 +1,3 @@
-# SOME DESCRIPTIVE TITLE
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
@@ -11,16 +5,17 @@ msgstr ""
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
+"Language: zh_CN\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Translate Toolkit 2.2.5\n"
 
 #. type: Content of: <sect1><sect1info><address>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:14
 #, no-wrap
 msgid "&xz-url;"
-msgstr ""
+msgstr "&xz-url;"
 
 #. type: Content of: <sect1><sect1info>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:12
@@ -28,105 +23,112 @@ msgid ""
 "<productname>xz</productname> <productnumber>&xz-version;</productnumber> "
 "<placeholder type=\"address\" id=\"0\"/>"
 msgstr ""
+"<productname>xz</productname> <productnumber>&xz-version;</productnumber> "
+"<placeholder type=\"address\" id=\"0\"/>"
 
 #. type: Content of: <sect1><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:17
 msgid "Xz-&xz-version;"
-msgstr ""
+msgstr "Xz-&xz-version;"
 
 #. type: Content of: <sect1><indexterm><primary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:20
 msgid "Xz"
-msgstr ""
+msgstr "Xz"
 
 #. type: Content of: <sect1><indexterm><secondary>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:21
 msgid "tools"
-msgstr ""
+msgstr "tools"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:32
 msgid "&buildtime;"
-msgstr ""
+msgstr "&buildtime;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:33
 msgid "&diskspace;"
-msgstr ""
+msgstr "&diskspace;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:36
 msgid "&xz-tmp-sbu;"
-msgstr ""
+msgstr "&xz-tmp-sbu;"
 
 #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:37
 msgid "&xz-tmp-du;"
-msgstr ""
+msgstr "&xz-tmp-du;"
 
 #. type: Content of: <sect1><sect2><title>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:44
 msgid "Installation of Xz"
-msgstr ""
+msgstr "安装 Xz"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:46
 msgid "Prepare Xz for compilation:"
-msgstr ""
+msgstr "准备编译 Xz:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:48
 #, no-wrap
 msgid ""
-"<userinput remap=\"configure\">./configure --prefix=/usr                     "
-"\\\n"
+"<userinput remap=\"configure\">./configure --prefix=/usr                     \\\n"
 "            --host=$LFS_TGT                   \\\n"
 "            --build=$(build-aux/config.guess) \\\n"
 "            --disable-static                  \\\n"
 "            --docdir=/usr/share/doc/xz-&xz-version;</userinput>"
 msgstr ""
+"<userinput remap=\"configure\">./configure --prefix=/usr                     \\\n"
+"            --host=$LFS_TGT                   \\\n"
+"            --build=$(build-aux/config.guess) \\\n"
+"            --disable-static                  \\\n"
+"            --docdir=/usr/share/doc/xz-&xz-version;</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:54
 msgid "Compile the package:"
-msgstr ""
+msgstr "编译该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:56
 #, no-wrap
 msgid "<userinput remap=\"make\">make</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"make\">make</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:58
 msgid "Install the package:"
-msgstr ""
+msgstr "安装该软件包:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:60
 #, no-wrap
 msgid "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
-msgstr ""
+msgstr "<userinput remap=\"install\">make DESTDIR=$LFS install</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:62
 msgid "Make sure that all essential files are in the correct directory:"
-msgstr ""
+msgstr "确保所有关键文件位于正确的目录中:"
 
 #. type: Content of: <sect1><sect2><screen>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:64
 #, no-wrap
 msgid ""
-"<userinput remap=\"install\">mv -v "
-"$LFS/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat}  $LFS/bin\n"
+"<userinput remap=\"install\">mv -v $LFS/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat}  $LFS/bin\n"
 "mv -v $LFS/usr/lib/liblzma.so.*                       $LFS/lib\n"
-"ln -svf ../../lib/$(readlink $LFS/usr/lib/liblzma.so) "
-"$LFS/usr/lib/liblzma.so</userinput>"
+"ln -svf ../../lib/$(readlink $LFS/usr/lib/liblzma.so) $LFS/usr/lib/liblzma.so</userinput>"
 msgstr ""
+"<userinput remap=\"install\">mv -v $LFS/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat}  $LFS/bin\n"
+"mv -v $LFS/usr/lib/liblzma.so.*                       $LFS/lib\n"
+"ln -svf ../../lib/$(readlink $LFS/usr/lib/liblzma.so) $LFS/usr/lib/liblzma.so</userinput>"
 
 #. type: Content of: <sect1><sect2><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter06/xz.xml:72
 msgid ""
-"Details on this package are located in <xref linkend=\"contents-xz\" "
-"role=\".\"/>"
-msgstr ""
+"Details on this package are located in <xref linkend=\"contents-xz\" role=\"."
+"\"/>"
+msgstr "该软件包的详细信息可以在<xref linkend=\"contents-xz\"/>中找到。"