@@ -517,6 +517,10 @@ msgid ""
517517"directory name. *default* specifies the DefaultDir slot in the directory "
518518"table. *componentflags* specifies the default flags that new components get."
519519msgstr ""
520+ "在目录表中创建一个新目录。 在每个时点上对于该目录都有一个当前组件,它或是通过 :meth:`start_component` "
521+ "显式创建,或是在文件首次被加入时隐式创建。 文件会被加入当前组件,并被加入到 cab 文件中。 要创建一个目录,必须指定一个基准目录对象 (可以为 "
522+ "``None``),指向物理目录的路径,以及一个逻辑目录名称。 *default* 指明目录表中的 DefaultDir 槽位。 "
523+ "*componentflags* 指明新组件所获得的默认旗标。"
520524
521525#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:377
522526msgid ""
@@ -526,6 +530,8 @@ msgid ""
526530"*flags* are given, the directory's default flags are used. If no *keyfile* "
527531"is given, the KeyPath is left null in the Component table."
528532msgstr ""
533+ "向组件表添加一个条目,并将该组件设为此目录的当前组件。 如果未给出组件名称,则将使用目录名称。 如果未给出 *feature*,则将使用当前特征。 "
534+ "如果未给出 *flags*,则将使用目录的默认旗标。 如果未给出 *keyfile*,则组件表中的 KeyPath 将保持为空值。"
529535
530536#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:386
531537msgid ""
@@ -535,16 +541,18 @@ msgid ""
535541"interpreted relative to the current directory. Optionally, a *version* and a"
536542" *language* can be specified for the entry in the File table."
537543msgstr ""
544+ "向目录的当前组件添加一个文件,如果没有当前组件则会新建一个。 在默认情况下,源中的文件名和文件表将保持一致。 如果指定了 *src* "
545+ "文件,它将被解读为相对于当前目录。 作为可选项,可以为文件表中的条目指定 *version* 和 *language*。"
538546
539547#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:395
540548msgid ""
541549"Add a list of files to the current component as specified in the glob "
542550"pattern. Individual files can be excluded in the *exclude* list."
543- msgstr ""
551+ msgstr "向当前组件添加一个通过 glob 模式指定的文件列表。 单个文件可以在 *exclude* 列表中排除。 "
544552
545553#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:401
546554msgid "Remove ``.pyc`` files on uninstall."
547- msgstr ""
555+ msgstr "在卸载时移除 ``.pyc`` 文件。 "
548556
549557#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:406
550558msgid ""
@@ -555,6 +563,12 @@ msgid ""
555563"us/library/windows/desktop/aa368007.aspx>`_ `FeatureComponents Table "
556564"<https://msdn.microsoft.com/en-us/library/windows/desktop/aa368579.aspx>`_"
557565msgstr ""
566+ "`Directory Table <https://msdn.microsoft.com/en-"
567+ "us/library/windows/desktop/aa368295.aspx>`_ `File Table "
568+ "<https://msdn.microsoft.com/en-us/library/windows/desktop/aa368596.aspx>`_ "
569+ "`Component Table <https://msdn.microsoft.com/en-"
570+ "us/library/windows/desktop/aa368007.aspx>`_ `FeatureComponents Table "
571+ "<https://msdn.microsoft.com/en-us/library/windows/desktop/aa368579.aspx>`_"
558572
559573#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:414
560574msgid "Features"
@@ -602,75 +616,79 @@ msgstr ""
602616msgid ""
603617"Base class of the dialog controls. *dlg* is the dialog object the control "
604618"belongs to, and *name* is the control's name."
605- msgstr ""
619+ msgstr "对话框控件的基类。 *dlg* 是控件所属的对话框对象,*name* 是控件的名称。 "
606620
607621#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:455
608622msgid "Make an entry into the ``ControlEvent`` table for this control."
609- msgstr ""
623+ msgstr "在 ``ControlEvent`` 表中为该控件创建一个条目。 "
610624
611625#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:460
612626msgid "Make an entry into the ``EventMapping`` table for this control."
613- msgstr ""
627+ msgstr "在 ``EventMapping`` 表中为该控件创建一个条目。 "
614628
615629#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:465
616630msgid "Make an entry into the ``ControlCondition`` table for this control."
617- msgstr ""
631+ msgstr "在 ``ControlCondition`` 表中为该控件创建一个条目。 "
618632
619633#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:470
620634msgid ""
621635"Create a radio button control named *name*. *property* is the installer "
622636"property that gets set when a radio button is selected."
623- msgstr ""
637+ msgstr "创建一个名为 *name* 的单选钮控件。 *property* 是当单选钮被选中时设置的安装器属性。 "
624638
625639#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:476
626640msgid ""
627641"Add a radio button named *name* to the group, at the coordinates *x*, *y*, "
628642"*width*, *height*, and with the label *text*. If *value* is ``None``, it "
629643"defaults to *name*."
630644msgstr ""
645+ "向分组添加一个名为 *name* 的单选钮,设置坐标为 *x*, *y*, *width*, *height*,标签为 *text*。 如果 "
646+ "*value* 为 ``None``,则设置默认值 *name*。"
631647
632648#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:483
633649msgid ""
634650"Return a new :class:`Dialog` object. An entry in the ``Dialog`` table is "
635651"made, with the specified coordinates, dialog attributes, title, name of the "
636652"first, default, and cancel controls."
637653msgstr ""
654+ "返回一个新的 :class:`Dialog` 对象。 将在 ``Dialog`` "
655+ "表中创建一个条目,设置指定的坐标,对话框属性,标题,首个、默认和取消控件的名称。"
638656
639657#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:490
640658msgid ""
641659"Return a new :class:`Control` object. An entry in the ``Control`` table is "
642660"made with the specified parameters."
643- msgstr ""
661+ msgstr "返回一个新的 :class:`Control` 对象。 将在 ``Control`` 表中创建带有指定形参的条目。 "
644662
645663#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:493
646664msgid ""
647665"This is a generic method; for specific types, specialized methods are "
648666"provided."
649- msgstr ""
667+ msgstr "这是一个通用方法;对于特定的类型,还提供了专用的方法。 "
650668
651669#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:499
652670msgid "Add and return a ``Text`` control."
653- msgstr ""
671+ msgstr "添加并返回一个 ``Text`` 控件。 "
654672
655673#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:504
656674msgid "Add and return a ``Bitmap`` control."
657- msgstr ""
675+ msgstr "添加并返回一个 ``Bitmap`` 控件。 "
658676
659677#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:509
660678msgid "Add and return a ``Line`` control."
661- msgstr ""
679+ msgstr "添加并返回一个 ``Line`` 控件。 "
662680
663681#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:514
664682msgid "Add and return a ``PushButton`` control."
665- msgstr ""
683+ msgstr "添加并返回一个 ``PushButton`` 控件。 "
666684
667685#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:519
668686msgid "Add and return a ``RadioButtonGroup`` control."
669- msgstr ""
687+ msgstr "添加并返回一个 ``RadioButtonGroup`` 控件。 "
670688
671689#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:524
672690msgid "Add and return a ``CheckBox`` control."
673- msgstr ""
691+ msgstr "添加并返回一个 ``CheckBox`` 控件。 "
674692
675693#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:529
676694msgid ""
@@ -686,23 +704,36 @@ msgid ""
686704"`RadioButton Table <https://msdn.microsoft.com/en-"
687705"us/library/windows/desktop/aa370962.aspx>`_"
688706msgstr ""
707+ "`Dialog Table <https://msdn.microsoft.com/en-"
708+ "us/library/windows/desktop/aa368286.aspx>`_ `Control Table "
709+ "<https://msdn.microsoft.com/en-us/library/windows/desktop/aa368044.aspx>`_ "
710+ "`Control Types <https://msdn.microsoft.com/en-"
711+ "us/library/windows/desktop/aa368039.aspx>`_ `ControlCondition Table "
712+ "<https://msdn.microsoft.com/en-us/library/windows/desktop/aa368035.aspx>`_ "
713+ "`ControlEvent Table <https://msdn.microsoft.com/en-"
714+ "us/library/windows/desktop/aa368037.aspx>`_ `EventMapping Table "
715+ "<https://msdn.microsoft.com/en-us/library/windows/desktop/aa368559.aspx>`_ "
716+ "`RadioButton Table <https://msdn.microsoft.com/en-"
717+ "us/library/windows/desktop/aa370962.aspx>`_"
689718
690719#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:540
691720msgid "Precomputed tables"
692- msgstr ""
721+ msgstr "预计算的表 "
693722
694723#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:542
695724msgid ""
696725":mod:`msilib` provides a few subpackages that contain only schema and table "
697726"definitions. Currently, these definitions are based on MSI version 2.0."
698- msgstr ""
727+ msgstr ":mod:`msilib` 提供了一些仅包含结构模式和表定义的子包。 这些定义基于 MSI 2.0 版。 "
699728
700729#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:548
701730msgid ""
702731"This is the standard MSI schema for MSI 2.0, with the *tables* variable "
703732"providing a list of table definitions, and *_Validation_records* providing "
704733"the data for MSI validation."
705734msgstr ""
735+ "这是基于 MSI 2.0 的标准 MSI 结构模式,其中 *tables* 变量提供了一个由表定义组成的列表,而 "
736+ "*_Validation_records* 提供了用于 MSI 验证的数据。"
706737
707738#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/msilib.rst:555
708739msgid ""
0 commit comments