11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2023 , Python Software Foundation
2+ # Copyright (C) 2001-2024 , Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
@@ -14,7 +14,7 @@ msgid ""
1414msgstr ""
1515"Project-Id-Version : Python 3.12\n "
1616"Report-Msgid-Bugs-To : \n "
17- "POT-Creation-Date : 2023-07-28 14:13 +0000\n "
17+ "POT-Creation-Date : 2024-01-19 14:14 +0000\n "
1818"PO-Revision-Date : 2021-06-28 01:06+0000\n "
1919"
Last-Translator :
Freesand Leo <[email protected] >, 2023\n "
2020"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -110,15 +110,12 @@ msgstr ""
110110
111111#: ../../library/fnmatch.rst:55
112112msgid ""
113- "Test whether the * filename* string matches the * pattern* string, returning "
114- ":const:` True` or :const:` False`. Both parameters are case-normalized using "
113+ "Test whether the filename string *name* matches the pattern string *pat*, "
114+ "returning `` True`` or `` False` `. Both parameters are case-normalized using "
115115":func:`os.path.normcase`. :func:`fnmatchcase` can be used to perform a case-"
116116"sensitive comparison, regardless of whether that's standard for the "
117117"operating system."
118118msgstr ""
119- "检测 *filename* 字符串是否匹配 *pattern* 字符串,返回 :const:`True` 或 :const:`False`。 "
120- "两个形参都会使用 :func:`os.path.normcase` 进行大小写正规化。 :func:`fnmatchcase` "
121- "可被用于执行大小写敏感的比较,无论这是否为所在操作系统的标准。"
122119
123120#: ../../library/fnmatch.rst:61
124121msgid ""
@@ -128,37 +125,33 @@ msgstr "这个例子将打印当前目录下带有扩展名 ``.txt`` 的所有
128125
129126#: ../../library/fnmatch.rst:74
130127msgid ""
131- "Test whether * filename* matches *pattern*, returning :const:`True` or "
132- ":const:` False`; the comparison is case-sensitive and does not apply "
133- ":func:`os.path.normcase`."
128+ "Test whether the filename string *name* matches the pattern string *pat*, "
129+ "returning ``True`` or `` False`` ; the comparison is case-sensitive and does "
130+ "not apply :func:`os.path.normcase`."
134131msgstr ""
135- "检测 *filename* 是否匹配 *pattern*,返回 :const:`True` 或 "
136- ":const:`False`;此比较是大小写敏感的,并且不会应用 :func:`os.path.normcase`。"
137132
138133#: ../../library/fnmatch.rst:81
139134msgid ""
140- "Construct a list from those elements of the iterable *names* that match "
141- "* pattern* . It is the same as ``[n for n in names if fnmatch(n, pattern)]`` , "
142- "but implemented more efficiently."
135+ "Construct a list from those elements of the :term:` iterable` *names* that "
136+ "match pattern *pat* . It is the same as ``[n for n in names if fnmatch(n, "
137+ "pat)]``, but implemented more efficiently."
143138msgstr ""
144- "基于可迭代对象 *names* 中匹配 *pattern* 的元素构造一个列表。 它等价于 ``[n for n in names if "
145- "fnmatch(n, pattern)]``,但实现得更有效率。"
146139
147- #: ../../library/fnmatch.rst:87
140+ #: ../../library/fnmatch.rst:89
148141msgid ""
149- "Return the shell-style * pattern* converted to a regular expression for using "
150- " with :func:`re.match`."
151- msgstr "返回 shell 风格 *pattern* 转换成的正则表达式以便用于 :func:`re.match`。 "
142+ "Return the shell-style pattern *pat* converted to a regular expression for "
143+ "using with :func:`re.match`."
144+ msgstr ""
152145
153- #: ../../library/fnmatch.rst:90
146+ #: ../../library/fnmatch.rst:92
154147msgid "Example:"
155148msgstr "示例:"
156149
157- #: ../../library/fnmatch.rst:104
150+ #: ../../library/fnmatch.rst:106
158151msgid "Module :mod:`glob`"
159152msgstr "模块 :mod:`glob`"
160153
161- #: ../../library/fnmatch.rst:105
154+ #: ../../library/fnmatch.rst:107
162155msgid "Unix shell-style path expansion."
163156msgstr "Unix shell 风格路径扩展。"
164157
0 commit comments