tcl.po 13 KB

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