Skip to content

Commit 7396529

Browse files
[po] auto sync
1 parent c80f455 commit 7396529

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.77%", "updated_at": "2025-06-10T13:57:15Z"}
1+
{"translation": "81.78%", "updated_at": "2025-06-10T15:56:02Z"}

library/os.path.po

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,8 @@ msgid ""
519519
"exist, is a symlink loop, or whose evaluation raises :exc:`OSError`. All "
520520
"such components are appended unchanged to the existing part of the path."
521521
msgstr ""
522+
"在默认情况下,对路径的求值将执行至第一个不存在的、导致符号链接循环的,或者求值引发 :exc:`OSError` 的路径组件。 "
523+
"所有这样的组件将不经修改地添加到现有的路径组件。"
522524

523525
#: ../../library/os.path.rst:415
524526
msgid ""
@@ -527,10 +529,12 @@ msgid ""
527529
"path may be missing or inaccessible, may still contain links or loops, and "
528530
"may traverse non-directories."
529531
msgstr ""
532+
"会以这种方式来处理的错误包括 \"access denied\", \"not a directory\"\"bad argument to "
533+
"internal function\"。 因此,结果路径可能不存在或不可访问,可能仍然包含链接或循环,并可能遍历至非目录。"
530534

531535
#: ../../library/os.path.rst:420
532536
msgid "This behavior can be modified by keyword arguments:"
533-
msgstr ""
537+
msgstr "此行为可通过关键字参数来修改:"
534538

535539
#: ../../library/os.path.rst:422
536540
msgid ""
@@ -539,6 +543,8 @@ msgid ""
539543
"*path* does not exist, or another :exc:`OSError` if it is otherwise "
540544
"inaccessible."
541545
msgstr ""
546+
"如果 *strict* 为 ``True``,则在对路径求值时遇到的第一个错误将被重新引发。 具体来说,如果 *path* 不存在则会引发 "
547+
":exc:`FileNotFoundError`,或者如果因其他原因而不可访问则会引发 :exc:`OSError`。"
542548

543549
#: ../../library/os.path.rst:427
544550
msgid ""
@@ -547,6 +553,9 @@ msgid ""
547553
"returned path will not contain any symbolic links, but the named file and "
548554
"some of its parent directories may be missing."
549555
msgstr ""
556+
"如果 *strict* 为 :py:data:`os.path.ALLOW_MISSING`,则 :exc:`FileNotFoundError` "
557+
"以外的错误将被重新引发(就像设置 ``strict=True`` 一样)。 "
558+
"因此,返回的路径将不包含任何符号链接,但指定名称的文件及其某些上级目录可能会不存在。"
550559

551560
#: ../../library/os.path.rst:433
552561
msgid ""

0 commit comments

Comments
 (0)