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

Skip to content

Commit a27b390

Browse files
[po] auto sync
1 parent d791272 commit a27b390

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

library/os.path.po

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ msgid ""
152152
"pathnames, the *paths* are on the different drives or if *paths* is empty. "
153153
"Unlike :func:`commonprefix`, this returns a valid path."
154154
msgstr ""
155+
"接受包含多个路径的序列 *paths*,返回 *paths* 的最长公共子路径。如果 *paths* 同时包含绝对路径和相对路径,或 *paths* "
156+
"在不同的驱动器上,或 *paths* 为空,则抛出 :exc:`ValueError` 异常。与 :func:`commonprefix` "
157+
"不同,本方法返回有效路径。"
155158

156159
#: ../../library/os.path.rst:96 ../../library/os.path.rst:375
157160
#: ../../library/os.path.rst:387 ../../library/os.path.rst:403
@@ -168,19 +171,19 @@ msgid ""
168171
"Return the longest path prefix (taken character-by-character) that is a "
169172
"prefix of all paths in *list*. If *list* is empty, return the empty string"
170173
" (``''``)."
171-
msgstr ""
174+
msgstr "接受包含多个路径的 *列表*,返回所有路径的最长公共前缀(逐字符比较)。如果 *列表* 为空,则返回空字符串 (``''``)。"
172175

173176
#: ../../library/os.path.rst:111
174177
msgid ""
175178
"This function may return invalid paths because it works a character at a "
176179
"time. To obtain a valid path, see :func:`commonpath`."
177-
msgstr ""
180+
msgstr "此函数是逐字符比较,因此可能返回无效路径。要获取有效路径,参见 :func:`commonpath`。"
178181

179182
#: ../../library/os.path.rst:129
180183
msgid ""
181184
"Return the directory name of pathname *path*. This is the first element of "
182185
"the pair returned by passing *path* to the function :func:`split`."
183-
msgstr ""
186+
msgstr "返回路径 *path* 的目录名称。这是将 *path* 传入函数 :func:`split` 之后,返回的一对值中的第一个元素。"
184187

185188
#: ../../library/os.path.rst:138
186189
msgid ""

0 commit comments

Comments
 (0)