tcl.po 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  1. msgid ""
  2. msgstr ""
  3. "Project-Id-Version: PACKAGE VERSION\n"
  4. "POT-Creation-Date: 2020-06-23 15:47+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 the tdbc-ver entity
  14. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:6
  15. msgid "1.1.1"
  16. msgstr "1.1.1"
  17. #. type: Content of the itcl-ver entity
  18. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:7
  19. msgid "4.2.0"
  20. msgstr "4.2.0"
  21. #. type: Content of: <sect1><sect1info><address>
  22. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:16
  23. #, no-wrap
  24. msgid "&tcl-url;"
  25. msgstr "&tcl-url;"
  26. #. type: Content of: <sect1><sect1info>
  27. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:14
  28. msgid ""
  29. "<productname>tcl</productname> <productnumber>&tcl-version;</productnumber> "
  30. "<placeholder type=\"address\" id=\"0\"/>"
  31. msgstr ""
  32. "<productname>tcl</productname> <productnumber>&tcl-version;</productnumber> "
  33. "<placeholder type=\"address\" id=\"0\"/>"
  34. #. type: Content of: <sect1><title>
  35. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:19
  36. msgid "Tcl-&tcl-version;"
  37. msgstr "Tcl-&tcl-version;"
  38. #. type: Content of: <sect1><indexterm><primary>
  39. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:22
  40. msgid "Tcl"
  41. msgstr "Tcl"
  42. #. type: Content of: <sect1><sect2><para>
  43. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:28
  44. msgid ""
  45. "The <application>Tcl</application> package contains the Tool Command "
  46. "Language, a robust general-purpose scripting language. The "
  47. "<application>Expect</application> package is written in the "
  48. "<application>Tcl</application> language."
  49. msgstr ""
  50. "<application>Tcl</application> 软件包包含工具命令语言,它是一个可靠的通用脚本"
  51. "语言。<application>Except</application> 软件包是用 <application>Tcl</"
  52. "application> 语言编写的."
  53. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  54. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:33
  55. msgid "&buildtime;"
  56. msgstr "&buildtime;"
  57. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  58. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:34
  59. msgid "&diskspace;"
  60. msgstr "&diskspace;"
  61. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  62. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:37
  63. msgid "&tcl-tmp-sbu;"
  64. msgstr "&tcl-tmp-sbu;"
  65. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  66. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:38
  67. msgid "&tcl-tmp-du;"
  68. msgstr "&tcl-tmp-du;"
  69. #. type: Content of: <sect1><sect2><title>
  70. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:45
  71. msgid "Installation of Tcl"
  72. msgstr "安装 Tcl"
  73. #. type: Content of: <sect1><sect2><para>
  74. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:47
  75. msgid ""
  76. "This package and the next two (Expect and DejaGNU) are installed to support "
  77. "running the test suites for GCC and binutils and other packages. Installing "
  78. "three packages for testing purposes may seem excessive, but it is very "
  79. "reassuring, if not essential, to know that the most important tools are "
  80. "working properly. These packages are required to run the test suites in this "
  81. "chapter."
  82. msgstr ""
  83. "为了支持 GCC 和 Binutils 等软件包测试套件的运行,需要安装这个软件包和接下来的"
  84. "两个 (Expect 与 DejaGNU)。为了测试目的安装三个软件包看似浪费,但是只有运行了"
  85. "测试,才能放心地确定多数重要工具可以正常工作,即使测试不是必要的。我们必须安"
  86. "装这些软件包,才能执行本章中的测试套"
  87. "件。"
  88. #. type: Content of: <sect1><sect2><para>
  89. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:58
  90. msgid "First, unpack the documentation by issuing the following command:"
  91. msgstr "首先,运行以下命令解压文档:"
  92. #. type: Content of: <sect1><sect2><screen>
  93. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:60
  94. #, no-wrap
  95. msgid "<userinput remap=\"pre\">tar -xf ../tcl8.6.10-html.tar.gz --strip-components=1</userinput>"
  96. msgstr "<userinput remap=\"pre\">tar -xf ../tcl8.6.10-html.tar.gz --strip-components=1</userinput>"
  97. #. type: Content of: <sect1><sect2><para>
  98. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:62
  99. msgid "Prepare Tcl for compilation:"
  100. msgstr "准备编译 Tcl:"
  101. #. type: Content of: <sect1><sect2><screen>
  102. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:64
  103. #, no-wrap
  104. msgid ""
  105. "<userinput remap=\"configure\">SRCDIR=$(pwd)\n"
  106. "cd unix\n"
  107. "./configure --prefix=/usr \\\n"
  108. " --mandir=/usr/share/man \\\n"
  109. " $([ \"$(uname -m)\" = x86_64 ] &amp;&amp; echo --enable-64bit)</userinput>"
  110. msgstr ""
  111. "<userinput remap=\"configure\">SRCDIR=$(pwd)\n"
  112. "cd unix\n"
  113. "./configure --prefix=/usr \\\n"
  114. " --mandir=/usr/share/man \\\n"
  115. " $([ \"$(uname -m)\" = x86_64 ] &amp;&amp; echo --enable-64bit)</userinput>"
  116. #. type: Content of: <sect1><sect2><variablelist><title>
  117. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:71
  118. msgid "The meaning of the configure options:"
  119. msgstr "配置选项的含义:"
  120. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  121. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:74
  122. msgid ""
  123. "<parameter>$([ \"$(uname -m)\" = x86_64 ] &amp;&amp; echo --enable-64bit)</"
  124. "parameter>"
  125. msgstr ""
  126. "<parameter>$([ \"$(uname -m)\" = x86_64 ] &amp;&amp; echo --enable-64bit)</"
  127. "parameter>"
  128. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  129. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:76
  130. msgid ""
  131. "The construct <parameter>$(&lt;shell command&gt;)</parameter> is replaced by "
  132. "the output of the shell command. Here this output is empty if running on a "
  133. "32 bit machine, and is <parameter>--enable-64bit</parameter> if running on a "
  134. "64 bit machine."
  135. msgstr ""
  136. "<parameter>$(&lt;shell 命令&gt;)</parameter> 会被 shell 替换为 shell 命令的输"
  137. "出。这里,如果在 32 位机器上,输出是空的,而如果在 64 位机器上,输出是 "
  138. "<parameter>--enable-64bit</parameter>。"
  139. #. type: Content of: <sect1><sect2><para>
  140. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:86
  141. msgid "Build the package:"
  142. msgstr "构建该软件包:"
  143. #. type: Content of: <sect1><sect2><screen>
  144. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:88
  145. #, no-wrap
  146. msgid ""
  147. "<userinput remap=\"make\">make\n"
  148. "\n"
  149. "sed -e \"s|$SRCDIR/unix|/usr/lib|\" \\\n"
  150. " -e \"s|$SRCDIR|/usr/include|\" \\\n"
  151. " -i tclConfig.sh\n"
  152. "\n"
  153. "sed -e \"s|$SRCDIR/unix/pkgs/tdbc&tdbc-ver;|/usr/lib/tdbc&tdbc-ver;|\" \\\n"
  154. " -e \"s|$SRCDIR/pkgs/tdbc&tdbc-ver;/generic|/usr/include|\" \\\n"
  155. " -e \"s|$SRCDIR/pkgs/tdbc&tdbc-ver;/library|/usr/lib/tcl8.6|\" \\\n"
  156. " -e \"s|$SRCDIR/pkgs/tdbc&tdbc-ver;|/usr/include|\" \\\n"
  157. " -i pkgs/tdbc&tdbc-ver;/tdbcConfig.sh\n"
  158. "\n"
  159. "sed -e \"s|$SRCDIR/unix/pkgs/itcl&itcl-ver;|/usr/lib/itcl&itcl-ver;|\" \\\n"
  160. " -e \"s|$SRCDIR/pkgs/itcl&itcl-ver;/generic|/usr/include|\" \\\n"
  161. " -e \"s|$SRCDIR/pkgs/itcl&itcl-ver;|/usr/include|\" \\\n"
  162. " -i pkgs/itcl&itcl-ver;/itclConfig.sh\n"
  163. "\n"
  164. "unset SRCDIR</userinput>"
  165. msgstr ""
  166. "<userinput remap=\"make\">make\n"
  167. "\n"
  168. "sed -e \"s|$SRCDIR/unix|/usr/lib|\" \\\n"
  169. " -e \"s|$SRCDIR|/usr/include|\" \\\n"
  170. " -i tclConfig.sh\n"
  171. "\n"
  172. "sed -e \"s|$SRCDIR/unix/pkgs/tdbc&tdbc-ver;|/usr/lib/tdbc&tdbc-ver;|\" \\\n"
  173. " -e \"s|$SRCDIR/pkgs/tdbc&tdbc-ver;/generic|/usr/include|\" \\\n"
  174. " -e \"s|$SRCDIR/pkgs/tdbc&tdbc-ver;/library|/usr/lib/tcl8.6|\" \\\n"
  175. " -e \"s|$SRCDIR/pkgs/tdbc&tdbc-ver;|/usr/include|\" \\\n"
  176. " -i pkgs/tdbc&tdbc-ver;/tdbcConfig.sh\n"
  177. "\n"
  178. "sed -e \"s|$SRCDIR/unix/pkgs/itcl&itcl-ver;|/usr/lib/itcl&itcl-ver;|\" \\\n"
  179. " -e \"s|$SRCDIR/pkgs/itcl&itcl-ver;/generic|/usr/include|\" \\\n"
  180. " -e \"s|$SRCDIR/pkgs/itcl&itcl-ver;|/usr/include|\" \\\n"
  181. " -i pkgs/itcl&itcl-ver;/itclConfig.sh\n"
  182. "\n"
  183. "unset SRCDIR</userinput>"
  184. #. type: Content of: <sect1><sect2><para>
  185. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:107
  186. msgid ""
  187. "The various <quote>sed</quote> instructions after the <quote>make</quote> "
  188. "command removes references to the build directory from the configuration "
  189. "files and replaces them with the install directory. This is not mandatory "
  190. "for the remainder of LFS, but may be needed in case a package built later "
  191. "uses Tcl."
  192. msgstr ""
  193. "<quote>make</quote>命令之后的若干<quote>sed</quote>命令从配置文件中删除构建目"
  194. "录,并用安装目录替换它们。构建 LFS 的后续过程不对此严格要求,但如果之后构建使"
  195. "用 Tcl 的软件包,则可能需要这样的操作。"
  196. #. type: Content of: <sect1><sect2><para>
  197. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:113
  198. msgid "To test the results, issue:"
  199. msgstr "运行以下命令,以测试编译结果:"
  200. #. type: Content of: <sect1><sect2><screen>
  201. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:115
  202. #, no-wrap
  203. msgid "<userinput remap=\"test\">make test</userinput>"
  204. msgstr "<userinput remap=\"test\">make test</userinput>"
  205. #. type: Content of: <sect1><sect2><para>
  206. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:117
  207. msgid "Install the package:"
  208. msgstr "安装该软件包:"
  209. #. type: Content of: <sect1><sect2><screen>
  210. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:119
  211. #, no-wrap
  212. msgid "<userinput remap=\"install\">make install</userinput>"
  213. msgstr "<userinput remap=\"install\">make install</userinput>"
  214. #. type: Content of: <sect1><sect2><para>
  215. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:121
  216. msgid ""
  217. "Make the installed library writable so debugging symbols can be removed "
  218. "later:"
  219. msgstr "将安装好的库加上写入权限,以便将来移除调试符号:"
  220. #. type: Content of: <sect1><sect2><screen>
  221. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:124
  222. #, no-wrap
  223. msgid "<userinput remap=\"install\">chmod -v u+w /usr/lib/libtcl&tcl-major-version;.so</userinput>"
  224. msgstr "<userinput remap=\"install\">chmod -v u+w /usr/lib/libtcl&tcl-major-version;.so</userinput>"
  225. #. type: Content of: <sect1><sect2><para>
  226. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:126
  227. msgid "Install Tcl's headers. The next package, Expect, requires them."
  228. msgstr "安装 Tcl 的头文件。下一个软件包 Expect 需要它们才能构建。"
  229. #. type: Content of: <sect1><sect2><screen>
  230. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:128
  231. #, no-wrap
  232. msgid "<userinput remap=\"install\">make install-private-headers</userinput>"
  233. msgstr "<userinput remap=\"install\">make install-private-headers</userinput>"
  234. #. type: Content of: <sect1><sect2><para>
  235. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:130
  236. msgid "Now make a necessary symbolic link:"
  237. msgstr "创建一个必要的符号链接:"
  238. #. type: Content of: <sect1><sect2><screen>
  239. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:132
  240. #, no-wrap
  241. msgid "<userinput remap=\"install\">ln -sfv tclsh&tcl-major-version; /usr/bin/tclsh</userinput>"
  242. msgstr "<userinput remap=\"install\">ln -sfv tclsh&tcl-major-version; /usr/bin/tclsh</userinput>"
  243. #. type: Content of: <sect1><sect2><title>
  244. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:137
  245. msgid "Contents of Tcl"
  246. msgstr "Tcl 的内容"
  247. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  248. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:140
  249. msgid "Installed programs"
  250. msgstr "安装的程序"
  251. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  252. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:141
  253. msgid "Installed library"
  254. msgstr "安装的库"
  255. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  256. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:145
  257. msgid "tclsh (link to tclsh&tcl-major-version;) and tclsh&tcl-major-version;"
  258. msgstr "tclsh (到 tclsh&tcl-major-version; 的链接) 和 tclsh&tcl-major-version;"
  259. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  260. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:149
  261. msgid "libtcl&tcl-major-version;.so and libtclstub&tcl-major-version;.a"
  262. msgstr "libtcl&tcl-major-version;.so 和 libtclstub&tcl-major-version;.a"
  263. #. type: Content of: <sect1><sect2><variablelist><bridgehead>
  264. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:156
  265. msgid "Short Descriptions"
  266. msgstr "简要描述"
  267. #. type: Content of: <sect1><sect2><variablelist>
  268. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:157
  269. msgid ""
  270. "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>"
  271. msgstr ""
  272. "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>"
  273. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  274. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:161
  275. msgid "<command>tclsh&tcl-major-version;</command>"
  276. msgstr "<command>tclsh&tcl-major-version;</command>"
  277. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  278. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:163
  279. msgid "The Tcl command shell"
  280. msgstr "Tcl 命令行 shell"
  281. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  282. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:165
  283. msgid "tclsh&tcl-major-version;"
  284. msgstr "tclsh&tcl-major-version;"
  285. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  286. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:171
  287. msgid "<command>tclsh</command>"
  288. msgstr "<command>tclsh</command>"
  289. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  290. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:173
  291. msgid "A link to tclsh&tcl-major-version;"
  292. msgstr "一个指向 tclsh&tcl-major-version; 的链接"
  293. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  294. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:175
  295. msgid "tclsh"
  296. msgstr "tclsh"
  297. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  298. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:181
  299. msgid "<filename class=\"libraryfile\">libtcl&tcl-major-version;.so</filename>"
  300. msgstr ""
  301. "<filename class=\"libraryfile\">libtcl&tcl-major-version;.so</filename>"
  302. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  303. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:183
  304. msgid "The Tcl library"
  305. msgstr "Tcl 运行库"
  306. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  307. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:185
  308. msgid "libtcl&tcl-major-version;.so"
  309. msgstr "libtcl&tcl-major-version;.so"
  310. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  311. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:191
  312. msgid ""
  313. "<filename class=\"libraryfile\">libtclstub&tcl-major-version;.a</filename>"
  314. msgstr ""
  315. "<filename class=\"libraryfile\">libtclstub&tcl-major-version;.a</filename>"
  316. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  317. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:193
  318. msgid "The Tcl Stub library"
  319. msgstr "Tcl 端桩库"
  320. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  321. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/tcl.xml:195
  322. msgid "libtclstub&tcl-major-version;.a"
  323. msgstr "libtclstub&tcl-major-version;.a"
  324. #~ msgid ""
  325. #~ "Note that the Tcl package used here is a minimal version needed to run "
  326. #~ "the LFS tests. For the full package, see the <ulink url='&blfs-book;"
  327. #~ "general/tcl.html'>BLFS Tcl procedures</ulink>."
  328. #~ msgstr ""
  329. #~ "注意,这里使用的 Tcl 软件包是一个最小版本,仅用于运行 LFS 的测试。如果需要"
  330. #~ "完整的软件包,阅读 <ulink url='&blfs-book;general/tcl.html'>BLFS Tcl 安装"
  331. #~ "过程</ulink>。"