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

Skip to content

Commit cf8b89a

Browse files
[po] auto sync
1 parent 80e5229 commit cf8b89a

3 files changed

Lines changed: 14 additions & 6 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "89.50%", "updated_at": "2023-08-08T23:56:23Z"}
1+
{"translation": "89.52%", "updated_at": "2023-08-09T05:57:34Z"}

c-api/code.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,20 +94,22 @@ msgid ""
9494
"\"posonlyargcount\" for positional-only arguments. The same caveats that "
9595
"apply to ``PyUnstable_Code_New`` also apply to this function."
9696
msgstr ""
97+
"与 :c:func:`PyUnstable_Code_New` 类似,但额外增加了一个针对仅限位置参数的 \"posonlyargcount\"。 "
98+
"适用于 ``PyUnstable_Code_New`` 的适用事项同样适用于这个函数。"
9799

98100
#: ../../c-api/code.rst:66
99101
msgid "as ``PyCode_NewWithPosOnlyArgs``"
100-
msgstr ""
102+
msgstr "作为 ``PyCode_NewWithPosOnlyArgs``"
101103

102104
#: ../../c-api/code.rst:68
103105
msgid "Added ``qualname`` and ``exceptiontable`` parameters."
104-
msgstr ""
106+
msgstr "增加了 ``qualname`` 和 ``exceptiontable`` 形参。"
105107

106108
#: ../../c-api/code.rst:73
107109
msgid ""
108110
"Renamed to ``PyUnstable_Code_NewWithPosOnlyArgs``. The old name is "
109111
"deprecated, but will remain available until the signature changes again."
110-
msgstr ""
112+
msgstr "重命名为 ``PyUnstable_Code_NewWithPosOnlyArgs``。 旧名称已被弃用,但在签名再次更改之前将保持可用。"
111113

112114
#: ../../c-api/code.rst:79
113115
msgid ""
@@ -200,6 +202,8 @@ msgid ""
200202
"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
201203
"exception."
202204
msgstr ""
205+
"注册 *callback* 作为当前解释器的代码对象监视器。 返回一个可被传给 :c:func:`PyCode_ClearWatcher` 的 ID。 "
206+
"如果出现错误(例如没有足够的可用监视器 ID),则返回 ``-1`` 并设置一个异常。"
203207

204208
#: ../../c-api/code.rst:151
205209
msgid ""

library/pathlib.po

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,8 @@ msgid ""
488488
"path. In all other cases, such as the paths referencing different drives, "
489489
":exc:`ValueError` is raised.::"
490490
msgstr ""
491+
"当 *walk_up* 为 False(默认值)时,路径必须以 *other* 开始。 当参数为 True 时,可能会添加 ``..`` "
492+
"条目以形成相对路径。 在所有其他情况下,如引用不同驱动器的路径,则会引发 :exc:`ValueError`。::"
491493

492494
#: ../../library/pathlib.rst:624
493495
msgid ""
@@ -496,18 +498,20 @@ msgid ""
496498
"*walk_up* option as it assumes that no symlinks are present in the path; "
497499
"call :meth:`~Path.resolve` first if necessary to resolve symlinks."
498500
msgstr ""
501+
"该函数是 :class:`PurePath` 的一部分并适用于字符串。 它不会检查或访问下层的文件结构体。 这可能会影响 *walk_up* "
502+
"选项因为它假定路径中不存在符号链接;如果需要处理符号链接请先调用 :meth:`~Path.resolve`。"
499503

500504
#: ../../library/pathlib.rst:630
501505
msgid ""
502506
"The *walk_up* parameter was added (old behavior is the same as "
503507
"``walk_up=False``)."
504-
msgstr ""
508+
msgstr "增加了 *walk_up* 形参数(原本的行为与 ``walk_up=False`` 相同)。"
505509

506510
#: ../../library/pathlib.rst:635
507511
msgid ""
508512
"Passing additional positional arguments is deprecated; if supplied, they are"
509513
" joined with *other*."
510-
msgstr ""
514+
msgstr "传入附加位置参数的做法已被弃用;如果提供的话,它们将与 *other* 合并。"
511515

512516
#: ../../library/pathlib.rst:640
513517
msgid ""

0 commit comments

Comments
 (0)