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

Skip to content

Commit 8232d6e

Browse files
[po] auto sync
1 parent ffc376a commit 8232d6e

2 files changed

Lines changed: 18 additions & 6 deletions

File tree

library/curses.po

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,19 +711,22 @@ msgid ""
711711
"also restores the colors on the terminal to the values they had when the "
712712
"terminal was just turned on."
713713
msgstr ""
714+
":func:`start_color` 会初始化八种基本颜色(黑、红、绿、黄、蓝、品、青和白)以及 :mod:`curses` 模块中的两个全局变量 "
715+
":const:`COLORS` 和 :const:`COLOR_PAIRS`,其中包含终端可支持的颜色和颜色对的最大数量。 "
716+
"它还会将终端中的颜色恢复为终端刚启动时的值。"
714717

715718
#: ../../library/curses.rst:545
716719
msgid ""
717720
"Return a logical OR of all video attributes supported by the terminal. This"
718721
" information is useful when a curses program needs complete control over the"
719722
" appearance of the screen."
720-
msgstr ""
723+
msgstr "返回终端所支持的所有视频属性逻辑 OR 的值。 此信息适用于当 curses 程序需要对屏幕外观进行完全控制的情况。"
721724

722725
#: ../../library/curses.rst:552
723726
msgid ""
724727
"Return the value of the environment variable :envvar:`TERM`, as a bytes "
725728
"object, truncated to 14 characters."
726-
msgstr ""
729+
msgstr "将环境变量 :envvar:`TERM` 的值截短至 14 个字节,作为字节串对象返回。"
727730

728731
#: ../../library/curses.rst:558
729732
msgid ""

library/py_compile.po

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,11 @@ msgid ""
157157
" value of the *invalidation_mode* argument, and determines its default value"
158158
" instead."
159159
msgstr ""
160+
":envvar:`SOURCE_DATE_EPOCH` 环境变量不会再覆盖 *invalidation_mode* 参数的值,而改为确定其默认值。"
160161

161162
#: ../../library/py_compile.rst:92
162163
msgid "The *quiet* parameter was added."
163-
msgstr ""
164+
msgstr "增加了 *quiet* 形参。"
164165

165166
#: ../../library/py_compile.rst:98
166167
msgid ""
@@ -170,33 +171,39 @@ msgid ""
170171
"invalidation` for more information on how Python invalidates ``.pyc`` files "
171172
"at runtime."
172173
msgstr ""
174+
"一个由可用方法组成的枚举,解释器可以用来确定字节码文件是否与源文件保持一致。 ``.pyc`` 文件在其标头中指明了所需的失效模式。 请参阅 :ref"
175+
":`pyc-invalidation` 了解有关 Python 在运行时如何让 ``.pyc`` 文件失效的更多信息。"
173176

174177
#: ../../library/py_compile.rst:108
175178
msgid ""
176179
"The ``.pyc`` file includes the timestamp and size of the source file, which "
177180
"Python will compare against the metadata of the source file at runtime to "
178181
"determine if the ``.pyc`` file needs to be regenerated."
179182
msgstr ""
183+
"``.pyc`` 文件包括时间戳和源文件的大小,Python 将在运行时将其与源文件的元数据进行比较以确定 ``.pyc`` 文件是否需要重新生成。"
180184

181185
#: ../../library/py_compile.rst:114
182186
msgid ""
183187
"The ``.pyc`` file includes a hash of the source file content, which Python "
184188
"will compare against the source at runtime to determine if the ``.pyc`` file"
185189
" needs to be regenerated."
186190
msgstr ""
191+
"``.pyc`` 文件包括源文件内容的哈希值,Python 将在运行时将其与源文件内容进行比较以确定 ``.pyc`` 文件是否需要重新生成。"
187192

188193
#: ../../library/py_compile.rst:120
189194
msgid ""
190195
"Like :attr:`CHECKED_HASH`, the ``.pyc`` file includes a hash of the source "
191196
"file content. However, Python will at runtime assume the ``.pyc`` file is up"
192197
" to date and not validate the ``.pyc`` against the source file at all."
193198
msgstr ""
199+
"类似于 :attr:`CHECKED_HASH`,``.pyc`` 文件包括源文件内容的哈希值。 但是,Python 将在运行时假定 ``.pyc`` "
200+
"文件是最新的而完全不会将 ``.pyc`` 与源文件进行验证。"
194201

195202
#: ../../library/py_compile.rst:124
196203
msgid ""
197204
"This option is useful when the ``.pycs`` are kept up to date by some system "
198205
"external to Python like a build system."
199-
msgstr ""
206+
msgstr "此选项适用于 ``.pycs`` 由 Python 以外的某个系统例如构建系统来确保最新的情况。"
200207

201208
#: ../../library/py_compile.rst:130
202209
msgid ""
@@ -207,17 +214,19 @@ msgid ""
207214
"If ``'-'`` is the only parameter in args, the list of files is taken from "
208215
"standard input."
209216
msgstr ""
217+
"编译多个源文件。 在 *args* 中(或者当 *args* 为 ``None`` 时则是在命令行中)指定的文件会被编译并将结果字节码以正常方式来缓存。"
218+
" 此函数不会搜索目录结构来定位源文件;它只编译显式指定的文件。 如果 ``'-'`` 是 args 中唯一的值,则会从标准输入获取文件列表。"
210219

211220
#: ../../library/py_compile.rst:137
212221
msgid "Added support for ``'-'``."
213-
msgstr ""
222+
msgstr "添加了对 ``'-'`` 的支持。"
214223

215224
#: ../../library/py_compile.rst:140
216225
msgid ""
217226
"When this module is run as a script, the :func:`main` is used to compile all"
218227
" the files named on the command line. The exit status is nonzero if one of "
219228
"the files could not be compiled."
220-
msgstr ""
229+
msgstr "当此模块作为脚本运行时,会使用 :func:`main` 来编译命令行中指定的所有文件。 如果某个文件无法被编译则退出状态将为非零值。"
221230

222231
#: ../../library/py_compile.rst:147
223232
msgid "Module :mod:`compileall`"

0 commit comments

Comments
 (0)