@@ -298,35 +298,43 @@ msgid ""
298298"cores in the system is used. If *workers* is lower than ``0``, a "
299299":exc:`ValueError` will be raised."
300300msgstr ""
301+ "参数 *workers* 指明要使用多少个工作进程来并行编译文件。 默认设置不使用多个工作进程。 如果平台不能使用多个工作进程而又给出了 "
302+ "*workers* 参数,则将回退为使用顺序编译。 如果 *workers* 为 0,则会使用系统的核心数量。 如果 *workers* 小于 "
303+ "``0``,则会引发 :exc:`ValueError`。"
301304
302305#: ../../library/compileall.rst:195 ../../library/compileall.rst:265
303306msgid ""
304307"*invalidation_mode* should be a member of the "
305308":class:`py_compile.PycInvalidationMode` enum and controls how the generated "
306309"pycs are invalidated at runtime."
307310msgstr ""
311+ "*invalidation_mode* 应为 :class:`py_compile.PycInvalidationMode` "
312+ "枚举的成员之一并将控制所生成的 pyc 在运行时以何种方式验证是否失效。"
308313
309314#: ../../library/compileall.rst:199 ../../library/compileall.rst:269
310315msgid ""
311316"The *stripdir*, *prependdir* and *limit_sl_dest* arguments correspond to the"
312317" ``-s``, ``-p`` and ``-e`` options described above. They may be specified as"
313318" ``str``, ``bytes`` or :py:class:`os.PathLike`."
314319msgstr ""
320+ "*stripdir*, *prependdir* 和 *limit_sl_dest* 参数分别对应上述的 ``-s``, ``-p`` 和 ``-e``"
321+ " 选项。 它们可以指定为 ``str``, ``bytes`` 或 :py:class:`os.PathLike`。"
315322
316323#: ../../library/compileall.rst:203 ../../library/compileall.rst:273
317324msgid ""
318325"If *hardlink_dupes* is true and two ``.pyc`` files with different "
319326"optimization level have the same content, use hard links to consolidate "
320327"duplicate files."
321328msgstr ""
329+ "如果 *hardlink_dupes* 为真值且两个使用不同优化级别的 ``.pyc`` 文件具有相同的内容,则会使用硬链接来合并重复的文件。"
322330
323331#: ../../library/compileall.rst:206 ../../library/compileall.rst:304
324332msgid "Added the *legacy* and *optimize* parameter."
325- msgstr ""
333+ msgstr "增加了 *legacy* 和 *optimize* 形参。 "
326334
327335#: ../../library/compileall.rst:209
328336msgid "Added the *workers* parameter."
329- msgstr ""
337+ msgstr "增加了 *workers* 形参。 "
330338
331339#: ../../library/compileall.rst:212 ../../library/compileall.rst:278
332340#: ../../library/compileall.rst:307
0 commit comments