@@ -377,7 +377,7 @@ msgid ""
377377"This section is designed in two parts: the first half (roughly) covers "
378378"background material, while the second half can be taken to the keyboard as a"
379379" handy reference."
380- msgstr ""
380+ msgstr "本节分为两部分:前半部分(大致)涵盖了背景材料,后半部分可以作为手头的参考手册。 "
381381
382382#: ../../library/tkinter.rst:176
383383msgid ""
@@ -390,6 +390,9 @@ msgid ""
390390"best we can do is point you to the best documentation that exists. Here are "
391391"some hints:"
392392msgstr ""
393+ "当试图回答“如何才能怎么怎么”这种问题时,通常最好是弄清楚如何直接在 Tk 中实现,然后转换回相应的 :mod:`tkinter` 调用。Python "
394+ "程序员通常可查看 Tk 文档来猜测正确的 Python 命令。这意味着要用好 Tkinter,必须对 Tk "
395+ "有一定的了解。本文无法完成这个任务,所以最好的做法就是给出目前最好的文档。下面给出一些小提示:"
393396
394397#: ../../library/tkinter.rst:184
395398msgid ""
@@ -398,6 +401,8 @@ msgid ""
398401"``man3`` man pages describe the C interface to the Tk library and thus are "
399402"not especially helpful for script writers."
400403msgstr ""
404+ "作者强烈建议用户先拿到一份 Tk 手册。具体来说,``manN`` 目录下的 man 文档是最有用的。``man3`` 的 man 文档描述了 Tk "
405+ "库的 C 接口,因此对脚本编写人员没有什么特别的帮助。"
401406
402407#: ../../library/tkinter.rst:189
403408msgid ""
@@ -406,27 +411,29 @@ msgid ""
406411"for the novice. The book is not exhaustive, and for many details it defers "
407412"to the man pages."
408413msgstr ""
414+ "Addison-Wesley 出版了一本名为《Tcl 和 Tk 工具包》的书,作者是 John Ousterhout(ISBN "
415+ "0-201-63337-X),对于新手来说,这是一本很好的 Tcl 和Tk 介绍书籍。该书不算详尽,很多细节还是要看 man 手册。"
409416
410417#: ../../library/tkinter.rst:194
411418msgid ""
412419":file:`tkinter/__init__.py` is a last resort for most, but can be a good "
413420"place to go when nothing else makes sense."
414- msgstr ""
421+ msgstr "对大多数人而言,:file:`tkinter/__init__.py` 是最后一招,但其他手段都无效时也不失为一个好去处。 "
415422
416423#: ../../library/tkinter.rst:199
417424msgid "A Simple Hello World Program"
418- msgstr ""
425+ msgstr "简单的 Hello World 程序 "
419426
420427#: ../../library/tkinter.rst:231
421428msgid "A (Very) Quick Look at Tcl/Tk"
422- msgstr ""
429+ msgstr "Tcl/Tk 速览 "
423430
424431#: ../../library/tkinter.rst:233
425432msgid ""
426433"The class hierarchy looks complicated, but in actual practice, application "
427434"programmers almost always refer to the classes at the very bottom of the "
428435"hierarchy."
429- msgstr ""
436+ msgstr "类的层次结构看起来很复杂,但在实际操作中,应用程序编写人员几乎总是查看最底层的类。 "
430437
431438#: ../../library/tkinter.rst:237
432439msgid "Notes:"
0 commit comments