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

Skip to content

Commit a0e8a06

Browse files
[po] auto sync
1 parent 0c8294c commit a0e8a06

1 file changed

Lines changed: 16 additions & 5 deletions

File tree

library/compileall.po

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ msgstr ""
133133
msgid ""
134134
"Use *N* workers to compile the files within the given directory. If ``0`` is"
135135
" used, then the result of :func:`os.cpu_count()` will be used."
136-
msgstr ""
136+
msgstr "使用 *N* 个工作者来编译给定目录中的文件。 如果使用 ``0``,则将使用 :func:`os.cpu_count()` 的结果。"
137137

138138
#: ../../library/compileall.rst:95
139139
msgid ""
@@ -147,34 +147,41 @@ msgid ""
147147
":envvar:`SOURCE_DATE_EPOCH` environment variable is not set, and ``checked-"
148148
"hash`` if the ``SOURCE_DATE_EPOCH`` environment variable is set."
149149
msgstr ""
150+
"控制生成的字节码文件在运行时的失效规则。 值为``timestamp``,意味着将生成嵌入了源时间戳和大小的 ``.pyc`` 文件。 "
151+
"``checked-hash`` 和 ``unchecked-hash`` 等值将导致生成基于哈希的 pyc。 基于哈希的 pyc "
152+
"嵌入了源文件内容的哈希值而不是时间戳。 请参阅 :ref:`pyc-invalidation` 了解有关 Python "
153+
"在运行时如何验证字节码缓存文件的更多信息。 如果未设置 :envvar:`SOURCE_DATE_EPOCH` 环境变量则默认值为 "
154+
"``timestamp``,而如果设置了 ``SOURCE_DATE_EPOCH`` 则为 ``checked-hash``。"
150155

151156
#: ../../library/compileall.rst:108
152157
msgid ""
153158
"Compile with the given optimization level. May be used multiple times to "
154159
"compile for multiple levels at a time (for example, ``compileall -o 1 -o "
155160
"2``)."
156-
msgstr ""
161+
msgstr "使用给定的优化级别进行编译。 可以多次使用来一次性地针对多个级别进行编译 (例如,``compileall -o 1 -o 2``)。"
157162

158163
#: ../../library/compileall.rst:114
159164
msgid "Ignore symlinks pointing outside the given directory."
160-
msgstr ""
165+
msgstr "忽略指向给定目录之外的符号链接。"
161166

162167
#: ../../library/compileall.rst:118
163168
msgid ""
164169
"If two ``.pyc`` files with different optimization level have the same "
165170
"content, use hard links to consolidate duplicate files."
166-
msgstr ""
171+
msgstr "如果两个不同优化级别的 ``.pyc`` 文件具有相同的内容,则使用硬链接来合并重复的文件。"
167172

168173
#: ../../library/compileall.rst:121
169174
msgid "Added the ``-i``, ``-b`` and ``-h`` options."
170-
msgstr ""
175+
msgstr "增加了 ``-i``, ``-b`` 和 ``-h`` 选项。"
171176

172177
#: ../../library/compileall.rst:124
173178
msgid ""
174179
"Added the ``-j``, ``-r``, and ``-qq`` options. ``-q`` option was changed "
175180
"to a multilevel value. ``-b`` will always produce a byte-code file ending "
176181
"in ``.pyc``, never ``.pyo``."
177182
msgstr ""
183+
"增加了 ``-j``, ``-r`` 和 ``-qq`` 选项。 ``-q`` 选项改为多级别值。 ``-b`` 将总是产生以 ``.pyc`` "
184+
"为后缀的字节码文件,而不是 ``.pyo``。"
178185

179186
#: ../../library/compileall.rst:129
180187
msgid "Added the ``--invalidation-mode`` option."
@@ -186,13 +193,17 @@ msgid ""
186193
"the default recursion limit from 10 to :py:func:`sys.getrecursionlimit()`. "
187194
"Added the possibility to specify the ``-o`` option multiple times."
188195
msgstr ""
196+
"增加了 ``-s``, ``-p``, ``-e`` 和 ``--hardlink-dupes`` 选项。 将默认的递归限制从 10 提高到 "
197+
":py:func:`sys.getrecursionlimit()`。 增加允许多次指定 ``-o`` 选项。"
189198

190199
#: ../../library/compileall.rst:139
191200
msgid ""
192201
"There is no command-line option to control the optimization level used by "
193202
"the :func:`compile` function, because the Python interpreter itself already "
194203
"provides the option: :program:`python -O -m compileall`."
195204
msgstr ""
205+
"没有可以控制 :func:`compile` 函数所使用的优化级别的命令行选项,因为 Python 解释器本身已经提供了该选项: "
206+
":program:`python -O -m compileall`。"
196207

197208
#: ../../library/compileall.rst:143
198209
msgid ""

0 commit comments

Comments
 (0)