Pārlūkot izejas kodu

fix up xreflabel "General Compilation Instructions"

Xℹ Ruoyao 5 gadi atpakaļ
vecāks
revīzija
482924d792
2 mainītis faili ar 7 papildinājumiem un 4 dzēšanām
  1. 4 4
      zh_CN/chapter02/stages.po
  2. 3 0
      zh_CN/fix.sh

+ 4 - 4
zh_CN/chapter02/stages.po

@@ -70,7 +70,7 @@ msgid ""
 "host, and potentially rendering it unusable."
 msgstr ""
 "第 5 章的<emphasis>所有</emphasis>步骤必须由用户 <emphasis>lfs</emphasis> 完"
-"成。在执行第 5 章的任务时,必须先执行<command>su - lfs</command>命令。"
+"成。在执行第 5 章的任务时,必须先执行 <command>su - lfs</command> 命令。"
 
 #. type: Content of: <sect1><sect2><itemizedlist><listitem><para>
 #: /home/xry111/svn-repos/LFS-BOOK/chapter02/stages.xml:51
@@ -80,7 +80,7 @@ msgid ""
 "previously expanded tarballs are removed, then re-extract the package files, "
 "and complete all instructions in that section."
 msgstr ""
-"<xref linkend='ch-tools-generalinstructions'/> 中的过程是关键的。如果在安装软"
+"<xref linkend='ch-tools-generalinstructions'/>中的过程是关键的。如果在安装软"
 "件包时感觉不对劲,确认之前解压的源码包已经被删除,然后重新解压源码包的文"
 "件,重新执行该软件包对应章节的所有命令。"
 
@@ -116,5 +116,5 @@ msgid ""
 "the commands in <xref linkend='ch-system-bindmount'/> and <xref linkend='ch-"
 "system-kernfsmount'/>."
 msgstr ""
-"虚拟文件系统必须挂载好,在进入 chroot 环境之前,请执行 <xref linkend='ch-"
-"system-bindmount'/>  <xref linkend='ch-system-kernfsmount'/> 中的命令。"
+"虚拟文件系统必须挂载好,在进入 chroot 环境之前,请执行<xref linkend='ch-"
+"system-bindmount'/>和<xref linkend='ch-system-kernfsmount'/>中的命令。"

+ 3 - 0
zh_CN/fix.sh

@@ -16,6 +16,9 @@ sed -e '/xreflabel/s|Chapter.nbsp.\([0-9]\+\)|第 \1 章|' \
 sed -e '/xreflabel/s|Host System Requirements|宿主系统需求|' \
 	-i chapter02/hostreqs.xml
 
+sed -e '/xreflabel/s|General Compilation Instructions|通用编译说明|' \
+	-i part3intro/generalinstructions.xml
+
 sed -e '/xreflabel/s|Toolchain Technical Notes|工具链技术说明|' \
 	-i part3intro/toolchaintechnotes.xml