@@ -128,57 +128,63 @@ msgid ""
128128"``_Validation_records`` attributes; typically, :mod:`msilib.schema` should "
129129"be used."
130130msgstr ""
131+ "*schema* 必须是一个包含 ``tables`` 和 ``_Validation_records`` "
132+ "属性的模块对象;在通常情况下,:mod:`msilib.schema` 应当被使用。"
131133
132134#: ../../library/msilib.rst:79
133135msgid ""
134136"The database will contain just the schema and the validation records when "
135137"this function returns."
136- msgstr ""
138+ msgstr "此此函数返回时该数据库将只包含方案和验证记录。 "
137139
138140#: ../../library/msilib.rst:85
139141msgid "Add all *records* to the table named *table* in *database*."
140- msgstr ""
142+ msgstr "将所有 *records* 添加到 *database* 中名为 *table* 的表。 "
141143
142144#: ../../library/msilib.rst:87
143145msgid ""
144146"The *table* argument must be one of the predefined tables in the MSI schema,"
145147" e.g. ``'Feature'``, ``'File'``, ``'Component'``, ``'Dialog'``, "
146148"``'Control'``, etc."
147149msgstr ""
150+ "*table* 参数必须为 MSI 方案中预定义的表之一,即 ``'Feature'``, ``'File'``, ``'Component'``, "
151+ "``'Dialog'``, ``'Control'`` 等等。"
148152
149153#: ../../library/msilib.rst:91
150154msgid ""
151155"*records* should be a list of tuples, each one containing all fields of a "
152156"record according to the schema of the table. For optional fields, ``None`` "
153157"can be passed."
154- msgstr ""
158+ msgstr "*records* 应当为一个元组的列表,其中的每个元组都包含与表结构对应的记录的所有字段。 对于可选字段,可以传入 ``None``。 "
155159
156160#: ../../library/msilib.rst:95
157161msgid "Field values can be ints, strings, or instances of the Binary class."
158- msgstr ""
162+ msgstr "字段值可以为整数、字符串或 Binary 类的实例。 "
159163
160164#: ../../library/msilib.rst:100
161165msgid ""
162166"Represents entries in the Binary table; inserting such an object using "
163167":func:`add_data` reads the file named *filename* into the table."
164- msgstr ""
168+ msgstr "代表 Binary 表中的条目;使用 :func:`add_data` 插入这样的对象会将名为 *filename* 文件读入表中。 "
165169
166170#: ../../library/msilib.rst:106
167171msgid ""
168172"Add all table content from *module* to *database*. *module* must contain an "
169173"attribute *tables* listing all tables for which content should be added, and"
170174" one attribute per table that has the actual content."
171175msgstr ""
176+ "将来自 *module* 的所有表内容添加到 *database*。 *module* 必须包括一个列出其内容需要被添加的所有表的属性 "
177+ "*tables*,并且每个具有实际内容的表对应一个属性。"
172178
173179#: ../../library/msilib.rst:110
174180msgid "This is typically used to install the sequence tables."
175- msgstr ""
181+ msgstr "这通常被用来安装序列表。 "
176182
177183#: ../../library/msilib.rst:115
178184msgid ""
179185"Add the file *path* into the ``_Stream`` table of *database*, with the "
180186"stream name *name*."
181- msgstr ""
187+ msgstr "将文件 *path* 添加到 *database* 的 ``_Stream`` 表,使用流名称 *name*。 "
182188
183189#: ../../library/msilib.rst:121
184190msgid ""
0 commit comments