flex.po 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. msgid ""
  2. msgstr ""
  3. "Project-Id-Version: PACKAGE VERSION\n"
  4. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  5. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  6. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  7. "Language-Team: LANGUAGE <LL@li.org>\n"
  8. "Language: zh_CN\n"
  9. "MIME-Version: 1.0\n"
  10. "Content-Type: text/plain; charset=UTF-8\n"
  11. "Content-Transfer-Encoding: 8bit\n"
  12. "X-Generator: Translate Toolkit 2.2.5\n"
  13. #. type: Content of: <sect1><sect1info><address>
  14. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:14
  15. #, no-wrap
  16. msgid "&flex-url;"
  17. msgstr "&flex-url;"
  18. #. type: Content of: <sect1><sect1info>
  19. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:12
  20. msgid ""
  21. "<productname>flex</productname> <productnumber>&flex-version;</"
  22. "productnumber> <placeholder type=\"address\" id=\"0\"/>"
  23. msgstr ""
  24. "<productname>flex</productname> <productnumber>&flex-version;</"
  25. "productnumber> <placeholder type=\"address\" id=\"0\"/>"
  26. #. type: Content of: <sect1><title>
  27. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:17
  28. msgid "Flex-&flex-version;"
  29. msgstr "Flex-&flex-version;"
  30. #. type: Content of: <sect1><indexterm><primary>
  31. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:20
  32. msgid "Flex"
  33. msgstr "Flex"
  34. #. type: Content of: <sect1><sect2><para>
  35. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:26
  36. msgid ""
  37. "The Flex package contains a utility for generating programs that recognize "
  38. "patterns in text."
  39. msgstr "Flex 软件包包含一个工具,用于生成在文本中识别模式的程序。"
  40. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  41. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:30
  42. msgid "&buildtime;"
  43. msgstr "&buildtime;"
  44. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  45. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:31
  46. msgid "&diskspace;"
  47. msgstr "&diskspace;"
  48. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  49. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:34
  50. #, fuzzy
  51. msgid "&flex-fin-sbu;"
  52. msgstr "&flex-ch6-sbu;"
  53. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  54. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:35
  55. #, fuzzy
  56. msgid "&flex-fin-du;"
  57. msgstr "&flex-ch6-du;"
  58. #. type: Content of: <sect1><sect2><title>
  59. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:42
  60. msgid "Installation of Flex"
  61. msgstr "安装 Flex"
  62. #. type: Content of: <sect1><sect2><para>
  63. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:54
  64. msgid "Prepare Flex for compilation:"
  65. msgstr ""
  66. #. <screen>
  67. #. <userinput remap="configure">HELP2MAN=/tools/bin/true \
  68. #. type: Content of: <sect1><sect2><screen>
  69. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:57
  70. #, fuzzy, no-wrap
  71. msgid "<userinput remap=\"configure\">./configure --prefix=/usr --docdir=/usr/share/doc/flex-&flex-version;</userinput>"
  72. msgstr ""
  73. "<userinput remap=\"configure\">HELP2MAN=/tools/bin/true \\\n"
  74. "./configure --prefix=/usr --docdir=/usr/share/doc/flex-&flex-version;</userinput>"
  75. #. type: Content of: <sect1><sect2><para>
  76. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:59
  77. msgid "Compile the package:"
  78. msgstr "编译该软件包:"
  79. #. type: Content of: <sect1><sect2><screen>
  80. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:61
  81. #, no-wrap
  82. msgid "<userinput remap=\"make\">make</userinput>"
  83. msgstr "<userinput remap=\"make\">make</userinput>"
  84. #. type: Content of: <sect1><sect2><para>
  85. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:63
  86. msgid "To test the results (about 0.5 SBU), issue:"
  87. msgstr "如果要测试编译结果 (需要约 0.5 SBU), 执行:"
  88. #. type: Content of: <sect1><sect2><screen>
  89. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:65
  90. #, no-wrap
  91. msgid "<userinput remap=\"test\">make check</userinput>"
  92. msgstr "<userinput remap=\"test\">make check</userinput>"
  93. #. type: Content of: <sect1><sect2><para>
  94. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:67
  95. msgid "Install the package:"
  96. msgstr "安装该软件包:"
  97. #. type: Content of: <sect1><sect2><screen>
  98. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:69
  99. #, no-wrap
  100. msgid "<userinput remap=\"install\">make install</userinput>"
  101. msgstr "<userinput remap=\"install\">make install</userinput>"
  102. #. type: Content of: <sect1><sect2><para>
  103. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:71
  104. msgid ""
  105. "A few programs do not know about <command>flex</command> yet and try to run "
  106. "its predecessor, <command>lex</command>. To support those programs, create a "
  107. "symbolic link named <filename>lex</filename> that runs <filename>flex</"
  108. "filename> in <command>lex</command> emulation mode:"
  109. msgstr ""
  110. "个别程序还不知道 <command>flex</command>,并试图去运行它的前身 <command>lex</"
  111. "command>。为了支持这些程序,创建一个名为 <filename>lex</filename> 的符号链"
  112. "接,它运行 <filename>flex</filename> 并启动其模拟 <command>lex</command> 的模"
  113. "式:"
  114. #. type: Content of: <sect1><sect2><screen>
  115. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:77
  116. #, no-wrap
  117. msgid "<userinput remap=\"install\">ln -sv flex /usr/bin/lex</userinput>"
  118. msgstr "<userinput remap=\"install\">ln -sv flex /usr/bin/lex</userinput>"
  119. #. type: Content of: <sect1><sect2><title>
  120. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:82
  121. msgid "Contents of Flex"
  122. msgstr "Flex 的内容"
  123. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  124. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:85
  125. msgid "Installed programs"
  126. msgstr "安装的程序"
  127. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  128. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:86
  129. msgid "Installed libraries"
  130. msgstr "安装的库"
  131. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  132. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:87
  133. msgid "Installed directory"
  134. msgstr "安装的目录"
  135. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  136. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:90
  137. msgid "flex, flex++ (link to flex), and lex (link to flex)"
  138. msgstr "flex, flex++ (到 flex 的链接), 以及 lex (到 flex 的链接)"
  139. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  140. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:91
  141. msgid "libfl.so"
  142. msgstr "libfl.so"
  143. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  144. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:92
  145. msgid "/usr/share/doc/flex-&flex-version;"
  146. msgstr "/usr/share/doc/flex-&flex-version;"
  147. #. type: Content of: <sect1><sect2><variablelist><bridgehead>
  148. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:97
  149. msgid "Short Descriptions"
  150. msgstr "简要描述"
  151. #. type: Content of: <sect1><sect2><variablelist>
  152. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:98
  153. msgid ""
  154. "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>"
  155. msgstr ""
  156. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  157. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:102
  158. msgid "<command>flex</command>"
  159. msgstr "<command>flex</command>"
  160. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  161. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:104
  162. msgid ""
  163. "A tool for generating programs that recognize patterns in text; it allows "
  164. "for the versatility to specify the rules for pattern-finding, eradicating "
  165. "the need to develop a specialized program"
  166. msgstr ""
  167. "一个用于生成在文本文件中识别模式的程序的工具,它允许灵活地指定查找模式的规"
  168. "则,消除了开发专用程序的需要。"
  169. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  170. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:108
  171. msgid "flex"
  172. msgstr "flex"
  173. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  174. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:114
  175. msgid "<command>flex++</command>"
  176. msgstr "<command>flex++</command>"
  177. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  178. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:116
  179. msgid ""
  180. "An extension of flex, is used for generating C++ code and classes. It is a "
  181. "symbolic link to <command>flex</command>"
  182. msgstr ""
  183. "flex 的扩展,用于生成 C++ 代码和类。它是一个指向 <command>flex</command> 的符"
  184. "号链接"
  185. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  186. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:119
  187. msgid "flex++"
  188. msgstr "flex++"
  189. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  190. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:125
  191. msgid "<command>lex</command>"
  192. msgstr "<command>lex</command>"
  193. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  194. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:127
  195. msgid ""
  196. "A symbolic link that runs <command>flex</command> in <command>lex</command> "
  197. "emulation mode"
  198. msgstr ""
  199. "一个以 <command>lex</command> 仿真模式运行 <command>flex</command> 的符号链接"
  200. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  201. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:130
  202. msgid "lex"
  203. msgstr "lex"
  204. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  205. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:136
  206. msgid "<filename class=\"libraryfile\">libfl</filename>"
  207. msgstr "<filename class=\"libraryfile\">libfl</filename>"
  208. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  209. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:138
  210. msgid "The <filename class=\"libraryfile\">flex</filename> library"
  211. msgstr "<filename class=\"libraryfile\">flex</filename> 库"
  212. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  213. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/flex.xml:140
  214. msgid "libfl"
  215. msgstr "libfl"
  216. #~ msgid "First, fix a problem introduced with glibc-2.26:"
  217. #~ msgstr "首先修正一个 glibc-2.26 引入的问题:"
  218. #~ msgid ""
  219. #~ "<userinput remap=\"pre\">sed -i \"/math.h/a #include &lt;malloc.h&gt;\" "
  220. #~ "src/flexdef.h</userinput>"
  221. #~ msgstr ""
  222. #~ "<userinput remap=\"pre\">sed -i \"/math.h/a #include &lt;malloc.h&gt;\" "
  223. #~ "src/flexdef.h</userinput>"
  224. #~ msgid ""
  225. #~ "The build procedure assumes the <application>help2man</application> "
  226. #~ "program is available to create a man page from the executable --help "
  227. #~ "option. This is not present, so we use an environment variable to skip "
  228. #~ "this process. Now, prepare Flex for compilation:"
  229. #~ msgstr ""
  230. #~ "构建过程假设 <application>help2man</application> 程序存在,以根据可执行文"
  231. #~ "件的 --help 选项创建一个 man 页面。然而它并不存在,因此我们使用一个环境"
  232. #~ "变量,跳过这一过程。现在,准备编译 Flex:"