@@ -584,6 +584,8 @@ msgid ""
584584"indices, in dictionary style, for established instances. See section :ref"
585585":`tkinter-setting-options` on setting options. ::"
586586msgstr ""
587+ "Tk 中的配置项是以连字符标签列表的形式给出的,后跟着参数值。在 Tkinter 中,选项指定为实例构造函数中的关键字参数,在配置调用时指定为关键字 "
588+ "args,或在已有实例中指定为实例索引,以字典的形式。参见 :ref:`tkinter-setting-options` 一节的选项设置部分。"
587589
588590#: ../../library/tkinter.rst:332
589591msgid ""
@@ -593,6 +595,8 @@ msgid ""
593595"widget. The actions (methods) that a given widget can perform are listed in"
594596" :file:`tkinter/__init__.py`. ::"
595597msgstr ""
598+ "在 Tk 中, 要在某个部件上执行动作, 要用部件名作为命令, 并后面附上动作名称, 可能还会带有参数(option)。在 Tkinter "
599+ "中,则调用类实例的方法来执行部件的动作。部件能够执行的动作(方法)列在 :file:`tkinter/__init__.py` 中。"
596600
597601#: ../../library/tkinter.rst:340
598602msgid ""
@@ -603,26 +607,29 @@ msgid ""
603607"so inherit all the packing methods. See the :mod:`tkinter.tix` module "
604608"documentation for additional information on the Form geometry manager. ::"
605609msgstr ""
610+ "若要将部件交给打包器(geometry manager),需带上可选参数去调用 pack。在 Tkinter 中,Pack 类拥有全部这些功能,pack"
611+ " 命令的各种形式都以方法的形式实现。 :mod:`tkinter` 中的所有部件都是从 Packer 继承而来的,因此继承了所有打包方法。关于Form "
612+ "geometry manager 的更多信息,请参见 :mod:`tkinter.tix` 模块的文档。"
606613
607614#: ../../library/tkinter.rst:351
608615msgid "How Tk and Tkinter are Related"
609- msgstr ""
616+ msgstr "Tk 和 Tkinter 如何关联 "
610617
611618#: ../../library/tkinter.rst:353
612619msgid "From the top down:"
613- msgstr ""
620+ msgstr "自上而下: "
614621
615622#: ../../library/tkinter.rst:356
616623msgid "Your App Here (Python)"
617- msgstr ""
624+ msgstr "(Python)应用程序位于这里 "
618625
619626#: ../../library/tkinter.rst:356
620627msgid "A Python application makes a :mod:`tkinter` call."
621- msgstr ""
628+ msgstr "Python 应用程序进行了 :mod:`tkinter` 调用。 "
622629
623630#: ../../library/tkinter.rst:363
624631msgid "tkinter (Python Package)"
625- msgstr ""
632+ msgstr "tkinter (Python 包) "
626633
627634#: ../../library/tkinter.rst:359
628635msgid ""
@@ -632,20 +639,22 @@ msgid ""
632639"form that makes them look as if they had come from a Tk script instead of a "
633640"Python script."
634641msgstr ""
642+ "此调用(比如创建一个按钮部件)在 :mod:`tkinter` 包中实现,它是用 Python 编写的。该 Python "
643+ "函数将解析命令和参数,并转换为貌似 Tk 脚本的格式,而不像是 Python 脚本。"
635644
636645#: ../../library/tkinter.rst:367
637646msgid "_tkinter (C)"
638- msgstr ""
647+ msgstr "_tkinter(C 语言) "
639648
640649#: ../../library/tkinter.rst:366
641650msgid ""
642651"These commands and their arguments will be passed to a C function in the "
643652":mod:`_tkinter` - note the underscore - extension module."
644- msgstr ""
653+ msgstr "这些命令及参数将被传给 :mod:`_tkinter` 扩展模块中的 C 函数——注意下划线。 "
645654
646655#: ../../library/tkinter.rst:374
647656msgid "Tk Widgets (C and Tcl)"
648- msgstr ""
657+ msgstr "Tk 部件(C 和 Tcl) "
649658
650659#: ../../library/tkinter.rst:370
651660msgid ""
@@ -655,22 +664,24 @@ msgid ""
655664" widgets, and is executed once at the point where the Python :mod:`tkinter` "
656665"package is imported. (The user never sees this stage)."
657666msgstr ""
667+ "该 C 函数能调用其他的 C 模块,包括构成 Tk 库的 C 函数。Tk 是用 C 和一些 Tcl 实现的。Tk 部件的 Tcl "
668+ "部分用于将某些默认行为绑定到部件上,并在导入 Python :mod:`tkinter` 包时执行一次。(该阶段对用户而言永不可见)。"
658669
659670#: ../../library/tkinter.rst:377
660671msgid "Tk (C)"
661- msgstr ""
672+ msgstr "Tk(C 语言) "
662673
663674#: ../../library/tkinter.rst:377
664675msgid "The Tk part of the Tk Widgets implement the final mapping to ..."
665- msgstr ""
676+ msgstr "Tk 部件的 Tk 语言部分实现了最终的映射 "
666677
667678#: ../../library/tkinter.rst:381
668679msgid "Xlib (C)"
669- msgstr ""
680+ msgstr "Xlib(C 语言) "
670681
671682#: ../../library/tkinter.rst:380
672683msgid "the Xlib library to draw graphics on the screen."
673- msgstr ""
684+ msgstr "Xlib 库在屏幕上绘制图形。 "
674685
675686#: ../../library/tkinter.rst:384
676687msgid "Handy Reference"
0 commit comments