python.po 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR Free Software Foundation, Inc.
  3. # This file is distributed under the same license as the PACKAGE package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: PACKAGE VERSION\n"
  10. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  11. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  12. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  13. "Language-Team: LANGUAGE <LL@li.org>\n"
  14. "Language: \n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #. type: Content of: <sect1><sect1info><address>
  19. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:14
  20. #, no-wrap
  21. msgid "&python-url;"
  22. msgstr ""
  23. #. type: Content of: <sect1><sect1info>
  24. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:12
  25. msgid ""
  26. "<productname>Python</productname> "
  27. "<productnumber>&python-version;</productnumber> <placeholder "
  28. "type=\"address\" id=\"0\"/>"
  29. msgstr ""
  30. #. type: Content of: <sect1><title>
  31. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:17
  32. msgid "Python-&python-version;"
  33. msgstr ""
  34. #. type: Content of: <sect1><indexterm><primary>
  35. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:20
  36. msgid "python"
  37. msgstr ""
  38. #. type: Content of: <sect1><sect2><para>
  39. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:26
  40. msgid ""
  41. "The Python 3 package contains the Python development environment. It is "
  42. "useful for object-oriented programming, writing scripts, prototyping large "
  43. "programs, or developing entire applications."
  44. msgstr ""
  45. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  46. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:31
  47. msgid "&buildtime;"
  48. msgstr ""
  49. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  50. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:32
  51. msgid "&diskspace;"
  52. msgstr ""
  53. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  54. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:35
  55. msgid "&python-fin-sbu;"
  56. msgstr ""
  57. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  58. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:36
  59. msgid "&python-fin-du;"
  60. msgstr ""
  61. #. type: Content of: <sect1><sect2><title>
  62. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:43
  63. msgid "Installation of Python 3"
  64. msgstr ""
  65. #. type: Content of: <sect1><sect2><para>
  66. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:45
  67. msgid "Prepare Python for compilation:"
  68. msgstr ""
  69. #. type: Content of: <sect1><sect2><screen>
  70. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:47
  71. #, no-wrap
  72. msgid ""
  73. "<userinput remap=\"configure\">./configure --prefix=/usr \\\n"
  74. " --enable-shared \\\n"
  75. " --with-system-expat \\\n"
  76. " --with-system-ffi \\\n"
  77. " --with-ensurepip=yes</userinput>"
  78. msgstr ""
  79. #. type: Content of: <sect1><sect2><variablelist><title>
  80. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:54
  81. msgid "The meaning of the configure options:"
  82. msgstr ""
  83. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  84. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:57
  85. msgid "<parameter>--with-system-expat</parameter>"
  86. msgstr ""
  87. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  88. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:59
  89. msgid ""
  90. "This switch enables linking against system version of "
  91. "<application>Expat</application>."
  92. msgstr ""
  93. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  94. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:65
  95. msgid "<parameter>--with-system-ffi</parameter>"
  96. msgstr ""
  97. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  98. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:67
  99. msgid ""
  100. "This switch enables linking against system version of "
  101. "<application>libffi</application>."
  102. msgstr ""
  103. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  104. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:73
  105. msgid "<parameter>--with-ensurepip=yes</parameter>"
  106. msgstr ""
  107. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  108. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:75
  109. msgid ""
  110. "This switch enables building <command>pip</command> and "
  111. "<command>setuptools</command> packaging programs."
  112. msgstr ""
  113. #. type: Content of: <sect1><sect2><para>
  114. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:82
  115. msgid "Compile the package:"
  116. msgstr ""
  117. #. type: Content of: <sect1><sect2><screen>
  118. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:84
  119. #, no-wrap
  120. msgid "<userinput remap=\"make\">make</userinput>"
  121. msgstr ""
  122. #. type: Content of: <sect1><sect2><para>
  123. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:86
  124. msgid ""
  125. "To test the results, issue <command>make test</command>. Some tests "
  126. "requiring a network connection or additional packages are skipped. The test "
  127. "named test_normalization fails because network configuration is not "
  128. "completed yet. For more comprehensive results, the test can be rerun when "
  129. "Python 3 is reinstalled in BLFS."
  130. msgstr ""
  131. #. type: Content of: <sect1><sect2><para>
  132. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:92
  133. msgid "Install the package:"
  134. msgstr ""
  135. #. type: Content of: <sect1><sect2><screen>
  136. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:94
  137. #, no-wrap
  138. msgid ""
  139. "<userinput remap=\"install\">make install\n"
  140. "chmod -v 755 /usr/lib/libpython&python-minor;.so\n"
  141. "chmod -v 755 /usr/lib/libpython3.so\n"
  142. "ln -sfv pip&python-minor; /usr/bin/pip3</userinput>"
  143. msgstr ""
  144. #. type: Content of: <sect1><sect2><variablelist><title>
  145. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:100
  146. msgid "The meaning of the install commands:"
  147. msgstr ""
  148. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  149. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:103
  150. msgid "<command>chmod -v 755 /usr/lib/libpython3.{8.,}so</command>"
  151. msgstr ""
  152. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  153. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:105
  154. msgid "Fix permissions for libraries to be consistent with other libraries."
  155. msgstr ""
  156. #. type: Content of: <sect1><sect2><para>
  157. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:112
  158. msgid "If desired, install the preformatted documentation:"
  159. msgstr ""
  160. #. type: Content of: <sect1><sect2><screen>
  161. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:114
  162. #, no-wrap
  163. msgid ""
  164. "<userinput remap=\"install\">install -v -dm755 "
  165. "/usr/share/doc/python-&python-version;/html \n"
  166. "\n"
  167. "tar --strip-components=1 \\\n"
  168. " --no-same-owner \\\n"
  169. " --no-same-permissions \\\n"
  170. " -C /usr/share/doc/python-&python-version;/html \\\n"
  171. " -xvf ../python-&python-version;-docs-html.tar.bz2</userinput>"
  172. msgstr ""
  173. #. type: Content of: <sect1><sect2><variablelist><title>
  174. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:123
  175. msgid "The meaning of the documentation install commands:"
  176. msgstr ""
  177. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  178. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:126
  179. msgid "<option>--no-same-owner</option> and <option>--no-same-permissions</option>"
  180. msgstr ""
  181. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  182. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:128
  183. msgid ""
  184. "Ensure the installed files have the correct ownership and permissions. "
  185. "Without these options, using <application>tar</application> will install the "
  186. "package files with the upstream creator's values."
  187. msgstr ""
  188. #. type: Content of: <sect1><sect2><title>
  189. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:140
  190. msgid "Contents of Python 3"
  191. msgstr ""
  192. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  193. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:143
  194. msgid "Installed Programs"
  195. msgstr ""
  196. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  197. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:144
  198. msgid "Installed Library"
  199. msgstr ""
  200. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  201. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:145
  202. msgid "Installed Directories"
  203. msgstr ""
  204. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  205. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:149
  206. msgid "2to3, idle3, pip3, pydoc3, python3, and python3-config"
  207. msgstr ""
  208. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  209. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:152
  210. msgid "libpython&python-minor;.so and libpython3.so"
  211. msgstr ""
  212. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  213. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:155
  214. msgid ""
  215. "/usr/include/python&python-minor;, /usr/lib/python3, and "
  216. "/usr/share/doc/python-&python-version;"
  217. msgstr ""
  218. #. type: Content of: <sect1><sect2><variablelist><bridgehead>
  219. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:163
  220. msgid "Short Descriptions"
  221. msgstr ""
  222. #. type: Content of: <sect1><sect2><variablelist>
  223. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:164
  224. msgid "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>"
  225. msgstr ""
  226. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  227. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:168
  228. msgid "<command>2to3</command>"
  229. msgstr ""
  230. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  231. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:171
  232. msgid ""
  233. "is a <application>Python</application> program that reads "
  234. "<application>Python 2.x</application> source code and applies a series of "
  235. "fixes to transform it into valid <application>Python 3.x</application> code."
  236. msgstr ""
  237. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  238. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:177
  239. msgid "2to3"
  240. msgstr ""
  241. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  242. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:183
  243. msgid "<command>idle3</command>"
  244. msgstr ""
  245. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  246. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:186
  247. msgid ""
  248. "is a wrapper script that opens a <application>Python</application> aware GUI "
  249. "editor. For this script to run, you must have installed "
  250. "<application>Tk</application> before Python so that the Tkinter Python "
  251. "module is built."
  252. msgstr ""
  253. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  254. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:192
  255. msgid "idle3"
  256. msgstr ""
  257. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  258. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:198
  259. msgid "<command>pip3</command>"
  260. msgstr ""
  261. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  262. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:201
  263. msgid ""
  264. "The package installer for Python. You can use pip to install packages from "
  265. "Python Package Index and other indexes."
  266. msgstr ""
  267. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  268. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:205
  269. msgid "pip3"
  270. msgstr ""
  271. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  272. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:211
  273. msgid "<command>pydoc3</command>"
  274. msgstr ""
  275. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  276. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:214
  277. msgid "is the <application>Python</application> documentation tool."
  278. msgstr ""
  279. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  280. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:217
  281. msgid "pydoc3"
  282. msgstr ""
  283. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  284. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:223
  285. msgid "<command>python3</command>"
  286. msgstr ""
  287. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  288. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:226
  289. msgid "is an interpreted, interactive, object-oriented programming language."
  290. msgstr ""
  291. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  292. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/python.xml:230
  293. msgid "python3"
  294. msgstr ""