Sfoglia il codice sorgente

update to r11984, hope this will fix PDF issue

Xℹ Ruoyao 4 anni fa
parent
commit
9d4a9403b1
2 ha cambiato i file con 4 aggiunte e 7 eliminazioni
  1. 4 6
      zh_CN/chapter02/hostreqs.po
  2. 0 1
      zh_CN/fix.sh

+ 4 - 6
zh_CN/chapter02/hostreqs.po

@@ -1,7 +1,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2020-06-18 10:43+0800\n"
+"POT-Creation-Date: 2020-06-23 21:33+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"
@@ -226,10 +226,8 @@ msgid ""
 msgstr ""
 "为了确定您的宿主系统拥有每个软件的合适版本,且能够编译程序,请运行下列脚本。"
 
-#.  ANY additional lines in the script cause a pdf rendering problem
 #. type: Content of: <sect1><screen>
-#: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:161
-#, no-wrap
+#: /home/xry111/svn-repos/LFS-BOOK/chapter02/hostreqs.xml:160
 msgid ""
 "<userinput>cat &gt; version-check.sh &lt;&lt; \"EOF\"\n"
 "<literal>#!/bin/bash\n"
@@ -281,7 +279,7 @@ msgid ""
 "tar --version | head -n1\n"
 "makeinfo --version | head -n1  # texinfo version\n"
 "xz --version | head -n1\n"
-"<?hard-pagebreak?>\n"
+"\n"
 "echo 'int main(){}' &gt; dummy.c &amp;&amp; g++ -o dummy dummy.c\n"
 "if [ -x dummy ]\n"
 "  then echo \"g++ compilation OK\";\n"
@@ -291,7 +289,6 @@ msgid ""
 "\n"
 "bash version-check.sh</userinput>"
 msgstr ""
-"<?hard-pagebreak?>\n"
 "<userinput>cat &gt; version-check.sh &lt;&lt; \"EOF\"\n"
 "<literal>#!/bin/bash\n"
 "# Simple script to list version numbers of critical development tools\n"
@@ -342,6 +339,7 @@ msgstr ""
 "tar --version | head -n1\n"
 "makeinfo --version | head -n1  # texinfo version\n"
 "xz --version | head -n1\n"
+"\n"
 "echo 'int main(){}' &gt; dummy.c &amp;&amp; g++ -o dummy dummy.c\n"
 "if [ -x dummy ]\n"
 "  then echo \"g++ compilation OK\";\n"

+ 0 - 1
zh_CN/fix.sh

@@ -81,7 +81,6 @@ sed -n '
 }
 $p
 '   -i \
-	chapter02/hostreqs.xml                       \
 	chapter06/ncurses.xml                        \
 	chapter08/glibc.xml                          \
 	chapter08/flex.xml                           \