Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 17c2b13

Browse files
[po] auto sync
1 parent 1008e89 commit 17c2b13

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

library/compileall.po

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,23 +212,25 @@ msgid ""
212212
"be useful if :func:`compile` is run with the same :attr:`sys.pycache_prefix`"
213213
" (if any) that will be used at runtime."
214214
msgstr ""
215+
"类似地,:func:`compile` 函数会遵循 :attr:`sys.pycache_prefix` 设置。 所生成的字节码缓存将仅当 "
216+
":func:`compile` 附带与将在运行时使用的相同 :attr:`sys.pycache_prefix` 时可用(如果存在该设置)。"
215217

216218
#: ../../library/compileall.rst:149
217219
msgid "Public functions"
218-
msgstr ""
220+
msgstr "公有函数"
219221

220222
#: ../../library/compileall.rst:153
221223
msgid ""
222224
"Recursively descend the directory tree named by *dir*, compiling all "
223225
":file:`.py` files along the way. Return a true value if all the files "
224226
"compiled successfully, and a false value otherwise."
225-
msgstr ""
227+
msgstr "递归地深入名为 *dir* 的目录树,在途中编译所有 :file:`.py` 文件。 如果所有文件都编译成功则返回真值,否则返回假值。"
226228

227229
#: ../../library/compileall.rst:157
228230
msgid ""
229231
"The *maxlevels* parameter is used to limit the depth of the recursion; it "
230232
"defaults to ``sys.getrecursionlimit()``."
231-
msgstr ""
233+
msgstr "*maxlevels* 形参被用来限制递归深度;它默认为 ``sys.getrecursionlimit()``。"
232234

233235
#: ../../library/compileall.rst:160
234236
msgid ""
@@ -238,12 +240,14 @@ msgid ""
238240
"where the source file does not exist at the time the byte-code file is "
239241
"executed."
240242
msgstr ""
243+
"如果给出了 "
244+
"*ddir*,它会被附加到每个被编译的文件的路径之前以便在编译时回溯中使用,同时还会被编译到字节码文件中,届时它将在字节码文件被执行而源文件已不存在的情况下被用于回溯和其他消息中。"
241245

242246
#: ../../library/compileall.rst:166
243247
msgid ""
244248
"If *force* is true, modules are re-compiled even if the timestamps are up to"
245249
" date."
246-
msgstr ""
250+
msgstr "如果 *force* 为真值,则即使时间戳为最新模块也会被重新编译。"
247251

248252
#: ../../library/compileall.rst:169
249253
msgid ""
@@ -252,13 +256,17 @@ msgid ""
252256
"file is skipped. This can be used to exclude files matching a regular "
253257
"expression, given as a :ref:`re.Pattern <re-objects>` object."
254258
msgstr ""
259+
"如果给出了 *rx*,则它的 ``search`` 方法会在准备编译的每个文件的完整路径上被调用,并且如果它返回真值,则该文件会被跳过。 "
260+
"这可被用来排除与一个正则表达式相匹配的文件,正则表达式将以 :ref:`re.Pattern <re-objects>` 对象的形式给出。"
255261

256262
#: ../../library/compileall.rst:174 ../../library/compileall.rst:251
257263
msgid ""
258264
"If *quiet* is ``False`` or ``0`` (the default), the filenames and other "
259265
"information are printed to standard out. Set to ``1``, only errors are "
260266
"printed. Set to ``2``, all output is suppressed."
261267
msgstr ""
268+
"如果 *quiet* 为 ``False`` 或 ``0`` (默认值),则文件名和其他信息将被打印到标准输出。 如果设为 ``1``,则只打印错误。 "
269+
"如果设为 ``2``,则屏蔽所有输出。"
262270

263271
#: ../../library/compileall.rst:178 ../../library/compileall.rst:255
264272
msgid ""

0 commit comments

Comments
 (0)