Skip to content

Commit cd953c0

Browse files
sync with cpython 9376a9f0
1 parent 339ef72 commit cd953c0

File tree

3 files changed

+138
-136
lines changed

3 files changed

+138
-136
lines changed

library/glob.po

+18-12
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-07-17 17:39+0800\n"
10+
"POT-Creation-Date: 2024-04-12 00:03+0000\n"
1111
"PO-Revision-Date: 2023-01-24 01:21+0800\n"
1212
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -117,15 +117,15 @@ msgid ""
117117
"directories."
118118
msgstr "如果 *include_hidden* 為真,\"``**``\" 模式將匹配被隱藏的目錄。"
119119

120-
#: ../../library/glob.rst:73 ../../library/glob.rst:96
120+
#: ../../library/glob.rst:73 ../../library/glob.rst:100
121121
msgid ""
122122
"Raises an :ref:`auditing event <auditing>` ``glob.glob`` with arguments "
123123
"``pathname``, ``recursive``."
124124
msgstr ""
125125
"引發一個附帶引數 ``pathname``、``recursive`` 的\\ :ref:`稽核事件 <auditing>` "
126126
"``glob.glob``。"
127127

128-
#: ../../library/glob.rst:74 ../../library/glob.rst:97
128+
#: ../../library/glob.rst:74 ../../library/glob.rst:101
129129
msgid ""
130130
"Raises an :ref:`auditing event <auditing>` ``glob.glob/2`` with arguments "
131131
"``pathname``, ``recursive``, ``root_dir``, ``dir_fd``."
@@ -139,27 +139,33 @@ msgid ""
139139
"inordinate amount of time."
140140
msgstr "在大型目錄樹中使用 \"``**``\" 模式可能會消耗過多的時間。"
141141

142-
#: ../../library/glob.rst:80 ../../library/glob.rst:99
142+
#: ../../library/glob.rst:81 ../../library/glob.rst:104
143+
msgid ""
144+
"This function may return duplicate path names if *pathname* contains "
145+
"multiple \"``**``\" patterns and *recursive* is true."
146+
msgstr ""
147+
148+
#: ../../library/glob.rst:84 ../../library/glob.rst:107
143149
msgid "Support for recursive globs using \"``**``\"."
144150
msgstr "支援以 \"``**``\" 使用遞迴 glob。"
145151

146-
#: ../../library/glob.rst:83 ../../library/glob.rst:102
152+
#: ../../library/glob.rst:87 ../../library/glob.rst:110
147153
msgid "Added the *root_dir* and *dir_fd* parameters."
148154
msgstr "新增 *root_dir* 與 *dir_fd* 參數。"
149155

150-
#: ../../library/glob.rst:86 ../../library/glob.rst:105
156+
#: ../../library/glob.rst:90 ../../library/glob.rst:113
151157
msgid "Added the *include_hidden* parameter."
152158
msgstr "新增 *include_hidden* 參數。"
153159

154-
#: ../../library/glob.rst:93
160+
#: ../../library/glob.rst:97
155161
msgid ""
156162
"Return an :term:`iterator` which yields the same values as :func:`glob` "
157163
"without actually storing them all simultaneously."
158164
msgstr ""
159165
"回傳一個會產生與 :func:`glob` 相同的值的 :term:`iterator` ,而不是同時存儲全"
160166
"部的值。"
161167

162-
#: ../../library/glob.rst:111
168+
#: ../../library/glob.rst:119
163169
msgid ""
164170
"Escape all special characters (``'?'``, ``'*'`` and ``'['``). This is useful "
165171
"if you want to match an arbitrary literal string that may have special "
@@ -172,7 +178,7 @@ msgstr ""
172178
"(sharepoints) 中的特殊字元不會被跳脫,例如在 Windows 上,``escape('//?/c:/"
173179
"Quo vadis?.txt')`` 會回傳 ``'//?/c:/Quo vadis[?].txt'``。"
174180

175-
#: ../../library/glob.rst:120
181+
#: ../../library/glob.rst:128
176182
msgid ""
177183
"For example, consider a directory containing the following files: :file:`1."
178184
"gif`, :file:`2.txt`, :file:`card.gif` and a subdirectory :file:`sub` which "
@@ -186,7 +192,7 @@ msgstr ""
186192
"\n"
187193
" ::"
188194

189-
#: ../../library/glob.rst:138
195+
#: ../../library/glob.rst:146
190196
msgid ""
191197
"If the directory contains files starting with ``.`` they won't be matched by "
192198
"default. For example, consider a directory containing :file:`card.gif` and :"
@@ -197,11 +203,11 @@ msgstr ""
197203
"\n"
198204
"::"
199205

200-
#: ../../library/glob.rst:150
206+
#: ../../library/glob.rst:158
201207
msgid "Module :mod:`fnmatch`"
202208
msgstr ":mod:`fnmatch` 模組"
203209

204-
#: ../../library/glob.rst:151
210+
#: ../../library/glob.rst:159
205211
msgid "Shell-style filename (not path) expansion"
206212
msgstr "Shell 風格檔案名(不是路徑)的擴展"
207213

library/platform.po

+5-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.12\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2023-07-22 00:04+0000\n"
11+
"POT-Creation-Date: 2024-04-12 00:03+0000\n"
1212
"PO-Revision-Date: 2022-06-11 14:03+0800\n"
1313
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -315,12 +315,13 @@ msgstr ""
315315
"(service pack) 和 OS 類型(多個/單個處理器)。"
316316

317317
#: ../../library/platform.rst:212
318+
#, fuzzy
318319
msgid ""
319320
"As a hint: *ptype* is ``'Uniprocessor Free'`` on single processor NT "
320321
"machines and ``'Multiprocessor Free'`` on multi processor machines. The "
321-
"*'Free'* refers to the OS version being free of debugging code. It could "
322-
"also state *'Checked'* which means the OS version uses debugging code, i.e. "
323-
"code that checks arguments, ranges, etc."
322+
"``'Free'`` refers to the OS version being free of debugging code. It could "
323+
"also state ``'Checked'`` which means the OS version uses debugging code, i."
324+
"e. code that checks arguments, ranges, etc."
324325
msgstr ""
325326
"一點提示:*ptype* 在單個處理器的 NT 機器上為 ``'Uniprocessor Free'``,而在多"
326327
"個處理器的機器上為 ``'Multiprocessor Free'``。*'Free'* 是指該 OS 版本沒有除錯"

0 commit comments

Comments
 (0)