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

Skip to content

Commit 5f6acd8

Browse files
committed
[po] auto sync bot
1 parent 00c0e76 commit 5f6acd8

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

using/cmdline.po

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,6 +1157,10 @@ msgid ""
11571157
" in operations that query the environment rather than the current C locale "
11581158
"(such as Python's own :func:`locale.getdefaultlocale`)."
11591159
msgstr ""
1160+
"如果成功设置了以上区域类别中的一个,则初始化 Python 运行时之前也将在当前进程环境中相应地设置 ``LC_CTYPE`` 环境变量。 "
1161+
"这会确保除了解释器本身和运行于同一进程中的其他可感知区域选项的组件 (例如 GNU ``readline`` 库) 之外,还能在子进程 "
1162+
"(无论这些进程是否在运行 Python 解释器) 以及在查询环境而非当前 C 区域的操作 (例如 Python 自己的 "
1163+
":func:`locale.getdefaultlocale`) 中看到更新的设置。"
11601164

11611165
#: ../../using/cmdline.rst:819
11621166
msgid ""
@@ -1167,6 +1171,10 @@ msgid ""
11671171
" as it does in any other locale). This stream handling behavior can be "
11681172
"overridden using :envvar:`PYTHONIOENCODING` as usual."
11691173
msgstr ""
1174+
"(显式地或通过上述的隐式区域强制转换) 配置其中一个区域选项将自动为 :data:`sys.stdin` 和 :data:`sys.stdout` 启用"
1175+
" ``surrogateescape`` :ref:`错误处理句柄 <error-handlers>` (:data:`sys.stderr` "
1176+
"会继续使用 ``backslashreplace`` 如同在任何其他区域选项中一样)。 这种流处理行为可以按通常方式使用 "
1177+
":envvar:`PYTHONIOENCODING` 来覆盖。"
11701178

11711179
#: ../../using/cmdline.rst:826
11721180
msgid ""
@@ -1175,6 +1183,8 @@ msgid ""
11751183
"activates, or else if a locale that *would* have triggered coercion is still"
11761184
" active when the Python runtime is initialized."
11771185
msgstr ""
1186+
"出于调试目的,如果激活了区域强制转换,或者如果当 Python 运行时被初始化时某个 *应该* 触发强制转换的区域选项仍处于激活状态则设置 "
1187+
"``PYTHONCOERCECLOCALE=warn`` 将导致 Python 在 ``stderr`` 上发出警告消息。"
11781188

11791189
#: ../../using/cmdline.rst:831
11801190
msgid ""
@@ -1184,14 +1194,16 @@ msgid ""
11841194
"order to force the interpreter to use ``ASCII`` instead of ``UTF-8`` for "
11851195
"system interfaces."
11861196
msgstr ""
1197+
"还要注意,即使在区域转换转换被禁用,或者在其无法找到合适的目标区域时,默认 :envvar:`PYTHONUTF8` 仍将在传统的基于 ASCII "
1198+
"的区域中被激活。 必须同时禁用这两项特性以强制解释器使用 ``ASCII`` 而不是 ``UTF-8`` 作为系统接口。"
11871199

11881200
#: ../../using/cmdline.rst:838 ../../using/cmdline.rst:899
11891201
msgid ":ref:`Availability <availability>`: \\*nix."
1190-
msgstr ""
1202+
msgstr ":ref:`可用性 <availability>`: \\*nix。"
11911203

11921204
#: ../../using/cmdline.rst:839
11931205
msgid "See :pep:`538` for more details."
1194-
msgstr ""
1206+
msgstr "请参阅 :pep:`538` 了解详情。"
11951207

11961208
#: ../../using/cmdline.rst:845
11971209
msgid ""

0 commit comments

Comments
 (0)