readline.po 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. msgid ""
  2. msgstr ""
  3. "Project-Id-Version: PACKAGE VERSION\n"
  4. "POT-Creation-Date: 2020-06-21 23:42+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/readline.xml:14
  15. #, no-wrap
  16. msgid "&readline-url;"
  17. msgstr "&readline-url;"
  18. #. type: Content of: <sect1><sect1info>
  19. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:12
  20. msgid ""
  21. "<productname>readline</productname> <productnumber>&readline-version;</"
  22. "productnumber> <placeholder type=\"address\" id=\"0\"/>"
  23. msgstr ""
  24. "<productname>readline</productname> <productnumber>&readline-version;</"
  25. "productnumber> <placeholder type=\"address\" id=\"0\"/>"
  26. #. type: Content of: <sect1><title>
  27. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:17
  28. msgid "Readline-&readline-version;"
  29. msgstr "Readline-&readline-version;"
  30. #. type: Content of: <sect1><indexterm><primary>
  31. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:20
  32. msgid "Readline"
  33. msgstr "Readline"
  34. #. type: Content of: <sect1><sect2><para>
  35. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:26
  36. msgid ""
  37. "The Readline package is a set of libraries that offers command-line editing "
  38. "and history capabilities."
  39. msgstr "Readline 软件包包含一些提供命令行编辑和历史记录功能的库。"
  40. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  41. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:30
  42. msgid "&buildtime;"
  43. msgstr "&buildtime;"
  44. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  45. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.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/readline.xml:34
  50. msgid "&readline-fin-sbu;"
  51. msgstr "&readline-fin-sbu;"
  52. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  53. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:35
  54. msgid "&readline-fin-du;"
  55. msgstr "&readline-fin-du;"
  56. #. type: Content of: <sect1><sect2><title>
  57. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:42
  58. msgid "Installation of Readline"
  59. msgstr "安装 Readline"
  60. #. type: Content of: <sect1><sect2><para>
  61. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:44
  62. msgid ""
  63. "Reinstalling Readline will cause the old libraries to be moved to &lt;"
  64. "libraryname&gt;.old. While this is normally not a problem, in some cases it "
  65. "can trigger a linking bug in <command>ldconfig</command>. This can be "
  66. "avoided by issuing the following two seds:"
  67. msgstr ""
  68. "重新安装 Readline 会导致旧版本的库被重命名为 &lt;库名称&gt;.old。这一般不是问"
  69. "题,但某些情况下会触发 <command>ldconfig</command>的一个链接 bug。运行下面的"
  70. "两条 sed 命令防止这种情况:"
  71. #. type: Content of: <sect1><sect2><screen>
  72. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:49
  73. #, no-wrap
  74. msgid ""
  75. "<userinput remap=\"pre\">sed -i '/MV.*old/d' Makefile.in\n"
  76. "sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput>"
  77. msgstr ""
  78. "<userinput remap=\"pre\">sed -i '/MV.*old/d' Makefile.in\n"
  79. "sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput>"
  80. #. type: Content of: <sect1><sect2><para>
  81. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:52
  82. msgid "Prepare Readline for compilation:"
  83. msgstr "准备编译 Readline:"
  84. #. type: Content of: <sect1><sect2><screen>
  85. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:54
  86. #, no-wrap
  87. msgid ""
  88. "<userinput remap=\"configure\">./configure --prefix=/usr \\\n"
  89. " --disable-static \\\n"
  90. " --with-curses \\\n"
  91. " --docdir=/usr/share/doc/readline-&readline-version;</userinput>"
  92. msgstr ""
  93. "<userinput remap=\"configure\">./configure --prefix=/usr \\\n"
  94. " --disable-static \\\n"
  95. " --with-curses \\\n"
  96. " --docdir=/usr/share/doc/readline-&readline-version;</userinput>"
  97. #. type: Content of: <sect1><sect2><variablelist><title>
  98. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:60
  99. msgid "The meaning of the configure option:"
  100. msgstr "配置选项的含义"
  101. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  102. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:63
  103. msgid "<parameter>--with-curses</parameter>"
  104. msgstr "<parameter>--with-curses</parameter>"
  105. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  106. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:65
  107. msgid ""
  108. "This option tells Readline that it can find the termcap library functions in "
  109. "the curses library, rather than a separate termcap library. It allows "
  110. "generating a correct <filename>readline.pc</filename> file."
  111. msgstr ""
  112. "该选项告诉 Readline 它可以在 curses 库中查找 termcap 库函数,而不是单独的"
  113. "termcap 库。这样就能生成正确的 <filename>readline.pc</filename> 文件。"
  114. #. type: Content of: <sect1><sect2><para>
  115. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:74
  116. msgid "Compile the package:"
  117. msgstr "编译该软件包:"
  118. #. type: Content of: <sect1><sect2><screen>
  119. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:76
  120. #, no-wrap
  121. msgid "<userinput remap=\"make\">make SHLIB_LIBS=\"-lncursesw\"</userinput>"
  122. msgstr "<userinput remap=\"make\">make SHLIB_LIBS=\"-lncursesw\"</userinput>"
  123. #. type: Content of: <sect1><sect2><variablelist><title>
  124. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:79
  125. msgid "The meaning of the make option:"
  126. msgstr "make 命令选项的含义"
  127. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  128. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:82
  129. msgid "<parameter>SHLIB_LIBS=\"-lncursesw\"</parameter>"
  130. msgstr "<parameter>SHLIB_LIBS=\"-lncursesw\"</parameter>"
  131. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  132. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:84
  133. msgid ""
  134. "This option forces Readline to link against the <filename class=\"libraryfile"
  135. "\">libncursesw</filename> library."
  136. msgstr ""
  137. "该选项强制 Readline 链接到 <filename class=\"libraryfile\">libncursesw</"
  138. "filename> 库。"
  139. #. type: Content of: <sect1><sect2><para>
  140. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:91
  141. msgid "This package does not come with a test suite."
  142. msgstr "该软件包不包含测试套件。"
  143. #. type: Content of: <sect1><sect2><para>
  144. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:93
  145. msgid "Install the package:"
  146. msgstr "安装该软件包:"
  147. #. type: Content of: <sect1><sect2><screen>
  148. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:95
  149. #, no-wrap
  150. msgid "<userinput remap=\"install\">make SHLIB_LIBS=\"-lncursesw\" install</userinput>"
  151. msgstr "<userinput remap=\"install\">make SHLIB_LIBS=\"-lncursesw\" install</userinput>"
  152. #. type: Content of: <sect1><sect2><para>
  153. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:97
  154. msgid ""
  155. "Now move the dynamic libraries to a more appropriate location and fix up "
  156. "some permissions and symbolic links:"
  157. msgstr "下面将动态库移动到更合适的位置,并修正访问权限和符号链接:"
  158. #. type: Content of: <sect1><sect2><screen>
  159. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:100
  160. #, no-wrap
  161. msgid ""
  162. "<userinput remap=\"install\">mv -v /usr/lib/lib{readline,history}.so.* /lib\n"
  163. "chmod -v u+w /lib/lib{readline,history}.so.*\n"
  164. "ln -sfv ../../lib/$(readlink /usr/lib/libreadline.so) /usr/lib/libreadline.so\n"
  165. "ln -sfv ../../lib/$(readlink /usr/lib/libhistory.so ) /usr/lib/libhistory.so</userinput>"
  166. msgstr ""
  167. "<userinput remap=\"install\">mv -v /usr/lib/lib{readline,history}.so.* /lib\n"
  168. "chmod -v u+w /lib/lib{readline,history}.so.*\n"
  169. "ln -sfv ../../lib/$(readlink /usr/lib/libreadline.so) /usr/lib/libreadline.so\n"
  170. "ln -sfv ../../lib/$(readlink /usr/lib/libhistory.so ) /usr/lib/libhistory.so</userinput>"
  171. #. type: Content of: <sect1><sect2><para>
  172. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:105
  173. msgid "If desired, install the documentation:"
  174. msgstr "如果您希望的话,可以安装文档:"
  175. #. type: Content of: <sect1><sect2><screen>
  176. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:107
  177. #, no-wrap
  178. msgid "<userinput remap=\"install\">install -v -m644 doc/*.{ps,pdf,html,dvi} /usr/share/doc/readline-&readline-version;</userinput>"
  179. msgstr "<userinput remap=\"install\">install -v -m644 doc/*.{ps,pdf,html,dvi} /usr/share/doc/readline-&readline-version;</userinput>"
  180. #. type: Content of: <sect1><sect2><title>
  181. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:112
  182. msgid "Contents of Readline"
  183. msgstr "Readline 的内容"
  184. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  185. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:115
  186. msgid "Installed libraries"
  187. msgstr "安装的库"
  188. #. type: Content of: <sect1><sect2><segmentedlist><segtitle>
  189. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:116
  190. msgid "Installed directories"
  191. msgstr "安装的目录"
  192. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  193. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:119
  194. msgid "libhistory.so and libreadline.so"
  195. msgstr "libhistory.so 和 libreadline.so"
  196. #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>
  197. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:120
  198. msgid "/usr/include/readline and /usr/share/doc/readline-&readline-version;"
  199. msgstr "/usr/include/readline 和 /usr/share/doc/readline-&readline-version;"
  200. #. type: Content of: <sect1><sect2><variablelist><bridgehead>
  201. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:126
  202. msgid "Short Descriptions"
  203. msgstr "简要描述"
  204. #. type: Content of: <sect1><sect2><variablelist>
  205. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:127
  206. msgid ""
  207. "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>"
  208. msgstr ""
  209. "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>"
  210. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  211. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:131
  212. msgid "<filename class=\"libraryfile\">libhistory</filename>"
  213. msgstr "<filename class=\"libraryfile\">libhistory</filename>"
  214. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  215. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:133
  216. msgid "Provides a consistent user interface for recalling lines of history"
  217. msgstr "提供一个查询之前输入行的一致用户接口"
  218. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  219. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:136
  220. msgid "libhistory"
  221. msgstr "libhistory"
  222. #. type: Content of: <sect1><sect2><variablelist><varlistentry><term>
  223. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:142
  224. msgid "<filename class=\"libraryfile\">libreadline</filename>"
  225. msgstr "<filename class=\"libraryfile\">libreadline</filename>"
  226. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>
  227. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:144
  228. msgid ""
  229. "Provides a set of commands for manipulating text entered in an interactive "
  230. "session of a program."
  231. msgstr "提供一组在程序的交互会话中操纵输入的文本的命令。"
  232. #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>
  233. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:147
  234. msgid "libreadline"
  235. msgstr "libreadline"